|
Chapter Contents |
Previous |
Next |
| The UNIVARIATE Procedure |
| Alias: | |
| Default: | Normal Q-Q plot |
| Restriction: | You can specify only one theoretical distribution. |
| Tip: | You can use multiple QQPLOT statements. |
| Main Discussion: | Quantile-Quantile and Probability Plots |
| QQPLOT <variable(s)> </ option(s)>; |
| To do this: | Use this option: | |
|---|---|---|
| Request a distribution | ||
| Specify beta probability plot with required shape parameters
|
BETA(beta-suboptions) | |
| Specify exponential probability plot | EXPONENTIAL(exponential-suboptions) | |
| Specify gamma probability plot with a required shape parameter
|
GAMMA(gamma-suboptions) | |
| Specify lognormal probability plot with a required shape parameter
|
LOGNORMAL(lognormal-suboptions) | |
| Specify normal probability plot | NORMAL(normal-suboptions) | |
| Specify three-parameter Weibull probability plot with a required shape
parameter
|
WEIBULL(Weibull-suboptions) | |
| Specify two-parameter Weibull probability plot | WEIBULL2(Weibull2-suboptions) | |
| Distribution suboptions | ||
| Specify shape parameter
|
ALPHA= | |
| Specify shape parameter
|
BETA= | |
| Specify shape parameter
|
C= | |
| Specify
|
MU= | |
| Specify
|
SIGMA= | |
| Specify slope of distribution reference line for the lognormal or Weibull2 distribution | SLOPE= | |
| Specify
|
THETA= | |
| Specify
|
ZETA= | |
| Control appearance of distribution reference line | ||
| Specify color of distribution reference line | COLOR= | |
| Specify line type of distribution reference line | L= | |
| Specify width of distribution reference line | W= | |
| Control general plot layout | ||
| Specify reference lines perpendicular to the horizontal axis | HREF= | |
| Specify labels for HREF lines | HREFLABELS= | |
| Adjust sample size when computing quantiles | NADJ= | |
| Suppress frame around plotting area | NOFRAME | |
| Request minor tick marks for percentile axis | PCTLMINOR | |
| Replace theoretical quantiles with percentiles | PCTLSCALE | |
| Adjust ranks when computing quantiles | RANKADJ= | |
| Display Q-Q plot in square format | SQUARE | |
| Specify reference lines perpendicular to the vertical axis | VREF= | |
| Specify labels for VREF lines | VREFLABELS= | |
| Enhance the Q-Q plot | ||
| Specify annotate data set | ANNOTATE= | |
| Specify color for axis | CAXIS= | |
| Specify color for frame | CFRAME= | |
| Specify color for HREF= lines | CHREF= | |
| Specify color for text | CTEXT= | |
| Specify color for VREF= lines | CVREF= | |
| Specify description for plot in graphics catalog | DESCRIPTION= | |
| Specify software font for text | FONT= | |
| Specify number of minor tick marks on horizontal axis | HMINOR= | |
| Specify line style for HREF= lines | LHREF= | |
| Specify line style for VREF= lines | LVREF= | |
| Specify name for plot in graphics catalog | NAME= | |
| Specify number of minor tick marks on vertical axis | VMINOR= | |
| Enhance the comparative Q-Q plot | ||
| Apply annotation requested in ANNOTATE= data set to key cell only | ANNOKEY | |
| Specify color for filling frame for row labels | CFRAMESIDE= | |
| Specify color for filling frame for column labels | CFRAMETOP= | |
| Specify distance between tiles | INTERTILE= | |
| Specify number of columns in comparative Q-Q plot | NCOLS= | |
| Specify number of rows in comparative Q-Q plot | NROWS= | |
| Arguments |
| Default: | If you omit variable(s) in the QQPLOT statement, then the procedure creates a Q-Q plot for each variable that you list in the VAR statement, or for each numeric variable in the DATA= data set if you omit a VAR statement. |
| Requirement: | If you specify a VAR statement, use the variable(s) that you list in the VAR statement. Otherwise, variable(s) are any numeric variables in the DATA= data set. |
| Options |
| Requirement: | Enclose this suboption in parentheses when it follows the BETA or GAMMA options. |
| Tip: | To compute a maximum likelihood estimate
for
|
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Tip: | Use the KEYLEVEL= option in the CLASS statement to specify the key cell. |
| See also: | the KEYLEVEL= option |
| Alias: | ANNO= |
| Tip: | The ANNOTATE = data set that you specify in the QQPLOT statement is used by all plots that this statement creates. You can also specify an ANNOTATE= data set in the PROC UNIVARIATE statement to enhance all the graphic displays that the procedure creates. |
| See also: | ANNOTATE= in the PROC UNIVARIATE statement |
| Requirement: | You must specify the shape parameters with the ALPHA= and BETA= suboptions |
| Interaction: | To create a plot that is based on
maximum likelihood estimates for
|
| Tip: | To obtain graphical estimates of
To assess the point pattern, add a diagonal distribution reference line
that corresponds to the lower threshold parameter
Agreement between the reference line and the point pattern indicates
that the beta distribution with parameters
|
| Main discussion: | Beta Distribution |
| See also: | the ALPHA= suboption , BETA= suboption , SIGMA= suboption , and THETA= suboption . |
| Alias: | B= |
| Requirement: | You must enclose this suboption in parentheses after the BETA option. |
| Tip: | To compute a maximum likelihood estimate
for
|
| Requirement: | Enclose this suboption in parentheses after the WEIBULL option or WEIBULL2 option. |
| Interaction: | To request a distribution reference line in the WEIBULL2 option, you must specify both the C= and SIGMA= suboptions. |
| Tip: | To compute a maximum likelihood estimate
for
|
| Alias: | CAXES= |
| Default: | the first color in the device color list |
| Interaction: | This option overrides any COLOR= specification. |
| Default: | the area is not filled |
| Default: | These areas are not filled. |
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Default: | These areas are not filled. |
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Default: | the first color in the device color list |
| Default: | the fourth color in the device color list |
| Requirement: | You must enclose this suboption in parentheses after a distribution option keyword. |
| Default: | the color that you specify for the CTEXT= option in the GOPTIONS statement. If you omit the GOPTIONS statement, the default is the first color in the device color list. |
| Alias: | CV= |
| Default: | the first color in the device color list. |
| Alias: | DES= |
| Default: | the variable name |
| Alias: | EXP |
| Tip: | To assess the point pattern, add a diagonal
distribution reference line that corresponds to
Agreement between the reference line and the point pattern indicates
that the exponential distribution with parameters
|
| Main discussion: | Exponential Distribution |
| See also: | the SIGMA suboption and THETA suboption |
| Default: | hardware characters |
| Interaction: | FONT=font takes precedence over FTEXT=font that you specify in the GOPTIONS statement. |
| Requirement: | You must specify the shape parameter with the ALPHA= suboption. |
| Interaction: | To create a plot that is based on
a maximum likelihood estimate for
|
| Tip: | To obtain a graphical estimate of
To assess the point pattern, add a diagonal distribution reference line
that corresponds to
Agreement between the reference line and the point pattern indicates
that the exponential distribution with parameters
|
| Main discussion: | Gamma Distribution |
| See also: | the ALPHA= suboption , SIGMA= suboption , and THETA= suboption |
| Alias: | HM= |
| Default: | 0 |
| See also: | CHREF= option |
| Alias: | HREFLABEL= and HREFLAB= |
| Restriction: | The number of labels must equal the number of reference lines. Labels can have up to 16 characters. |
| Default: | The tiles are contiguous. |
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Default: | 1, which produces a solid line |
| Requirement: | You must enclose this suboption in parentheses after a distribution option keyword. |
| Alias: | LH= |
| Default: | 2, which produces a dashed line |
| Alias: | LNORM |
| Requirement: | You must specify the shape parameter with the SIGMA= suboption. |
| Tip: | To obtain a graphical estimate of
To assess the point pattern, add a diagonal distribution reference line
that corresponds to the threshold parameter
Agreement between the reference line and the point pattern indicates
that the lognormal distribution with parameters
|
| Main discussion: | Lognormal Distribution |
| See also: | the SIGMA= suboption , SLOPE= suboption , THETA= suboption , and ZETA= suboption |
| Alias: | LV= |
| Default: | 2, which produces a dashed line |
| Default: | the sample mean |
| Requirement: | You must enclose this suboption in parentheses after the NORMAL option. |
| Tip: | Specify the MU= and SIGMA= suboptions together
to request a distribution reference line. Specify MU=EST to request a distribution
reference line with
|
| Default: |
|
| Default: | UNIVAR |
| Alias: | NCOL= |
| Default: | NCOLS=1, if you specify only one class variable, and NCOLS=2, if you specify two class variables. |
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Interaction: | If you specify two class variables, you can use the NCOLS= option with the NROWS= option. |
| Tip: | To assess the point pattern, add a diagonal
distribution reference line that corresponds to
Agreement between the reference line and the point pattern indicates
that the normal distribution with parameters
|
| Main discussion: | Normal Distribution |
| See also: | the MU= suboption and SIGMA= suboption |
| Alias: | NROW= |
| Default: | 2 |
| Requirement: | This option is ignored unless you specify the CLASS statement. |
| Interaction: | If you specify two class variables, you can use the NCOLS= option with the NROWS= option. |
| Tip: | Tick marks are drawn uniformly across the axis based on the quantile scale. In all other respects, the plot remains the same, and you must specify HREF= values in quantile units. For a true nonlinear axis, use the PROBPLOT statement. |
| Default: |
|
| See also: | SIGMA= and ZETA= |
| See also: | ALPHA= , SIGMA= , and C= |
| Distribution Option | Uses of the SIGMA= Option |
|---|---|
| BETA, EXPONENTIAL GAMMA, WEIBULL |
THETA=
|
| LOGNORMAL | SIGMA=
|
| NORMAL | MU=
|
| WEIBULL2 | SIGMA=
|
| Requirement: | Enclose this suboption in parentheses after the distribution option. |
| Tip: | To compute a maximum likelihood estimate
for
|
| Requirement: | Enclose this suboption in parentheses after the distribution option. |
| Tip: | When you use the LOGNORMAL option and SLOPE=
to request the line, you must also specify a threshold parameter value
|
| When you use the WEIBULL2 option and SLOPE=
option to request the line, you must also specify a scale parameter value
For example, the first and second QQPLOT statements produce the same quantile-quantile plots as the third and fourth QQPLOT statements: proc univariate data=measures; qqplot width /lognormal(sigma=2 theta=0 zeta=0); qqplot width /lognormal(sigma=2 theta=0 slope=1); qqplot width /weibull2(sigma=2 theta=0 c=.25); qqplot width /weibull2(sigma=2 theta=0 slope=4); |
|
| Main Discussion: | Shape Parameters |
| Default: | rectangular frame |
| Default: | 0 |
| Requirement: | You must enclose this suboption in parentheses after the distribution option. |
| Interaction: | When you use the WEIBULL2 option,
the THETA= suboption specifies the known lower threshold
When you use the THETA= suboption with another distribution option,
THETA= specifies
|
| Alias: | VM= |
| Default: | 0 |
| See also: | CVREF= option and LVREF= option |
| Alias: | VREFLABEL= and VREFLAB= |
| Restriction: | The number of labels must equal the number of reference lines. Labels can have up to 16 characters. |
| Default: | 1 |
| Requirement: | You must enclose this suboption in parentheses after the distribution option. |
| Alias: | WEIB |
| Requirement: | You must specify the shape parameter with the C= suboption. |
| Interaction: | To create a plot that is based on
a maximum likelihood estimate for
To specify the threshold value
|
| Tip: | To obtain a graphical estimate of
To assess the point pattern, add a diagonal distribution reference line
with intercept
Agreement between the reference line and the point pattern indicates
that the Weibull distribution with parameters
|
| Main discussion: | Three-Parameter Weibull Distribution |
| See also | the C= suboption , SIGMA= suboption , and THETA= suboption |
Note: The C= shape parameter option is not required with the Weibull2
option. ![]()
| Alias: | W2 |
| Default: | 0 |
| Interaction: | To specify the threshold value
|
| Tip: | An advantage of the two-parameter Weibull
plot over the three-parameter Weibull plot is that the parameters
|
| Tip: | To obtain a graphical estimate of
To assess the point pattern, add a diagonal distribution reference line
that corresponds to
Agreement between the reference line and the point pattern indicates
that the Weibull2 distribution with parameters
|
| Main discussion: | Two-Parameter Weibull Distribution |
| See also: | the C= suboption , SIGMA= suboption , SLOPE= suboption , and THETA= suboption |
| Requirement: | You must enclose this suboption in parentheses after the LOGNORMAL option. |
| Interaction: | To request a distribution reference
line with intercept
|
| Theoretical Percentiles of Quantile-Quantile Plots |
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.