The ESM Procedure

ODS Graphics

Statistical procedures use ODS Graphics to create graphs as part of their output. ODS Graphics is described in detail in Chapter 24, Statistical Graphics Using ODS (SAS/STAT User's Guide).

Before you create graphs, ODS Graphics must be enabled (for example, with the ODS GRAPHICS ON statement). For more information about enabling and disabling ODS Graphics, see the section "Enabling and Disabling ODS Graphics" in that chapter.

The overall appearance of graphs is controlled by ODS styles. Styles and other aspects of using ODS Graphics are discussed in the section "A Primer on ODS Statistical Graphics" in that chapter.

This section describes the use of ODS for creating graphics with the ESM procedure. To request these graphs you must specify the PLOT= option in the PROC ESM statement.

ODS Graph Names

PROC ESM assigns a name to each graph it creates using ODS. You can use these names to reference the graphs when using ODS. The names are listed in Table 4.

Table 4: ODS Graphics Produced by the PLOT= Option in PROC ESM

ODS Graph Name Plot Description PLOT= Option
ErrorACFNORMPlot Standardized autocorrelation of prediction errors ACF
ErrorACFPlot Autocorrelation of prediction errors ACF
ErrorHistogram Prediction error histogram ERRORS
ErrorCorrelationPlots Prediction error plot panel CORR
ErrorIACFNORMPlot Standardized inverse autocorrelation of prediction errors IACF
ErrorIACFPlot Inverse autocorrelation of prediction errors IACF
ErrorPACFNORMPlot Standardized partial autocorrelation of prediction errors PACF
ErrorPACFPlot Partial autocorrelation of prediction errors PACF
ErrorPeriodogramPlot Periodogram of prediction errors PERIODOGRAM
ErrorPlot Plot of prediction errors ERRORS
ErrorSpectralDensityPlot Combined periodogram and spectral density estimate plot SPECTRUM
ErrorWhiteNoiseLogProbPlot White noise log probability plot of prediction errors WN
ErrorWhiteNoiseProbPlot White noise probability plot of prediction errors WN
ForecastsOnlyPlot Forecasts only plot FORECASTSONLY
ForecastsPlot Forecasts plot FORECASTS
LevelStatePlot Smoothed level state plot LEVELS
ModelForecastsPlot Model and forecasts plot MODELFORECASTS
ModelPlot Model plot MODELS
SeasonStatePlot Smoothed season state plot SEASONS
TrendStatePlot Smoothed trend state plot TRENDS


Last updated: January 07, 2025