Forecasting using SAS Forecast Server, SAS/ETS, and more

holdout sample for model selection

Reply
Contributor
Posts: 60

holdout sample for model selection

When we have a holdout sample for model selection how can we automatically use the holdout sample for the predictions using the best model ?

SAS Super FREQ
Posts: 93

Re: holdout sample for model selection

The holdout sample is used for model selection. Once the best performed model for the holdout sample is selected, the full range of data will be used to fit the model and generate forecasts. Please refer to the HOLDOUT option from the forecast server procedure User's Guide.

 

HOLDOUT=n
specifies the size of the holdout sample to be used for model selection. The holdout sample is a subset
of actual time series that end at the last nonmissing observation. If the ACCUMULATE= option is
specified, the holdout sample is based on the accumulated series. If the holdout sample is not specified,
the full range of the actual time series is used for model selection.

 

For each candidate model specified, the holdout sample is excluded from the initial model fit and
forecasts are made within the holdout sample time range. Then, for each candidate model specified,
the statistic of fit specified by the CRITERION= option is computed by using only the observations in
the holdout sample. Finally, the candidate model, which performs best in the holdout sample, based on
this statistic, is selected to forecast the actual time series.
The HOLDOUT= option is used only to select the best forecasting model from a list of candidate
models. After the best model is selected, the full range of the actual time series is used for subsequent
model fitting and forecasting. It is possible that one model will outperform another model in the
holdout sample but perform less well when the entire range of the actual series is used.
If the MODEL=BESTALL and HOLDOUT= options are used together, the last one hundred observations
are used to determine whether the series is intermittent. If the series is determined not to be
intermittent, holdout sample analysis is used to select the smoothing model.

Ask a Question
Discussion stats
  • 1 reply
  • 353 views
  • 0 likes
  • 2 in conversation