ODS Graphics: LSMESTIMATE Statement

This section describes the use of ODS for creating statistical graphs of the distribution of LS-means and LS-mean differences with the LSMESTIMATE statement. The plots can be produced only in association with the three procedures that can perform Bayesian analysis (PROC GENMOD, PROC LIFEREG, and PROC PHREG). The plots are available via these procedures directly, and also via PROC PLM when run using an item store that was created by these procedures. To request these graphs, you must do the following:

  • ensure that ODS Graphics is enabled

  • use a BAYES statement with PROC GENMOD, PROC LIFEREG, or PROC PHREG, or use PROC PLM to perform statistical analysis on an item store that was saved from a Bayesian analysis

  • request plots with the PLOTS= option in the LSMESTIMATE statement

For more information about ODS Graphics, see Chapter 21: Statistical Graphics Using ODS. The available graphs are summarized in Table 19.27.

Table 19.27: Graphs Produced by the LSMESTIMATE statement

ODS Graph Name

Plot Description

Required Option

BoxPlot

Displays box plots of LS-means or LS-mean differences across a posterior sample.

PLOTS=BOXPLOT

DistPanel

Displays panels of histograms with kernel density curves overlaid. Each plot contains the results for the posterior sample of each LS-mean or LS-mean difference.

PLOTS=DISTPLOT

DistPlot

Displays a histogram with a kernel density curve overlaid. The plot contains the results for the posterior sample of the LS-mean or LS-mean difference.

PLOTS=DISTPLOT(UNPACK)


For details about the plot-options of the LSMESTIMATE statement, see the PLOTS= option in the section LSMESTIMATE Statement.