The ARIMA Procedure |
PROC ARIMA Statement |
The following options can be used in the PROC ARIMA statement.
specifies the name of the SAS data set that contains the time series. If different DATA= specifications appear in the PROC ARIMA and IDENTIFY statements, the one in the IDENTIFY statement is used. If the DATA= option is not specified in either the PROC ARIMA or IDENTIFY statement, the most recently created SAS data set is used.
controls the plots produced through 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(unpack)=series(corr crosscorr) plots(only)=(series(corr crosscorr) residual(normal smooth))
You must enable ODS Graphics before requesting plots as shown in the following statements. For general information about ODS Graphics, see Chapter 21, Statistical Graphics Using ODS (SAS/STAT User's Guide). If you have enabled ODS Graphics but do not specify any specific plot request, then the default plots associated with each of the PROC ARIMA statements used in the program are produced. The old line printer plots are suppressed when ODS Graphics is enabled.
ods graphics on; proc arima; identify var=y(1 12); estimate q=(1)(12) noint; run;
Since no specific plot is requested in this program, the default plots associated with the identification and estimation stages are produced.
Global Plot Options:
The global-plot-options apply to all relevant plots generated by the ARIMA procedure. The following global-plot-options are supported:
suppresses the default plots. Only the plots specifically requested are produced.
breaks a graphic that is otherwise paneled into individual component 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 plots associated with the identification stage of the modeling. The panel plots corresponding to the CORR and CROSSCORR options are produced by default. The following series-plot-options are available:
produces the plot of autocorrelations.
produces all the plots associated with the identification stage.
produces a panel of plots that are useful in the trend and correlation analysis of the series. The panel consists of the following:
the time series plot
the series-autocorrelation plot
the series-partial-autocorrelation plot
the series-inverse-autocorrelation plot
produces panels of cross-correlation plots.
produces the plot of inverse-autocorrelations.
produces the plot of partial-autocorrelations.
produces the residuals plots. The residual correlation and normality diagnostic panels are produced by default. The following residual-plot-options are available:
produces the plot of residual autocorrelations.
produces all the residual diagnostics plots appropriate for the particular analysis.
produces a summary panel of the residual correlation diagnostics that consists of the following:
the residual-autocorrelation plot
the residual-partial-autocorrelation plot
the residual-inverse-autocorrelation plot
a plot of Ljung-Box white-noise test p-values at different lags
produces the histogram of the residuals.
produces the plot of residual inverse-autocorrelations.
produces a summary panel of the residual normality diagnostics that consists of the following:
histogram of the residuals
normal quantile plot of the residuals
produces the plot of residual partial-autocorrelations.
produces the normal quantile plot of the residuals.
produces a scatter plot of the residuals against time, which has an overlaid smooth fit.
produces the plot of Ljung-Box white-noise test p-values at different lags.
produces the forecast plots in the forecasting stage. The forecast-only plot that shows the multistep forecasts in the forecast region is produced by default.
The following forecast-plot-options are available:
produces the forecast-only plot as well as the forecast plot.
produces a plot that shows the one-step-ahead forecasts as well as the multistep-ahead forecasts.
produces a plot that shows only the multistep-ahead forecasts in the forecast region.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.