SAS/STAT Software


The SURVEYFREQ procedure produces one-way to n-way 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 Rao-Scott chi-square goodness-of-fit tests, which are adjusted for the sample design, for one-way frequency tables
  • produces simple and weighted kappa coefficients
  • enables you to test a null hypothesis of equal proportions for a one-way frequency table or input a custom null hypothesis proportions for the test
  • provides design-adjusted tests of independence or no association, between the row and column variables for two-way tables. These tests include the following:
    • Rao-Scott chi-square test
    • Rao-Scott likelihood ratio test
    • Wald chi-square test
    • Wald log-linear chi-square 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)
    • delete-1 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 )