Chapter Contents |
Previous |
Next |
The FREQ Procedure |
Request | Equivalent to |
tables A*(B C); | tables A*B A*C; |
tables (A B)*(C D); | tables A*C B*C A*D B*D; |
tables (A B C)*D; | tables A*D B*D C*D; |
tables A -C; | tables A B C; |
tables (A -C)*D; | tables A*D B*D C*D; |
Option | Description |
Control Statistical Analysis | |
AGREE | requests tests and measures of classification agreement |
ALL | requests tests and measures of association produced by CHISQ, MEASURES, and CMH |
ALPHA= | sets the confidence level for confidence limits |
BINOMIAL | requests binomial proportion, confidence limits and test for one-way tables |
CHISQ | requests chi-square tests and measures of association based on chi-square |
CL | requests confidence limits for the MEASURES statistics |
CMH | requests all Cochran-Mantel-Haenszel statistics |
CMH1 | requests the CMH correlation statistic, and adjusted relative risks and odds ratios |
CMH2 | requests CMH correlation and row mean scores (ANOVA) statistics, and adjusted relative risks and odds ratios |
CONVERGE= | specifies convergence criterion to compute polychoric correlation |
FISHER | requests Fisher's exact test for tables larger than 2 ×2 |
JT | requests Jonckheere-Terpstra test |
MAXITER= | specifies maximum number of iterations to compute polychoric correlation |
MEASURES | requests measures of association and their asymptotic standard errors |
MISSING | treats missing values as nonmissing |
PLCORR | requests polychoric correlation |
RELRISK | requests relative risk measures for 2 ×2 tables |
RISKDIFF | requests risks and risk differences for 2 ×2 tables |
SCORES= | specifies the type of row and column scores |
TESTF= | specifies expected frequencies for a one-way table chi-square test |
TESTP= | specifies expected proportions for a one-way table chi-square test |
TREND | requests Cochran-Armitage test for trend |
Control Additional Table Information | |
CELLCHI2 | displays each cell's contribution to the total Pearson chi-square statistic |
CUMCOL | displays the cumulative column percentage in each cell |
DEVIATION | displays the deviation of the cell frequency from the expected value for each cell |
EXPECTED | displays the expected cell frequency for each cell |
MISSPRINT | displays missing value frequencies |
SPARSE | lists all possible combinations of variable levels even when a combination does not occur |
TOTPCT | displays percentage of total frequency on n-way tables when n>2 |
Control Displayed Output | |
NOCOL | suppresses display of the column percentage for each cell |
NOCUM | suppresses display of cumulative frequencies and cumulative percentages in one-way frequency tables and in list format |
NOFREQ | suppresses display of the frequency count for each cell |
NOPERCENT | suppresses display of the percentage, row percentage, and column percentage in crosstabulation tables, or percentages and cumulative percentages in one-way frequency tables and in list format |
NOPRINT | suppresses display of tables but displays statistics |
NOROW | suppresses display of the row percentage for each cell |
LIST | displays two-way to n-way tables in list format |
PRINTKWT | displays kappa coefficient weights |
SCOROUT | displays the row and the column scores |
Create an Output Data Set | |
OUT= | specifies an output data set to contain variable values and frequency counts |
OUTEXPECT | includes the expected frequency of each cell in the output data set |
OUTPCT | includes the percentage of column frequency, row frequency, and two-way table frequency in the output data set |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.