SURVEYFREQ Procedure
The SURVEYFREQ procedure produces oneway to nway frequency and crosstabulation tables from complex multistage
survey designs with stratification, clustering, and unequal weighting. The following are highlights of the SURVEYFREQ
procedure's features:
 produces tables of population totals, population proportions, and their standard errors
 computes confidence limits, coefficients of variation, and design effects
 provides a variety of options to customize the table display
 provides RaoScott chisquare goodnessoffit tests, which are adjusted for the sample design, for oneway frequency tables
 produces simple and weighted kappa coefficients
 enables you to test a null hypothesis of equal proportions for a oneway frequency table or input a custom null hypothesis proportions for the test
 provides designadjusted tests of independence or no association, between the row and column variables for twoway tables. These tests include the following:
 RaoScott chisquare test
 RaoScott likelihood ratio test
 Wald chisquare test
 Wald loglinear chisquare test
 computes estimates and confidence limits for risks (or row proportions), the risk difference, the odds ratio, and relative risks for 2x2 tables

 computes variances of the estimated parameters by using the following methods:
 Taylor series (linearization)
 balanced repeated replication (BRR)
 delete1 jackknife
 enables you to employ Fay's method with BRR
 enables you to input or output a SAS data set containing a Hadamard matrix for BRR
 enables you to import or export SAS data sets containing replicate weights for BRR or jackknife methods
 creates a SAS data set that contains the jackknife coefficients
 provides analysis for subpopulations, or domains, in addition to analysis for the entire study population
 calculates design effects for each overall proportion estimates in frequency and crosstabulation tables
 performs BY group processing, which enables you to obtain separate analyses on grouped observations (distinct from subpopulation analysis)
 creates a SAS data set that corresponds to any output table
 automatically creates graphs by using ODS Graphics

For further details see the SAS/STAT User's Guide:
The SURVEYFREQ Procedure
( PDF  HTML )
Examples