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Ā 23, Using the Output Delivery System. See Example 118.3 for examples of storing PROC SURVEYFREQ tables as output data sets.
Table 9 lists the ODS table names together with their descriptions and the options required to produce the tables.
Table 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 |
| DiscordDiff | Discordant proportion difference | TABLES |
DISCORDDIFF ( |
| HadamardMatrix | Hadamard matrix | PROC | VARMETHOD=BRR(PRINTH) |
| Kappa | Kappa statistics | TABLES | AGREE, KAPPA, or |
|
WTKAPPA ( |
|||
| KappaDetails | Kappa details | TABLES | KAPPA(DETAILS) or |
| AGREE(DETAILS) | |||
| ( |
|||
| KappaWeights | Kappa agreement weights | TABLES | WTKAPPA(PRINTKWTS) |
| ( |
|||
| LRChiSq | Likelihood ratio test | TABLES | LRCHISQ |
| LRChiSq1 | Modified likelihood ratio test | TABLES | LRCHISQ(MODIFIED) |
| OddsRatio | Odds ratio and relative risks | TABLES |
OR ( |
| OneWay | One-way frequency table | PROC | No TABLES statement |
| or TABLES | One-way table request | ||
| Risk1 | Column 1 risks and difference | TABLES |
RISK or RISKDIFF ( |
| Risk2 | Column 2 risks and difference | TABLES |
RISK or RISKDIFF ( |
| SenSpec | Sensitivity and specificity | TABLES |
SENSPEC ( |
| StrataInfo | Stratum information | STRATA | LIST |
| Summary | Data summary | PROC | Default |
| TableSummary | Table summary (not displayed) | TABLES | Default |
| VarianceEstimation | Variance estimation | PROC | VARMETHOD=BOOTSTRAP, |
| 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) |
| WtKappaDetails | Weighted kappa details | TABLES | WTKAPPA(DETAILS) or |
| AGREE(DETAILS) | |||
| ( |