QQPLOT Statement: CAPABILITY Procedure

Summary of Options

The following tables list the QQPLOT statement options by function. For complete descriptions, see Dictionary of Options.

Distribution Options

Table 5.67 summarizes the options for requesting a specific theoretical distribution.

Table 5.67: Options for Specifying a Theoretical Distribution

Option

Description

BETA(beta-options)

specifies beta Q-Q plot for shape parameters $\alpha $, $\beta $ specified with mandatory ALPHA= and BETA= beta-options

EXPONENTIAL(exponential-options)

specifies exponential Q-Q plot

GAMMA(gamma-options)

specifies gamma Q-Q plot for shape parameter $\alpha $ specified with mandatory ALPHA= gamma-option

GUMBEL(Gumbel-options)

specifies Gumbel Q-Q plot

LOGNORMAL(lognormal-options)

specifies lognormal Q-Q plot for shape parameter $\sigma $ specified with mandatory SIGMA= lognormal-option

NORMAL(normal-options)

specifies normal Q-Q plot

PARETO(Pareto-options)

specifies generalized Pareto Q-Q plot for shape parameter $\alpha $ specified with mandatory ALPHA= Pareto-option

POWER(power-options)

specifies power function Q-Q plot for shape parameter $\alpha $ specified with mandatory ALPHA= power-option

RAYLEIGH(Rayleigh-options)

specifies Rayleigh Q-Q plot

WEIBULL(Weibull-options)

specifies three-parameter Weibull Q-Q plot for shape parameter c specified with mandatory C= Weibull-option

WEIBULL2(Weibull2-options)

specifies two-parameter Weibull Q-Q plot


Table 5.68 summarizes options that specify parameter values for theoretical distributions and that control the display of a distribution reference line. Specify these options in parentheses after the distribution option. For example, the following statements use the NORMAL option to request a normal Q-Q plot with a specific distribution reference line. The MU= and SIGMA= normal-options display a distribution reference line with intercept 10 and slope 0.3. The COLOR= normal-option draws the line in red.

proc capability data=measures;
   qqplot length / normal(mu=10 sigma=0.3 color=red);
run;

Table 5.68: Distribution Options

Option

Description

Distribution Reference Line Options

COLOR=

specifies color of distribution reference line

L=

specifies line type of distribution reference line

SYMBOL=

specifies plotting character for line printer plots

W=

specifies width of distribution reference line

Beta-Options

ALPHA=

specifies mandatory shape parameter $\alpha $

BETA=

specifies mandatory shape parameter $\beta $

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Exponential-Options

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Gamma-Options

ALPHA=

specifies mandatory shape parameter $\alpha $

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Gumbel-Options

MU=

specifies reference line intercept $\mu $

SIGMA=

specifies reference line slope $\sigma $

Lognormal-Options

SIGMA=

specifies mandatory shape parameter $\sigma $

SLOPE=

specifies reference line slope

THETA=

specifies reference line intercept $\theta $

ZETA=

specifies reference line slope $\exp (\zeta _0)$

Normal-Options

CPKREF

specifies vertical reference lines at intersection of specification limits with distribution reference line

CPKSCALE

rescales horizontal axis in $C_{pk}$ units

MU=

specifies reference line intercept $\mu $

SIGMA=

specifies reference line slope $\sigma $

Pareto-Options

ALPHA=

specifies mandatory shape parameter $\alpha $

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Power-Options

ALPHA=

specifies mandatory shape parameter $\alpha $

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Rayleigh-Options

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Weibull-Options

C=

specifies mandatory shape parameter c

SIGMA=

specifies reference line slope $\sigma $

THETA=

specifies reference line intercept $\theta $

Weibull2-Options

C=

specifies $c_0$ for reference line (slope is $\frac{1}{c_0}$)

SIGMA=

specifies $\sigma _0$ for reference line (intercept is $\log (\sigma _0)$)

SLOPE=

specifies reference line slope

THETA=

specifies known lower threshold $\theta _0$


General Options

Table 5.69 lists options that control the appearance of the plots.

Table 5.69: General QQPLOT Statement Options

Option

Description

General Plot Layout Options

CONTENTS=

specifies table of contents entry for Q-Q plot grouping

HREF=

specifies reference lines perpendicular to the horizontal axis

HREFLABELS=

specifies labels for HREF= lines

LEGEND=

specifies LEGEND statement

NADJ=

adjusts sample size (N) when computing quantiles

NOFRAME

suppresses frame around plotting area

NOLEGEND

suppresses legend

NOLINELEGEND

suppresses distribution reference line information in legend

NOSPECLEGEND

suppresses specifications information in legend

PCTLAXIS

adds a nonlinear percentile axis

PCTLMINOR

adds minor tick marks to percentile axis

PCTLSCALE

replaces theoretical quantiles with percentiles

RANKADJ=

adjusts ranks when computing quantiles

ROTATE

switches horizontal and vertical axes

SQUARE

displays Q-Q plot in square format

VREF=

specifies reference lines perpendicular to the vertical axis

VREFLABELS=

specifies labels for VREF= lines

Graphics Options

ANNOTATE=

specifies annotate data set

CAXIS=

specifies color for axis

CFRAME=

specifies color for frame

CGRID=

specifies color for grid lines

CHREF=

specifies colors for HREF= lines

CSTATREF=

specifies colors for STATREF= lines

CTEXT=

specifies color for text

CVREF=

specifies colors for VREF= lines

DESCRIPTION=

specifies description for plot in graphics catalog

FONT=

specifies software font for text

GRID

draws grid lines perpendicular to the quantile axis

HEIGHT=

specifies height of text used outside framed areas

HMINOR=

specifies number of horizontal minor tick marks

HREFLABPOS=

specifies vertical position of labels for HREF= lines

INFONT=

specifies software font for text inside framed areas

INHEIGHT=

specifies height of text inside framed areas

LGRID=

specifies a line type for grid lines

LHREF=

specifies line styles for HREF= lines

LSTATREF=

specifies line styles for STATREF= lines

LVREF=

specifies line styles for VREF= lines

NAME=

specifies name for plot in graphics catalog

NOHLABEL

suppresses label for horizontal axis

NOVLABEL

suppresses label for vertical axis

NOVTICK

suppresses tick marks and tick mark labels for vertical axis

STATREF=

specifies reference lines at values of summary statistics

STATREFLABELS=

specifies labels for STATREF= lines

STATREFSUBCHAR=

specifies substitution character for displaying statistic values in STATREFLABELS= labels

VAXIS=

specifies AXIS statement for vertical axis

VAXISLABEL=

specifies label for vertical axis

VMINOR=

specifies number of vertical minor tick marks

VREFLABPOS=

specifies horizontal position of labels for VREF= lines

WAXIS=

specifies line thickness for axes and frame

WGRID=

specifies thickness for grid lines

Options for ODS Graphics Output

ODSFOOTNOTE=

specifies footnote displayed on Q-Q plot

ODSFOOTNOTE2=

specifies secondary footnote displayed on Q-Q plot

ODSTITLE=

specifies title displayed on Q-Q plot

ODSTITLE2=

specifies secondary title displayed on Q-Q plot

Options for Comparative Plots

ANNOKEY

applies annotation requested in ANNOTATE= data set to key cell only

CFRAMESIDE=

specifies color for filling frame for row labels

CFRAMETOP=

specifies color for filling frame for column labels

CPROP=

specifies color for proportion of frequency bar

CTEXTSIDE=

specifies color for row labels

CTEXTTOP=

specifies color for column labels

INTERTILE=

specifies distance between tiles

NCOLS=

specifies number of columns in comparative Q-Q plot

NROWS=

specifies number of rows in comparative Q-Q plot

OVERLAY

overlays plots for different class levels (ODS Graphics only)

Options to Enhance Line Printer Plots

HREFCHAR=

specifies line character for HREF= lines

NOOBSLEGEND

suppresses legend for hidden points

QQSYMBOL=

specifies character for plotted points

VREFCHAR=

specifies character for VREF= lines