Previous Page | Next Page

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 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.

Table 35.14 lists the ODS table names together with their descriptions and the options required to produce the tables. Note that the ALL option in the TABLES statement invokes the CHISQ, MEASURES, and CMH options.

Table 35.14 ODS Tables Produced by PROC FREQ

ODS Table Name

Description

Statement

Option

BinomialCLs

Binomial confidence limits

TABLES

BINOMIAL(AC | J | W)

BinomialEquiv

Binomial equivalence analysis

TABLES

BINOMIAL(EQUIV)

BinomialEquivLimits

Binomial equivalence limits

TABLES

BINOMIAL(EQUIV)

BinomialEquivTest

Binomial equivalence test

TABLES

BINOMIAL(EQUIV)

BinomialNoninf

Binomial noninferiority test

TABLES

BINOMIAL(NONINF)

BinomialProp

Binomial proportion

TABLES

BINOMIAL (one-way tables)

BinomialPropTest

Binomial proportion test

TABLES

BINOMIAL (one-way tables)

BinomialSup

Binomial superiority test

TABLES

BINOMIAL(SUP)

BreslowDayTest

Breslow-Day test

TABLES

CMH ( tables)

CMH

Cochran-Mantel-Haenszel
statistics

TABLES

CMH

ChiSq

Chi-square tests

TABLES

CHISQ

CochransQ

Cochran’s

TABLES

AGREE ( tables)

ColScores

Column scores

TABLES

SCOROUT

CommonOddsRatioCL

Exact confidence limits
for the common odds ratio

EXACT

COMOR ( tables)

CommonOddsRatioTest

Common odds ratio exact test

EXACT

COMOR ( tables)

CommonRelRisks

Common relative risks

TABLES

CMH ( tables)

CrossList

Crosstabulation table

TABLES

CROSSLIST

 

in column format

 

(-way table request, )

CrossTabFreqs

Crosstabulation table

TABLES

(-way table request, )

EqualKappaTest

Test for equal simple kappas

TABLES

AGREE ( tables)

EqualKappaTests

Tests for equal kappas

TABLES

AGREE
( tables, )

EqualOddsRatios

Tests for equal odds ratios

EXACT

EQOR ( tables)

FishersExact

Fisher’s exact test

EXACT

FISHER

   

or TABLES

FISHER or EXACT

   

or TABLES

CHISQ ( tables)

FishersExactMC

Monte Carlo estimates
for Fisher’s exact test

EXACT

FISHER / MC

Gamma

Gamma

TEST

GAMMA

GammaTest

Gamma test

TEST

GAMMA

JTTest

Jonckheere-Terpstra test

TABLES

JT

JTTestMC

Monte Carlo estimates for
Jonckheere-Terpstra exact test

EXACT

JT / MC

KappaStatistics

Kappa statistics

TABLES

AGREE
( tables, ,
no TEST or EXACT)

KappaWeights

Kappa weights

TABLES

AGREE and PRINTKWT

List

List format multiway table

TABLES

LIST

LRChiSq

Likelihood-ratio chi-square
exact test

EXACT

LRCHI

LRChiSqMC

Monte Carlo exact test for
likelihood-ratio chi-square

EXACT

LRCHI / MC

McNemarsTest

McNemar’s test

TABLES

AGREE ( tables)

Measures

Measures of association

TABLES

MEASURES

MHChiSq

Mantel-Haenszel chi-square
exact test

EXACT

MHCHI

MHChiSqMC

Monte Carlo exact test for
Mantel-Haenszel chi-square

EXACT

MHCHI / MC

NLevels

Number of variable levels

PROC

NLEVELS

OddsRatioCL

Exact confidence limits
for the odds ratio

EXACT

OR ( tables)

OneWayChiSq

One-way chi-square test

TABLES

CHISQ (one-way tables)

OneWayChiSqMC

Monte Carlo exact test for

EXACT

CHISQ / MC

 

one-way chi-square

 

(one-way tables)

OneWayFreqs

One-way frequencies

PROC

(with no TABLES stmt)

   

or TABLES

(one-way table request)

OverallKappa

Overall simple kappa

TABLES

AGREE ( tables)

OverallKappas

Overall kappa coefficients

TABLES

AGREE
( tables, )

PdiffEquiv

Equivalence analysis

TABLES

RISKDIFF(EQUIV)

 

for the proportion difference

 

( tables)

PdiffEquivLimits

Equivalence limits

TABLES

RISKDIFF(EQUIV)

 

for the proportion difference

 

( tables)

PdiffEquivTest

Equivalence test

TABLES

RISKDIFF(EQUIV)

 

for the proportion difference

 

( tables)

PdiffNoninf

Noninferiority test

TABLES

RISKDIFF(NONINF)

 

for the proportion difference

 

( tables)

PdiffSup

Superiority test

TABLES

RISKDIFF(SUP)

 

for the proportion difference

 

( tables)

PdiffTest

Proportion difference test

TABLES

RISKDIFF(EQUAL)

     

( tables)

PearsonChiSq

Pearson chi-square exact test

EXACT

PCHI

PearsonChiSqMC

Monte Carlo exact test for
Pearson chi-square

EXACT

PCHI / MC

PearsonCorr

Pearson correlation

TEST

PCORR

   

or EXACT

PCORR

PearsonCorrMC

Monte Carlo exact test for
Pearson correlation

EXACT

PCORR / MC

PearsonCorrTest

Pearson correlation test

TEST

PCORR

   

or EXACT

PCORR

RelativeRisks

Relative risk estimates

TABLES

RELRISK or MEASURES
( tables)

RiskDiffCol1

Column 1 risk estimates

TABLES

RISKDIFF ( tables)

RiskDiffCol2

Column 2 risk estimates

TABLES

RISKDIFF ( tables)

RowScores

Row scores

TABLES

SCOROUT

SimpleKappa

Simple kappa coefficient

TEST

KAPPA

   

or EXACT

KAPPA

SimpleKappaMC

Monte Carlo exact test for
simple kappa

EXACT

KAPPA / MC

SimpleKappaTest

Simple kappa test

TEST

KAPPA

   

or EXACT

KAPPA

SomersDCR

Somers’

TEST

SMDCR

SomersDCRTest

Somers’ test

TEST

SMDCR

SomersDRC

Somers’

TEST

SMDRC

SomersDRCTest

Somers’ test

TEST

SMDRC

SpearmanCorr

Spearman correlation

TEST

SCORR

   

or EXACT

SCORR

SpearmanCorrMC

Monte Carlo exact test for
Spearman correlation

EXACT

SCORR / MC

SpearmanCorrTest

Spearman correlation test

TEST

SCORR

   

or EXACT

SCORR

SymmetryTest

Test of symmetry

TABLES

AGREE

TauB

Kendall’s tau-

TEST

KENTB

TauBTest

Kendall’s tau- test

TEST

KENTB

TauC

Stuart’s tau-

TEST

STUTC

TauCTest

Stuart’s tau- test

TEST

STUTC

TrendTest

Cochran-Armitage trend test

TABLES

TREND

TrendTestMC

Monte Carlo exact test
for trend

EXACT

TREND / MC

WeightedKappa

Weighted kappa

TEST

WTKAP

   

or EXACT

WTKAP

WeightedKappaMC

Monte Carlo exact test for
weighted kappa

EXACT

WTKAP / MC

WeightedKappaTest

Weighted kappa test

TEST

WTKAP

   

or EXACT

WTKAP

The ALL option in the TABLES statement invokes CHISQ, MEASURES, and CMH.

The ALL option in the TABLES statement invokes CHISQ, MEASURES, and CMH.

Previous Page | Next Page | Top of Page