Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The FREQ Procedure

TABLES Statement

The BINOMIAL option has a new LEVEL= suboption. The BINOMIALC and RISKDIFFC options have been added to the TABLES statement.

BINOMIAL < (P= value) | (LEVEL= level-number | level-value) >
requests the binomial proportion for one-way tables. The BINOMIAL option also provides the asymptotic standard error, asymptotic and exact confidence intervals, and the asymptotic test for the binomial proportion. To request an exact test for the binomial proportion, use the BINOMIAL option in the EXACT statement.

To specify the null hypothesis proportion for the test, use P=. If you omit P=value, PROC FREQ uses 0.5 as the default for the test. By default, the BINOMIAL option computes the proportion of observations for the first variable level that appears in the output. To specify a different level, use LEVEL=level-number or LEVEL=level-value, where level-number is the variable level's number or order in the output, and level-value is the formatted value of the variable level.

To include a continuity correction in the asymptotic confidence interval and test, use the BINOMIALC option instead of the BINOMIAL option.

BINOMIALC < (P= value) | (LEVEL= level-number | level-value) >
requests the BINOMIAL option statistics for one-way tables, but includes a continuity correction in the asymptotic confidence interval and the asymptotic test. The BINOMIAL option statistics include the binomial proportion, the asymptotic standard error, asymptotic and exact confidence intervals, and the asymptotic test for the binomial proportion. To request an exact test for the binomial proportion, use the BINOMIAL option in the EXACT statement.

To specify the null hypothesis proportion for the test, use P=. If you omit P=value, PROC FREQ uses 0.5 as the default for the test. By default, the BINOMIALC option computes the proportion of observations for the first variable level that appears in the output. To specify a different level, use LEVEL=level-number or LEVEL=level-value, where level-number is the variable level's number or order in the output, and level-value is the formatted value of the variable level.

RISKDIFFC
requests the RISKDIFF option statistics for 2 ×2 tables, but includes a continuity correction in the asymptotic confidence limits. The RISKDIFF option statistics include the column 1 and 2 risks (or binomial proportions), risk differences, and their confidence limits.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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