The SEVERITY Procedure |
ODS Graphics |
This section describes the use of ODS for creating graphics with the SEVERITY procedure.
To request these graphs, you must specify the ODS GRAPHICS statement. In addition, you can specify the PLOTS= option in the PROC SEVERITY statement as described in Table 22.6.
PROC SEVERITY assigns a name to each graph it creates by using ODS. You can use these names to selectively reference the graphs. The names are listed in Table 22.6.
ODS Graph Name |
Plot Description |
PLOTS= Option |
---|---|---|
CDFPlot |
Comparative CDF Plot |
CDF |
CDFDistPlot |
CDF Plot per Distribution |
CDFPERDIST |
PDFPlot |
Comparative PDF Plot |
|
PDFDistPlot |
PDF Plot per Distribution |
PDFPERDIST |
PPPlot |
P-P Plot of CDF and EDF |
PP |
The comparative CDF plot helps you visually compare the cumulative distribution function (CDF) estimates of all the candidate distribution models and the empirical distribution function (EDF) estimate. The plot does not contain CDF estimates for models whose parameter estimation process does not converge. The horizontal axis represents the values of the response variable. The vertical axis represents the values of the CDF or EDF estimates.
If left-truncation is specified and the probability of observability is not specified, then conditional CDF estimates are plotted. Otherwise, unconditional CDF estimates are plotted. If denotes an unconditional estimate of the CDF at and is the smallest value of the left-truncation threshold, then the conditional CDF at is .
If left-truncation is specified and the MARKTRUNCATED option is specified, then the left-truncated observations are marked in the plot. If right-censoring is specified and the MARKCENSORED option is specified, then the right-censored observations are marked in the plot.
If regressor variables are specified, then the plotted CDF estimates are from a mixture distribution. See the section CDF and PDF Estimates with Regression Effects for details.
The CDF plot per distribution shows the CDF estimates of each candidate distribution model unless that model’s parameter estimation process does not converge. The plot also contains estimates of the EDF. The horizontal axis represents the values of the response variable. The vertical axis represents the values of the CDF or EDF estimates.
If left-truncation is specified and the probability of observability is not specified, then conditional CDF estimates are plotted. Otherwise unconditional CDF estimates are plotted. If denotes an unconditional estimate of the CDF at and is the smallest value of the left-truncation threshold, then the conditional CDF at is .
If left-truncation is specified and the MARKTRUNCATED option is specified, then the left-truncated observations are marked in the plot. If right-censoring is specified and the MARKCENSORED option is specified, then the right-censored observations are marked in the plot.
If regressor variables are specified, then the plotted CDF estimates are from a mixture distribution. See the section CDF and PDF Estimates with Regression Effects for details.
The comparative PDF plot helps you visually compare the probability density function (PDF) estimates of all the candidate distribution models. The plot does not contain PDF estimates for models whose parameter estimation process does not converge. The horizontal axis represents the values of the response variable. The vertical axis represents the values of the PDF estimates.
If the HISTOGRAM option is specified, then the plot also contains the histogram of response variable values. If the KERNEL option is specified, then the plot also contains the kernel density estimate for the response variable values.
If regressor variables are specified, then the plotted PDF estimates are from a mixture distribution. See the section CDF and PDF Estimates with Regression Effects for details.
The PDF plot per distribution shows the PDF estimates of each candidate distribution model unless that model’s parameter estimation process does not converge. The horizontal axis represents the values of the response variable. The vertical axis represents the values of the PDF estimates.
If the HISTOGRAM option is specified, then the plot also contains the histogram of response variable values. If the KERNEL option is specified, then the plot also contains the kernel density estimate for the response variable values.
If regressor variables are specified, then the plotted PDF estimates are from a mixture distribution. See the section CDF and PDF Estimates with Regression Effects for details.
The P-P plot of CDF and EDF is the probability-probability plot that compares the CDF estimates of a distribution with the EDF estimates. A plot is not prepared for models whose parameter estimation process does not converge. The horizontal axis represents the CDF estimates of a candidate distribution and the vertical axis represents the EDF estimates.
This plot can be interpreted as displaying the data that is used for computing the EDF-based statistics of fit for the given candidate distribution. As described in the section EDF-Based Statistics, these statistics are computed by comparing the EDF, denoted by , and the CDF, denoted by , at each of the response variable values . Using the probability inverse transform , this is equivalent to comparing the EDF of the , denoted by , and the CDF of , denoted by (D’Agostino and Stephens 1986, Ch. 4). Given that the CDF of is a uniform distribution (), the EDF-based statistics can be computed by comparing the EDF estimate of with the estimate of . The horizontal axis of the plot represents the estimated CDF . The vertical axis represents the estimated EDF of , . The plot contains a scatter plot of (, ) points and a reference line that represents the expected uniform distribution of . Points scattered closer to the reference line indicate a better fit than the points scattered away from the reference line.
If left-truncation is specified and the probability of observability is not specified, then the EDF estimates are conditional as described in the section EDF Estimates and Left-Truncation. The displayed CDF estimates are also conditional estimates. If denotes an unconditional estimate of the CDF at and is the smallest value of the left-truncation threshold, then the conditional estimate of the CDF at is .
If regressor variables are specified, then the displayed CDF estimates, both unconditional and conditional, are from a mixture distribution. See the section CDF and PDF Estimates with Regression Effects for details.
Note: This procedure is experimental.
Copyright © SAS Institute, Inc. All Rights Reserved.