Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The FREQ Procedure

ODS Table Names

PROC FREQ assigns a name to each table it creates. You can use these names to reference the table when using the Output Delivery System (ODS) to select tables and create output data sets. For more information on ODS, see Chapter 14, "Using the Output Delivery System."

Table 26.11: ODS Tables Produced in PROC FREQ
ODS Table Name Description Statement / Option*
BinomialPropBinomial proportionTABLES / BINOMIAL (for one-way tables)
BinomialPropTestBinomial proportion testTABLES / BINOMIAL (for one-way tables)
BreslowDayTestBreslow-Day testTABLES / CMH (for h×2×2 tables)
CMHCochran-Mantel-Haenszel statisticsTABLES / CMH
ChiSqChi-square tests and measuresTABLES / CHISQ
CochransQCochran's QTABLES / AGREE (for h×2×2 tables)
ColumnScoresColumn scoresTABLES / SCOROUT
CommonRelRisksCommon relative risksTABLES / CMH
CrossTabFreqsCross-tabulation tableTABLES (n-way table request, n > 1)
EqualKappaTestTest for equal kappasTABLES / AGREE (for h×2×2 tables)
EqualKappaTestsTests for equal kappasTABLES / AGREE (for h×r×r tables, r>2)
GammaGammaTEST / GAMMA
GammaTestGamma testTEST / GAMMA
JTTestJonckheere-Terpstra testTABLES / JT
KappaStatisticsKappa statisticsTABLES / AGREE (for tables larger than 2×2, and no TEST or EXACT requests for kappas)
KappaWeightsKappa weightsTABLES / AGREE and PRINTKWT
ListList frequenciesTABLES / LIST
McNemarsTestMcNemar's testTABLES / AGREE (for 2×2 tables)
MeasuresMeasures of associationTABLES / MEASURES
OneWayChiSqOne-way chi-square goodness-of-fit testTABLES / CHISQ (for a one-way table)
OneWayFreqsOne-way frequenciesPROC (with no TABLES stmt) or TABLES (one-way table request)
OverallKappaOverall kappa coefficientTABLES / AGREE (for h×2×2 tables)
OverallKappasOverall kappa coefficientsTABLES / AGREE (for h×r×r tables, r>2)
PearsonCorrPearson correlation coefficientTEST or EXACT / PCORR
PearsonCorrTestPearson correlation testTEST or EXACT / PCORR
RelativeRisksRelative risk estimatesTABLES / RELRISK or MEASURES (for 2×2 tables)
RiskDiffCol1Column 1 risk estimatesTABLES / RISKDIFF (for 2×2 tables)
RiskDiffCol2Column 2 risk estimatesTABLES / RISKDIFF (for 2×2 tables)
RowScoresRow scoresTABLES / SCOROUT
SimpleKappaSimple kappa coefficientTEST or EXACT / KAPPA
SimpleKappaTestSimple kappa test(TEST or EXACT / KAPPA) or (TABLES / AGREE (for 2×2 tables)) or (TABLES / AGREE (for r×r tables, r>2) and (TEST or EXACT / WTKAP))
SomersDCRSomers' D(C|R)TEST / SMDCR
SomersDCRTestSomers' D(C|R) testTEST / SMDCR
SomersDRCSomers' D(R|C)TEST / SMDRC
SomersDRCTestSomers' D(R|C)TEST / SMDRC
SpearmanCorrSpearman correlation coefficientTEST or EXACT / SCORR
SpearmanCorrTestSpearman correlation testTEST or EXACT / SCORR
SymmetryTestTest of symmetryTABLES / AGREE
TauBKendall's tau-bTEST / KENTB
TauBTestKendall's tau-b testTEST / KENTB
TauCStuart's tau-cTEST / STUTC
TauCTestStuart's tau-c testTEST / STUTC
TrendTestCochran-Armitage test for trendTABLES / TREND
WeightedKappaWeighted kappa coefficient(TEST or EXACT / WTKAP) or (TABLES / AGREE (for r×r tables, r>2) and TEST or EXACT / KAPPA)
WeightedKappaTestWeighted kappa testTEST or EXACT / WTKAP
* The ALL option in the TABLES statement invokes CHISQ, MEASURES, and CMH.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.