The UCM Procedure |
PROC UCM Statement |
The PROC UCM statement is required. The following options can be used in the PROC UCM statement:
specifies the name of the SAS data set containing the time series. If the DATA= option is not specified in the PROC UCM statement, the most recently created SAS data set is used.
turns off all the printing for the procedure. The subsequent print options in the procedure are ignored.
controls the plots produced with ODS Graphics. When you specify only one plot request, you can omit the parentheses around the plot request.
Here are some examples:
plots=none plots=all plots=residuals(acf loess) plots(noclm)=(smooth(decomp) residual(panel loess))
You must enable ODS Graphics before requesting plots, as shown in the following example. For general information about ODS Graphics, see Chapter 21, Statistical Graphics Using ODS (SAS/STAT 9.22 User's Guide).
ods graphics on; proc ucm; model y = x; irregular; level; run; proc ucm plots=all; model y = x; irregular; level; run;
The first PROC UCM step does not specify the PLOTS= option, so the default plot that displays the series forecasts in the forecast region is produced. The PLOTS=ALL option in the second PROC UCM step produces all the plots that are appropriate for the specified model.
In addition to the PLOTS= option in the PROC UCM statement, you can request plots by using the PLOT= option in other statements of the UCM procedure. This way of requesting plots provides finer control over the plot production. If you have enabled ODS Graphics but do not specify any specific plot request, then PROC UCM produces the plot of series forecasts in the forecast horizon by default.
suppresses the confidence limits in all the component and forecast plots.
Specific Plot Options:
The following list describes the specific plots and their options:
produces all plots appropriate for the particular analysis.
suppresses all plots.
produces time series plots of the filtered component estimates. The following filter-plot-options are available:
produces all the filtered component estimate plots appropriate for the particular analysis.
produces a time series plot of the filtered level component estimate, provided the model contains the level component.
produces a time series plot of the filtered slope component estimate, provided the model contains the slope component.
produces time series plots of the filtered cycle component estimates for all cycle components in the model, if there are any.
produces time series plots of the filtered season component estimates for all seasonal components in the model, if there are any.
produces time series plots of the filtered estimates of the series decomposition.
produces the residuals plots. The following residual-plot-options are available:
produces all the residual diagnostics plots appropriate for the particular analysis.
produces the autocorrelation plot of residuals.
produces the plot of cumulative residuals against time.
produces the plot of cumulative squared residuals against time.
produces the histogram of residuals.
produces a scatter plot of residuals against time, which has an overlaid loess-fit.
produces the partial-autocorrelation plot of residuals.
produces a summary panel of the residual diagnostics consisting of the following:
histogram of residuals
normal quantile plot of residuals
the residual-autocorrelation-plot
the residual-partial-autocorrelation-plot
produces a normal quantile plot of residuals.
produces a needle plot of residuals against time.
produces the plot of Ljung-Box white-noise test p-values at different lags (in log scale).
produces time series plots of the smoothed component estimates. The following smooth-plot-options are available:
produces all the smoothed component estimate plots appropriate for the particular analysis.
produces time series plot of the smoothed level component estimate, provided the model contains the level component.
produces time series plot of the smoothed slope component estimate, provided the model contains the slope component.
produces time series plots of the smoothed cycle component estimates for all cycle components in the model, if there are any.
produces time series plots of the smoothed season component estimates for all season components in the model, if there are any.
produces time series plots of the smoothed estimates of the series decomposition.
turns on all the printing options for the procedure. The subsequent NOPRINT options in the procedure are ignored.
Copyright © SAS Institute, Inc. All Rights Reserved.