PLOT Subcommand (AIM command)
The PLOT
subcommand specifies
which graphs to produce.
CATEGORY. Within Cluster Percentages. This option displays a clustered bar chart for each categorical variable. The bars represent percentages of categories in each cluster. The cluster marginal count is used as the base for the percentages.
CLUSTER (TYPE=BAR | PIE). Cluster frequency charts. Displays a bar or pie chart, depending upon the option selected, representing the frequency of each level of the grouping variable.
ERRORBAR. Error Bar. This option displays an error bar by group ID for each continuous variable.
IMPORTANCE
(X=GROUP | VARIABLE Y=TEST | PVALUE). Attribute Importance. This option displays a bar chart that shows the relative importance
of the attributes/variables. The specified options further control
the display. X = GROUP
causes
values of the grouping variable to be displayed on the x axis. A separate chart is produced for
each variable. X = VARIABLE
causes
variable names to be displayed on the x axis. A separate chart is produced for each value of the grouping
variable. Y = TEST
causes test
statistics to be displayed on the y axis. Student’s t statistics
are displayed for scale variables, and chi-square statistics are displayed
for categorical variables. Y = PVALUE
causes p-value-related
measures to be displayed on the y axis. Specifically, −log10(pvalue) is shown
so that in both cases larger values indicate "more significant" results.
Example: Importance Charts by Group
AIM clu_id
/CONTINUOUS age work salary
/CATEGORICAL minority
/PLOT CATEGORY CLUSTER (TYPE = PIE) IMPORTANCE (X=GROUP Y=TEST).
- A frequency pie chart is requested.
- Student’s t statistics are plotted against the group ID for each scale variable, and chi-square statistics are plotted against the group ID for each categorical variable.
Example: Importance Charts by Variable
AIM clu_id
/CONTINUOUS age work salary
/CATEGORICAL minority
/CRITERIA HIDENOTSIG=YES CI=95 ADJUST=NONE
/PLOT CATEGORY CLUSTER (TYPE = BAR)
IMPORTANCE (X = VARIABLE, Y = PVALUE).
- A frequency bar chart is requested.
- –log10(pvalue) values are plotted against variables, both scale and categorical, for each level of the grouping variable.
- In addition, bars are not shown if their p values exceed 0.05.