| BOXCHART Statement |
The OUTBOX= data set saves group summary statistics, decision limits, and outlier values. The following variables can be saved:
_ID_ is included in the OUTBOX= data set only if one of the keywords SCHEMATICID or SCHEMATICIDFAR is specified with the BOXSTYLE= option. _HTML_ is present only if one or more of the HTML=, OUTHIGHHTML=, OUTLOWHTML=, or POINTSHTML= options are specified.
Each observation in an OUTBOX= data set records the value of a single feature of one group's box-and-whisker plot, such as its mean. The _TYPE_ variable identifies the feature whose value is recorded in _VALUE_. The following table lists valid _TYPE_ variable values:
Table 5.19: Valid _TYPE_ Values in an OUTBOX= Data Set| _TYPE_ Value | Description |
| N | group size |
| ALPHA | significance level |
| LIMITN | nominal sample size associated with decision limits |
| LDLX | lower decision limit for group mean |
| UDLX | upper decision limit for group mean |
| RESPMEAN | overall response variable mean |
| MIN | group minimum value |
| Q1 | group first quartile |
| MEDIAN | group median |
| MEAN | group mean |
| Q3 | group third quartile |
| MAX | group maximum value |
| LOW | low outlier value |
| HIGH | high outlier value |
| LOWHISKR | low whisker value, if different from MIN |
| HIWHISKR | high whisker value, if different from MAX |
| FARLOW | low far outlier value |
| FARHIGH | high far outlier value |
Additionally, the following variables, if specified, are included:
The OUTLIMITS= data set saves decision limits and decision limit parameters. The following variables can be saved:
Table 5.20: OUTLIMITS= Data Set| Variable | Description |
| _ALPHA_ | significance level |
| _DFE_ | degrees of freedom for mean square error |
| _GROUP_ | group-variable specified in the BOXCHART statement |
| _INDEX_ | optional identifier for the decision limits specified with the OUTINDEX= option |
| _LDLX_ | lower decision limit for group means |
| _LIMITK_ | number of groups |
| _LIMITN_ | sample size associated with the decision limits |
| _MEAN_ | weighted average of group means
( |
| _MSE_ | mean square error |
| _TYPE_ | type (estimate or standard value) of _MEAN_ and _MSE_ |
| _UDLX_ | upper decision limit for group means |
| _VAR_ | response specified in the BOXCHART statement |
Notes:
The OUTLIMITS= data set contains one observation for each response specified in the BOXCHART statement. For an example, see "Saving Decision Limits".
The OUTSUMMARY= data set saves group summary statistics. The following variables can be saved:
Given a response name that contains 32 characters, the procedure first shortens the name to its first 16 characters and its last 15 characters, and then it adds the suffix.
Group summary variables are created for each response specified in the BOXCHART statement. For example, consider the following statements:
proc anom data=Steel;
xchart (Width Diameter)*Lot / outsummary=Summary;
run;
The data set Summary contains variables named Lot, WidthL, Width1, WidthX, WidthM, Width3, WidthH, WidthS, WidthN, DiameterL, Diameter1, DiameterX, DiameterM, Diameter3, DiameterH, DiameterS, and DiameterN. Additionally, the following variables, if specified, are included:
For an example of an OUTSUMMARY= data set, see "Saving Summary Statistics for Groups".
The OUTTABLE= data set saves group summary statistics, decision limits, and related information. The following variables can be saved:
| Variable | Description |
| _ALPHA_ | significance level |
| _EXLIM_ | decision limit exceeded (if any) |
| group | values of the group variable |
| _LDLX_ | lower decision limit for group mean |
| _LIMITN_ | nominal sample size associated with the decision limits |
| _MEAN_ | central line |
| _SUBMAX_ | group maximum |
| _SUBMED_ | group median |
| _SUBMIN_ | group minimum |
| _SUBN_ | group sample size |
| _SUBQ1_ | group first quartile |
| _SUBQ3_ | group third quartile |
| _SUBX_ | group mean |
| _UDLX_ | upper decision limit for group mean |
| _VAR_ | response specified in the BOXCHART statement |
In addition, the following variables, if specified, are included:
Note: The variable _EXLIM_ is a character variable of length 8. The variable _PHASE_ is a character variable of length 48. The variable _VAR_ is a character variable whose length is no greater than 32. All other variables are numeric.
For an example, see "Saving Decision Limits".
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.