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 97.3 for examples of storing PROC SURVEYFREQ tables as output data sets.

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

Table 97.9: 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)

Cov

Covariances of frequencies

TABLES

COV

CovP

Covariances of proportions

TABLES

COVP

CrossTabs

Crosstabulation table

TABLES

n-way table request, n > 1

HadamardMatrix

Hadamard matrix

PROC

VARMETHOD=BRR (PRINTH )

Kappa

Kappa coefficients

TABLES

AGREE , KAPPA , or

     

WTKAPPA ($r \times r$ table)

KappaWeights

Kappa agreement weights

TABLES

WTKAPPA(PRINTKWTS)

     

($r \times r$ table, r > 2)

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)