One purpose of exporting the model is to have another modeling program read it and calculate predictions ("scoring").
SPSS can do that internally as well. For example, one dataset is used to create the model (and so the PMML). Then, a different dataset is scored, using the MODEL HANDLE command and the APPLYMODEL function. See
here for more details.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
------------------------------
Original Message:
Sent: Tue October 11, 2022 05:36 PM
From: Mauricio Mora
Subject: PMML with Time Series
perfect, it worked for me. Thank you very much.Additional doubt, I understood that by exporting to PMML I could use the equation to predict. However, what I see is that the betas and forecasts are saved, but not the equation itself.What is the function of exporting to PMML or XML?If I want to have the equation for use in a different environment than Statistics, is this possible?
------------------------------
Mauricio Mora
Original Message:
Sent: Tue October 11, 2022 05:20 PM
From: Rick Marcantonio
Subject: PMML with Time Series
Looks like a bug.
Workaround it for the time being by pasting the syntax and adding OUTPMML:
TSMODEL...
/MODEL ... OUTPMML="<your file>"
/ ...
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue October 11, 2022 04:42 PM
From: Mauricio Mora
Subject: PMML with Time Series
Good afternoon, could you tell me how to enable the export to PMML?
------------------------------
Mauricio Mora
------------------------------
#SPSSStatistics