CESM Procedure
Data Table Output
The CESM procedure can create the OUT=, OUTEST=, OUTFOR=, OUTSTAT=, and OUTSUM= data tables. These data tables contain the variables that are specified in the BY statement and statistics that are related to the variables that are listed in the FORECAST statement. In general, if a forecasting step that is related to an output data table fails, the values of this step are not recorded or are set to missing in the related output data table and appropriate error or warning (or both) messages are recorded in the log.
OUT= Data Table
The OUT= data table contains the variables that are specified in the BY, ID, and FORECAST statements. If the ID statement is specified, the ID variable values are aligned and extended based on the ALIGN= and INTERVAL= options in the ID statement. The values of the variables that are specified in the FORECAST statements are accumulated based on the ACCUMULATE= option in the FORECAST statement, and missing values are interpreted based on the SETMISSING= option in the FORECAST statement.
If any of the forecasting steps fail for a particular variable, the variable is extended by missing values.
OUTEST= Data Table
The OUTEST= data table contains observations that are related to the parameter estimation step. The column names of the table are the BY variables and the following names:
- _NAME_
variable name
- _MODEL_
forecasting model
- _MODELVAR_
model variable
- _DSVAR_
data variable
- _VARTYPE_
variable type
- _TRANSFORM_
transformation
- _COMPONENT_
component
- _COMPMODEL_
component model
- _PARM_
parameter name
- _FACTOR_
factor
- _LAG_
lag
- _SHIFT_
shift
- _EST_
value of parameter estimate
- _STDERR_
standard error of parameter estimate
- _TVALUE_
t values of parameter estimate
- _PVALUE_
p-values of parameter estimate
If the parameter estimation step fails for a particular variable, no observations are output to the OUTEST= data table for that variable.
OUTFOR= Data Table
The OUTFOR= data table contains observations that are related to the forecasting step. The column names of the table are the BY variables and the following names:
- _NAME_
variable name
- ID Variable
values of the variable specified in the ID statement
- ACTUAL
actual values
- PREDICT
predicted values
- ERROR
prediction errors
- STD
prediction standard errors
- UPPER
upper confidence limits
- LOWER
lower confidence limits
If the forecasting step fails for a particular variable, no observations are recorded in the OUTFOR= data table for that variable. If the TRANSFORM= option is specified in the FORECAST statement, the values in the preceding variables are the inverse-transform forecasts. If the MEDIAN option is specified in the FORECAST statement, the median forecasts are stored; otherwise, the mean forecasts are stored.
OUTSTAT= Data Set
The OUTSTAT= data table contains observations that are related to the statistics of fit. The column names of the table are the BY variables and the following names:
_NAME_variable name
_REGION_region in which the statistics are calculated. Statistics that are calculated in the fit region are indicated by FIT. Statistics that are calculated in the forecast region (which happens only if the value of the BACK= option is greater than zero) are indicated by FORECAST.
- _MODEL_
model name
DFEdegrees of freedom error
Nnumber of observations
NOBSnumber of observations used
NMISSAnumber of missing actuals
NMISSPnumber of missing predicted values
NPARMSnumber of parameters
TSStotal sum of squares
SSTcorrected total sum of squares
SSEsum of square error
MSEmean square error
RMSEroot mean square error
UMSEunbiased mean square error
URMSEunbiased root mean square error
MAPEmean absolute percentage error
MAEmean absolute error
RSQUARER-square
ADJRSQadjusted R-square
AADJRSQAmemiya’s adjusted R-square
RWRSQrandom walk R-square
AICAkaike’s information criterion
AICCfinite sample corrected AIC
SBCSchwarz Bayesian information criterion
APCAmemiya’s prediction criterion
MAXERRmaximum error
MINERRminimum error
MAXPEmaximum percentage error
MINPEminimum percentage error
MEmean error
MPEmean percentage error
MDAPEmedian absolute percentage error
GMAPEgeometric mean absolute percentage error
MINPPEminimum predictive percentage error
MAXPPEmaximum predictive percentage error
MPPEmean predictive percentage error
MAPPEsymmetric mean absolute predictive percentage error
MDAPPEmedian absolute predictive percentage error
GMAPPEgeometric mean absolute predictive percentage error
MINSPEminimum symmetric percentage error
MAXSPEmaximum symmetric percentage error
MSPEmean symmetric percentage error
SMAPEsymmetric mean absolute percentage error
MDASPEmedian absolute symmetric percentage error
GMASPEgeometric mean absolute symmetric percentage error
MINREminimum relative error
MAXREmaximum relative error
MREmean relative error
MRAEmean relative absolute error
MDRAEmedian relative absolute error
GMRAEgeometric mean relative absolute error
MASEmean absolute scaled error
MINAPESminimum absolute error percentage of standard deviation
MAXAPESmaximum absolute error percentage of standard deviation
MAPESmean absolute error percentage of standard deviation
MDAPESmedian absolute error percentage of standard deviation
GMAPESgeometric mean absolute error percentage of standard deviation
If the statistics of fit cannot be computed for a particular variable, no observations are recorded in the OUTSTAT= data table for that variable. If the TRANSFORM= option is specified, the values in the preceding variables are computed on the basis of the inverse transform forecasts. If the MEDIAN option is specified, the median forecasts are the basis; otherwise, the mean forecasts are the basis.
OUTSUM= Data Table
The OUTSUM= data table contains the variables that are specified in the BY statement in addition to the variables that are listed in this section. The OUTSUM= data table records the summary statistics for each variable that is specified in a FORECAST statement.
The following variables, which are related to summary statistics, are based on the ACCUMULATE= and SETMISSING= options:
_NAME_variable name
NOBSnumber of observations
Nnumber of nonmissing observations
NMISSnumber of missing observations
MINminimum value
MAXmaximum value
MEANmean value
STDDEVstandard deviation
_STATUS_forecasting status; nonzero values imply that no forecast was generated for the series
STARTthe starting date of each series
ENDthe ending date of each series
STARTOBSthe beginning observation number of each series
ENDOBSthe ending observation number of each series