The CAPABILITY Procedure |
Overview |
The QQPLOT statement creates a quantile-quantile plot (Q-Q plot), which compares ordered values of a variable with quantiles of a specified theoretical distribution such as the normal. If the data distribution matches the theoretical distribution, the points on the plot form a linear pattern. Thus, you can use a Q-Q plot to determine how well a theoretical distribution models a set of measurements.
You can specify one of the following theoretical distributions with the QQPLOT statement:
beta
exponential
gamma
three-parameter lognormal
normal
two-parameter Weibull
three-parameter Weibull
You can use options in the QQPLOT statement to do the following:
specify or estimate parameters for the theoretical distribution
display a reference line corresponding to specific location and scale parameters for the theoretical distribution
request graphical enhancements
You can also create a comparative Q-Q plot by using the QQPLOT statement in conjunction with a CLASS statement.
You have three alternatives for producing Q-Q plots with the QQPLOT statement:
Traditional graphics are produced by default.
ODS Graphics output is produced when you specify the ODS GRAPHICS statement prior to the PROC CAPABILITY statement.
Legacy line printer plots are produced when you specify the LINEPRINTER option in the PROC CAPABILITY statement.
See Chapter 3, SAS/QC Graphics, for more information about producing these different kinds of graphs.
Note:Q-Q plots are similar to probability plots, which you can create with the PROBPLOT statement (see PROBPLOT Statement). Q-Q plots are preferable for graphical estimation of distribution parameters and capability indices, whereas probability plots are preferable for graphical estimation of percentiles.
Copyright © SAS Institute, Inc. All Rights Reserved.