The PLOT statement produces a graph or set of graphs for the sample size analysis defined by the previous POWER statement. The plot-options define the plot characteristics, and the graph-options are like those in SAS/GRAPH software. If ODS Graphics is enabled, then the PLOT statement uses ODS Graphics to create graphs. For example:
ods graphics on; proc glmpower data=Exemplary; class Variety Exposure; model Height = Variety | Exposure; power stddev = 4 6.5 ntotal = 60 power = .; plot x=n min=30 max=90; run; ods graphics off;
Otherwise, traditional graphics are produced. For example:
ods graphics off; proc glmpower data=Exemplary; class Variety Exposure; model Height = Variety | Exposure; power stddev = 4 6.5 ntotal = 60 power = .; plot x=n min=30 max=90; run;
For more information about enabling and disabling ODS Graphics, see the section Enabling and Disabling ODS Graphics in Chapter 21: Statistical Graphics Using ODS.
Table 47.4 summarizes the options available in the PLOT statement.
Table 47.4: PLOT Statement Options
Option |
Description |
---|---|
Plot Options |
|
Specifies the type of curve to draw |
|
Specifies the style of key for the plot |
|
Specifies the locations for plotting symbols |
|
Specifies the maximum of the range of values |
|
Specifies the minimum of the range of values |
|
Specifies the number of values |
|
Specifies the increment between values |
|
Specifies how plot features should be linked to varying analysis parameters |
|
Specifies a plot with the requested type of parameter on the X axis |
|
Specifies plot characteristics pertaining to the X axis |
|
Specifies a plot with the requested type of parameter on the Y axis |
|
Specifies plot characteristics pertaining to the Y axis |
|
Graph Options |
|
Specifies a descriptive string |
|
Specifies a name for the catalog entry for the plot |