The SURVEYFREQ Procedure

ODS Table Names

PROC SURVEYFREQ assigns a name to each table that it creates. 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. See Example 90.3 for examples of storing PROC SURVEYFREQ tables as output data sets.

Table 90.8 lists the ODS table names together with their descriptions and the options required to produce the tables.

Table 90.8: ODS Tables Produced by PROC SURVEYFREQ

ODS Table Name

Description

Statement

Option

ChiSq

Chi-square test

TABLES

CHISQ

ChiSq1

Modified chi-square test

TABLES

CHISQ(MODIFIED)

CrossTabs

Crosstabulation table

TABLES

n-way table request, n > 1

HadamardMatrix

Hadamard matrix

PROC

VARMETHOD=BRR(PRINTH)

LRChiSq

Likelihood ratio test

TABLES

LRCHISQ

LRChiSq1

Modified likelihood ratio test

TABLES

LRCHISQ(MODIFIED)

OddsRatio

Odds ratio and relative risks

TABLES

OR ($2 \times 2$ table)

OneWay

One-way frequency table

PROC

No TABLES statement

   

or TABLES

One-way table request

Risk1

Column 1 risk estimates

TABLES

RISK or RISK1 ($2 \times 2$ table)

Risk2

Column 2 risk estimates

TABLES

RISK or RISK2 ($2 \times 2$ table)

StrataInfo

Stratum information

STRATA

LIST

Summary

Data summary

PROC

Default

TableSummary

Table summary (not displayed)

TABLES

Default

VarianceEstimation

Variance estimation

PROC

VARMETHOD=BRR,

     

VARMETHOD=JACKKNIFE,

     

or NOMCAR

WChiSq

Wald chi-square test

TABLES

WCHISQ (two-way table)

WLLChiSq

Wald log-linear chi-square test

TABLES

WLLCHISQ (two-way table)