Plots Freqplot Sas
ODS Graphics |
Plots Freqplot Sas 3
Plots Freqplot Sas Definition
PROC FREQ assigns a name to each graph that it creates with ODS Graphics. You can use these names to refer to the graphs. Table 3.15 lists the names of the graphs that PROC FREQ generates together with their descriptions and the options that are required to produce the graphs.
Plots Freqplot Sas
Plots Freqplot Sas Function
I am using PROC FREQ to create some quick summary tables and plots for a large number of variables by two groups (Rx2 tables, e.g. Sex.group, race.group, etc.). The options for the PLOTS = FREQPLOT ( ) include a value for the scale as. Plots=freqplot is included in the options of the 'table' statement. SAS automatically tries to convert numeric values to character values using the BEST12. See the documentation for the PLOTS= option in the TABLES statement for a description of all the plots that PROC FREQ can create. PROC FREQ creates many plots that are associated with a particular analysis, such as the “deviation plot,” which shows the relative deviations between the observed and expected counts when you request a chi-square analysis of a one-way table.
To request graphics with PROC FREQ, you must first enable ODS Graphics by specifying the ODS GRAPHICS ON statement. See Chapter 21, Statistical Graphics Using ODS (SAS/STAT 9.22 User's Guide), for more information. When you have enabled ODS Graphics, you can request specific plots with the PLOTS= option in the TABLES statement. If you do not specify the PLOTS= option but have enabled ODS Graphics, then PROC FREQ produces all plots that are associated with the analyses that you request.
ODS Graph Name | Plot Description | TABLES Statement Option |
---|---|---|
CumFreqPlot | Cumulative frequency plot | One-way table request |
DeviationPlot | Deviation plot | CHISQ and a one-way table request |
FreqPlot | Frequency plot | Any table request |
KappaPlot | Kappa plot | AGREE ( table) |
ORPlot | Odds ratio plot | MEASURES or RELRISK ( table) |
RelRiskPlot | Relative risk plot | MEASURES or RELRISK ( table) |
RiskDiffPlot | Risk difference plot | RISKDIFF ( table) |
WtKappaPlot | Weighted kappa plot | AGREE ( table, ) |