Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The RELIABILITY Procedure

RELATIONPLOT Statement

RELATIONPLOT variable<\astcensor-variable(values)> <=group-variable> </options>;


RELATIONPLOT (variable1 variable2) <=group-variables> </options>;


You use the RELATIONPLOT statement to create life-stress relation plots. A life-stress relation plot is a graphical tool for the analysis of data from accelerated life tests. The plot is a display of the relationship between life and stress, such as temperature or voltage. You can also use the RELATIONPLOT statement to display a probability plot alongside the relation plot. See Figure 30.6 for an example of a relation plot.

You can specify the keyword RPLOT as an alias for RELATIONPLOT. You can use any number of RELATIONPLOT statements after a PROC RELIABILITY statement.

See "Analysis of Accelerated Life Test Data" for an example using the RELATIONPLOT statement.

To create a life-stress relation plot, you must specify one variable. If your data are right censored, you must specify a censor-variable and, in parentheses, the values of the censor-variable that correspond to censored data values. You must specify one group-variable to represent the values of stress. The group-variable must be a numeric variable.

The RELATIONPLOT statement plots the uncensored values of your data given by variable versus the values of the group-variable. You can optionally display a boxplot of the values of the data. You can also plot percentiles of the distribution fitted to the data. The RELATIONPLOT statement produces the same tabular output as the PROBPLOT statement, and all the analysis options are the same as for the PROBPLOT statement.

The elements of the RELATIONPLOT statement are described as follows.

variable
represents the data for which a plot is to be produced. The variable must be a numeric variable in the input data set.

censor-variable(values)
indicates which observations in the input data set are right censored. You specify the values of censor-variable that represent censored observations by placing those values in parentheses after the variable name. If your data are not right censored, then you omit the specification of censor-variable; otherwise, censor-variable must be a numeric variable in the input data set.

(variable1 variable2)
is another method of specifying the data for which a life-stress plot is to be produced. You can use this syntax in a situation where uncensored, interval-censored, left-censored and right-censored values occur in the same set of data. Table 30.20 shows how you use this syntax to specify different types of censoring by using combinations of missing and nonmissing values. See "Lognormal Analysis with Arbitrary Censoring" for an example of using this syntax to create a probability plot.

group-variable
is a group variable. The group-variable must be a numeric variable in the input data set.

options
control the features of the relation plot. All options are specified after the slash (/) in the RELATIONPLOT statement. The "Summary of Options" section, which follows, lists all options by function.

The only type of relation plot currently available for interval data is the type in which percentiles of the fitted distribution are plotted at each stress level.

Summary of Options

Table 30.30: Analysis Options
Option Option Description
CONFIDENCE=numberspecifies the confidence coefficient for all confidence intervals. The number must be between 0 and 1. The default value is 0.95
CONVERGE=numberspecifies the convergence criterion for maximum likelihood fit.
CONVH=numberspecifies the convergence criterion for the relative Hessian convergence criterion
CORRBrequests parameter correlation matrix
COVBrequests parameter covariance matrix
FITTYPE=specifies method of estimating distribution parameters
     LSYX-least squares fit to the probability plot. The probability axis is the dependent variable.
     | LSXY-least squares fit to the probability plot. The lifetime axis is the dependent variable.
     | MLE-maximum likelihood (default)
     | MODEL-use the fit from the preceding MODEL statement
     | NONE-no fit is computed
     | WEIBAYES-Weibayes method
     <(CONFIDENCE|CONF=number)>The number is the confidence coefficient for the Weibayes fit. The number is between 0 and 1, with a default value of 0.95.
ITPRINTrequests iteration history for maximum likelihood fit
LRCLrequests likelihood ratio confidence intervals for distribution parameters
LRCLPERrequests likelihood ratio confidence intervals for distribution percentiles
LOCATION=number < LINIT >specifies fixed or initial value of location parameter
MAXIT=numberspecifies maximum number of iterations allowed for maximum likelihood fit
NOPCTILESsuppress computation of percentiles
PCTLIST=number-listspecifies list of percentages for which to compute percentile estimates. The number-list must be a list of numbers separated by blanks or commas. Each number in the list must be between 0 and 100.
PPOS=specifies plotting position type.
     EXPRANK-expected ranks
     |MEDRANK-median ranks
     |MEDRANK1-median ranks (exact formula)
     |KM-Kaplan-Meier
     |MKM-modified Kaplan-Meier (default)
PPOUTrequest table of cumulative probabilities
PSTABLE=numberspecifies stable parameterization. The number must be between zero and one. See "Stable Parameters" for further information.
RELATION=ARRHENIUS | ARRHENIUS2 | LINEAR | POWERspecifies type of relationship between life and stress. This determines the horizontal scale used in the relation plot. See Table 30.45 for definitions of the transformations.
READOUTanalyzes data with readout structure
SCALE=number < SCINIT >specifies fixed or initial value of scale parameter
SHAPE=number < SHINIT >specifies fixed or initial value of shape parameter
SINGULAR=numberspecifies singularity criterion for matrix inversion
SURVTIME=number-listrequests that survival function be computed for values in number-list
THRESHOLD=numberspecifies a fixed threshold parameter. See Table 30.37 for the distributions with a threshold parameter.

Table 30.31: Plot Layout Options
Option Option Description
CENSYMBOL=symbol | (symbol list)specifies symbols for censored values. The symbol is one of the symbol names (plus, star, square, diamond, triangle, hash, paw, point, dot, circle) or a letter (A -Z). If you are creating overlaid plots for groups of data, you can specify different symbols for the groups with a list of symbols or letters, separated by blanks, enclosed in parentheses. If no CENSYMBOL option is specified, the symbol used for censored values is the same as for failures.
HOFFSET=valuespecifies an offset for horizontal axis
INBORDERrequests a border around plots
JITTER=numberspecifies amount to jitter overlaying plot symbols, in units of symbol width
LFIT=linetypespecifies a line style for fit line and confidence curves
LBOXES=numberspecifies a line style for boxplots
NOCENPLOTsuppresses plotting of censored data points
NOCONFsuppresses plotting of percentile confidence curves
NOFITsuppresses plotting of fit line and percentile confidence curves
NOFRAMEsuppresses frame around plotting area
NOPPLEGENDsuppresses legend for overlaid probability plots
NORPLEGENDsuppresses legend for relation plot
PLOTDATA <DATA | MEDIANS | BOXES>requests that the data be plotted on the relationplot and specifies the representation of the data populations to be plotted
PLOTFIT <number-list>specifies that percentiles of the fitted distribution be plotted on the relation plot. The optional number-list is a list of percentiles (between 0 and 100), and, if not specified, the 50th percentile (median) is plotted.
PPLEGEND = legend-statement-name | NONEidentifies a LEGENDn statement to specify legend for overlaid probability plots
PPLOTplaces a probability plot on the same page as the relation plot
RPLEGEND = legend-statement-name | NONEidentifies a LEGENDn statement to specify legend for the relation plot
TURNVLABELSvertically strings out characters in labels for vertical axis
VOFFSET=valuespecifies length of offset at upper end of vertical axis
WFIT=linetypespecifies line width for fit line and confidence curves

Table 30.32: Reference Line Options
Option Option Description
HREF < (INTERSECT) >=value-listrequests reference lines perpendicular to horizontal axis. If (INTERSECT) is specified, a second reference line perpendicular to the vertical axis is drawn that intersects the fit line at the same point as the horizontal axis reference line. If a horizontal axis reference line label is specified, the intersecting vertical axis reference line is labeled with the vertical axis value.
HREFLABELS=('label1' ... 'labeln')specifies labels for HREF=lines
HREFLABPOS=nspecifies vertical position of labels for HREF=lines. The valid values for n and the corresponding label placements are shown below.
n label placement
1top
2staggered from top
3bottom
4staggered from bottom
5alternating from top
6alternating from bottom
LHREF=linetypespecifies a line style for HREF=lines
LSREF=linetypespecifies a line style for SREF= lines
LVREF=linetypespecifies a line style for VREF= lines
SREF=value-listspecifies reference lines perpendicular to horizontal stress axis
SREFLABELS=('label1' ... 'labeln')specifies labels for SREF= lines
SREFLABPOS=nspecifies horizontal position of labels for SREF= lines. The valid values for n and the corresponding label placements are shown below.
n label placement
1top
2staggered from top
3bottom
4staggered from bottom
VREF < (INTERSECT) >=value-listrequests reference lines perpendicular to vertical axis.If (INTERSECT) is specified, a second reference line perpendicular to the horizontal axis is drawn that intersects the fit line at the same point as the vertical axis reference line. If a vertical axis reference line label is specified, the intersecting horizontal axis reference line is labeled with the horizontal axis value.
VREFLABELS=('label1' ... 'labeln')specifies labels for VREF= lines
VREFLABPOS=nspecifies horizontal position of labels for VREF= lines. The valid values for n and the corresponding label placements are shown below.
n label placement
1left
2right


Table 30.33: Text Enhancement Options
Option Option Description
FONT=fontspecifies a software font for text
HEIGHT=valuespecifies height of text used outside framed areas
INFONT=fontspecifies a software font for text inside framed areas
INHEIGHT=valuespecifies height of text inside framed areas

Table 30.34: Axis Options
Option Option Description
LAXIS=value1 to value2<by value3>specifies tick mark values for the lifetime axis. value1, value2, and value3 must be numeric, and value1 must be less than value2. The lower tick mark is value1. Tick marks are drawn at increments of value3. The last tick mark is the greatest value that does not exceed value2. If value3 is omitted, a value of 1 is used. This method of specification of tick marks is not valid for logarithmic axes. Examples of LAXIS= lists are
   laxis = -1 to 10
   laxis = 0 to 200 by 10
LGRID=numberspecifies a line style for all grid lines. The number is between 1 and 46 and specifies a linestyle for grids.
LIFELOWER | LLOWER=numberspecifies the lower limit on the lifetime axis scale. The LLOWER option specifies number as the lower lifetime axis tick mark. The tick interval and the upper lifetime axis limit are determined automatically. This option has no effect if the LAXIS option is used.
LIFEUPPER | LUPPER=numberspecifies the upper limit on the lifetime axis scale. The LUPPER option specifies number as the upper lifetime axis tick mark. The tick interval and the lower lifetime axis limit are determined automatically. This option has no effect if the LAXIS option is used.
MPGRIDadds a minor grid for the probability axis
MINORLOGGRIDadds a minor grid for log axes
NOGRIDsuppresses grid lines
NOLLABELsuppresses label for life, or analysis variable, axis
NOLTICKsuppresses tick marks and tick mark labels for lifetime or analysis variable axis
NOPLABELsuppresses label for probability axis
NOPTICKsuppresses tick marks and tick mark labels for probability axis
NOSLABELsuppresses label for stress axis
NOSTICKsuppresses tick marks and tick mark labels for stress axis
NSTRESSTICK=numberspecifies the number of tick intervals for stress axis for relation plot
NTICK=numberspecifies the number of tick intervals for the lifetime axis. This option has no effect if the LAXIS option is used.
PCTLOWER | PLOWER=numberspecifies lower limit on probability axis scale
PCTUPPER | PUPPER=numberspecifies upper limit on probability axis scale
STRESSLOWER | SLOWER=numberspecifies lower limit on stress axis scale
STRESSUPPER | SUPPER=numberspecifies upper limit on stress axis scale
PAXISLABEL=`string'specifies label for probability axis
WAXIS=nspecifies line thickness for axes and frame

Table 30.35: Graphics Catalog Options
Option Option Description
DESCRIPTION=`string'description for graphics catalog member
NAME=`string'name for plot in graphics catalog

Table 30.36: Color and Pattern Options
Option Option Description
CAXIS=colorcolor for axis
CBOXES=colorcolor for box frame for boxplots
CBOXFILL=colorcolor for filling boxes for boxplots
CCENSOR=colorcolor for filling censor plot area
CENCOLOR=colorcolor for censor symbol
CFIT=colorcolor for fit line and confidence curves
CFRAME=colorcolor for frame
CGRID=colorcolor for grid lines
CHREF=colorcolor for HREF=lines
CPLOTFIT=colorcolor for percentile lines
CSREF=colorcolor for SREF= lines
CTEXT=colorcolor for text
CVREF=colorcolor for VREF= lines

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.