PROC SURVEYMEANS assigns a name to each table it creates; these names are listed in Table 112.4. You can use these names to refer to tables when you use the Output Delivery System (ODS) to select tables and create output data sets. For more information about ODS, see Chapter 20: Using the Output Delivery System.
Table 112.4: ODS Tables Produced by PROC SURVEYMEANS
ODS Table Name |
Description |
Statement |
Option |
---|---|---|---|
ClassVarInfo |
Class level information |
Default |
|
Domain |
Statistics in domains |
Default |
|
DomainRatio |
Statistics for ratios in domains |
Default |
|
DomainGeoMeans |
Statistics related to geometric means in domains |
||
DomainQuantiles |
Quantiles in domains |
Default |
|
GeometricMeans |
Statistics related to geometric means |
||
HadamardMatrix |
Hadamard matrix |
||
Ratio |
Statistics for ratios |
Default |
|
Quantiles |
Quantiles |
Default |
|
Statistics |
Statistics |
Default |
|
StrataInfo |
Stratum information |
||
Summary |
Data summary |
Default |
|
VarianceEstimation |
Variance estimation |
||
or NOMCAR |
For example, the following statements create an output data set MyStrata
, which contains the StrataInfo table, and an output data set MyStat
, which contains the Statistics table for the ice cream study discussed in the section Stratified Sampling:
title1 'Analysis of Ice Cream Spending'; proc surveymeans data=IceCream total=StudentTotals; strata Grade / list; var Spending Group; weight Weight; ods output StrataInfo = MyStrata Statistics = MyStat; run;