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 15, "Using the Output Delivery System."

Table 28.11: ODS Tables Produced in PROC FREQ
ODS Table Name Description Statement Option*
BinomialPropBinomial proportionTABLESBINOMIAL (one-way tables)
BinomialPropTestBinomial proportion testTABLESBINOMIAL (one-way tables)
BreslowDayTestBreslow-Day testTABLESCMH (h×2×2 tables)
CMHCochran-Mantel-Haenszel statisticsTABLESCMH
ChiSqChi-square tests and measuresTABLESCHISQ
CochransQCochran's QTABLESAGREE (h×2×2 tables)
ColScoresColumn scoresTABLESSCOROUT
CommonRelRisksCommon relative risksTABLESCMH (h×2×2 tables)
CrossTabFreqsCross-tabulation tableTABLES(n-way table request, n > 1)
EqualKappaTestTest for equal simple kappasTABLESAGREE (h×2×2 tables)
EqualKappaTestsTests for equal kappasTABLESAGREE (h×r×r tables, r>2)
FishersExactFisher's exact testEXACTFISHER
  or TABLESFISHER or EXACT
  or TABLESCHISQ (2×2 tables)
FishersExactMCMonte Carlo estimates for Fisher's exact testEXACTFISHER / MC
GammaGammaTESTGAMMA
GammaTestGamma testTESTGAMMA
JTTestJonckheere-Terpstra testTABLESJT
JTTestMCMonte Carlo estimates for the JT exact testEXACTJT / MC
KappaStatisticsKappa statisticsTABLESAGREE (r×r tables, r > 2, and no TEST or EXACT requests for kappas)
KappaWeightsKappa weightsTABLESAGREE and PRINTKWT
ListList frequenciesTABLESLIST
LRChiSqLikelihood-ratio chi-square exact testEXACTLRCHI
LRChiSqMCMonte Carlo estimate for the likelihood-ratio chi-square exact testEXACTLRCHI / MC
McNemarsTestMcNemar's testTABLESAGREE (2×2 tables)
MeasuresMeasures of associationTABLESMEASURES
MHChiSqMantel-Haenszel chi-square exact testEXACTMHCHI
MHChiSqMCMonte Carlo estimate for the Mantel-Haenszel chi-square exact testEXACTMHCHI / MC
OddsRatioCLExact confidence limits for the odds ratioEXACTOR
OneWayChiSqOne-way chi-square goodness-of-fit testTABLESCHISQ (one-way tables)
OneWayChiSqMCMonte Carlo estimates for the one-way chi-square exact testEXACTCHISQ / MC (one-way tables)
OneWayFreqsOne-way frequenciesPROC(with no TABLES stmt)
  or TABLES(one-way table request)
OverallKappaOverall simple kappa coefficientTABLESAGREE (h×2×2 tables)
OverallKappasOverall kappa coefficientsTABLESAGREE (h×r×r tables, r>2)
PearsonChiSqPearson chi-square exact testEXACTPCHI
PearsonChiSqMCMonte Carlo estimate for the Pearson chi-square exact testEXACTPCHI / MC
PearsonCorrPearson correlation coefficientTEST or EXACTPCORR
PearsonCorrMCMonte Carlo estimates for the Pearson correlation exact testEXACTPCORR / MC
PearsonCorrTestPearson correlation testTEST or EXACTPCORR
RelativeRisksRelative risk estimatesTABLESRELRISK or MEASURES (2×2 tables)
RiskDiffCol1Column 1 risk estimatesTABLESRISKDIFF (2×2 tables)
RiskDiffCol2Column 2 risk estimatesTABLESRISKDIFF (2×2 tables)
RowScoresRow scoresTABLESSCOROUT
SimpleKappaSimple kappa coefficientTEST or EXACTKAPPA
SimpleKappaMCMonte Carlo estimates for the simple kappa exact testEXACTKAPPA / MC
SimpleKappaTestSimple kappa testTEST or EXACTKAPPA,
  or TABLESAGREE (2×2 tables),
  or TABLESAGREE (r×r tables, r>2)
  with TEST or EXACTWTKAP
SomersDCRSomers' D(C|R)TESTSMDCR
SomersDCRTestSomers' D(C|R) testTESTSMDCR
SomersDRCSomers' D(R|C)TESTSMDRC
SomersDRCTestSomers' D(R|C) testTESTSMDRC
SpearmanCorrSpearman correlation coefficientTEST or EXACTSCORR
SpearmanCorrMCMonte Carlo estimates for the Spearman correlation exact testEXACTSCORR / MC
SpearmanCorrTestSpearman correlation testTEST or EXACTSCORR
SymmetryTestTest of symmetryTABLESAGREE
TauBKendall's tau-bTESTKENTB
TauBTestKendall's tau-b testTESTKENTB
TauCStuart's tau-cTESTSTUTC
TauCTestStuart's tau-c testTESTSTUTC
TrendTestCochran-Armitage test for trendTABLESTREND
TrendTestMCMonte Carlo estimates for the trend exact testEXACTTREND / MC
WeightedKappaWeighted kappaTEST or EXACTWTKAP,
 coefficientor TABLESAGREE (r×r tables, r>2)
  with TEST or EXACTKAPPA
WeightedKappaMCMonte Carlo estimates for the weighted kappa exact testEXACTWTKAP / MC
WeightedKappaTestWeighted kappa testTEST or EXACTWTKAP
* 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.