The FREQ procedure now produces agreement plots when the AGREE option is specified and ODS Graphics is enabled. It also offers alternative confidence limit types for the risk (proportion) difference, and it provides exact unconditional confidence limits for the risk difference and relative risk.
The following enhancements have been made to the FREQ procedure for the Second Maintenance Release of SAS 9.3.
The new MAXLEVELS= option in the TABLES statement specifies the maximum number of variable levels to display in one-way frequency tables and one-way frequency plots.
The CROSSLIST(STDRES) option displays standardized residuals in the CROSSLIST table for two-way crossclassifications.
PROC FREQ now provides two additional confidence limit types for the risk (proportion) difference for tables. The CL=AGRESTICAFFO option provides Agresti-Caffo confidence limits for the risk difference. The CL=MN option provides Miettinen-Nurminen confidence limits for the risk difference.
The BARNARD option in the EXACT statement produces Barnard’s exact unconditional test for the risk difference.
Continuity-corrected Wilson confidence limits are now available for the binomial proportion.
The new DF= option specifies or adjusts the degrees of freedom for chi-square tests. The TESTF= option now enables you to provide null frequencies for a one-way chi-square test by using a secondary input data set. Similarly, the TESTP= option now enables you to provide null proportions by using a secondary input data set.
The LRCHISQ option in the TABLES statement produces a likelihood ratio chi-square test for one-way tables. This test can be based on a null hypothesis of equal proportions, specified proportions, or specified frequencies. The LRCHISQ option in the EXACT statement produces an exact likelihood ratio chi-square test for one-way tables.
The PLCORR option in the TEST statement provides Wald and likelihood ratio tests for the polychoric correlation coefficient.
The PLOTS=MOSAICPLOT option provides mosaic plots for two-way tables when ODS Graphics is enabled.
You can now specify the confidence limit type to display in risk difference plots (PLOTS=RISKDIFFPLOT). In addition to Wald and exact unconditional confidence limits, available confidence limit types include the Agresti-Caffo, Hauck-Anderson, Miettinen-Nurminen, and Newcombe. Continuity-corrected Wald and Newcombe confidence limits are also available.
By default, the following plots now display the common (overall) statistic in addition to the stratum (two-way table) statistics: odds ratio plot, relative risk plot, kappa plot, and weighted kappa plot. The COMMON=NO plot option suppresses display of the common value.
The new TWOWAY=CLUSTER plot option provides a cluster layout for frequency plots that are displayed as bar charts (TYPE=BAR). The cluster layout first groups bars (table cells) by column variable level and then displays row variable levels as adjacent bars within each column-level group.
The new GROUPBY= plot option specifies the primary grouping of graph cells for two-way frequency plots. The default is GROUPBY=COLUMN, which first groups graph cells by column variable level and then displays row variable levels within column variable levels. You can specify the GROUPBY=ROW plot option to group first by row variable.