Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The RELIABILITY Procedure

MCFPLOT Statement

MCFPLOT variable \astcost/censor-variable(values) <=(group-variables)> </options>;


You can specify any number of MCFPLOT statements after a PROC RELIABILITY statement. Each MCFPLOT statement creates a separate MCF plot and associated analysis. See "Analysis of Recurrence Data on Repairs" and "Comparison of Two Samples of Repair Data" for examples using the MCFPLOT statement.

To create a mean cumulative function plot for cost or number of repairs, you specify a variable that represents the times of repairs. You must also specify a cost/censor-variable and the values, in parentheses, of the cost/censor-variable that correspond to end-of-history data values (also referred to as censored data values).

You can optionally specify one or two group-variables (also referred to as classification variables). The MCFPLOT statement displays a component plot for each level of the group-variables using the values of the variable. The observations in a given level are referred to as a cell.

You must also specify a unit-identification variable in conjunction with the MCFPLOT statement to identify the individual unit name for each instance of repair or end of history on the unit. Specify the unit-identification variable in the UNITID statement.

The elements of the MCFPLOT statement are described as follows.

variable
represents the time of repair. A variable must be a numeric variable in the input data set.

cost/censor-variable(values)
indicates the cost of each repair or the number of repairs. This variable also indicates which observations in the input data set are end-of-history (censored) data points. You specify the values of cost/censor-variable that represent censored observations by placing those values in parentheses after the variable name. A censor-variable must be a numeric variable in the input data set.

group-variables
are one or two group variables. If no group variables are specified, a single plot is produced. The group-variables can be any numeric or character variables in the input data set.

Note that the parentheses surrounding the group-variables are needed only if two group variables are specified.

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

Summary of Options

Table 30.13: Analysis Options
Option Option Description
CONFIDENCE=numberspecifies the confidence coefficient for all confidence intervals. Specify a number between 0 and 1. The default value is 0.95
INDINCrequests variance estimates of the MCF computed under an independent increments assumption
MCFDIFFrequests a plot of differences of MCFS of two groups specified by a single group variable
NOVARIANCEsuppresses MCF variance computation
VARMETHOD2requests the method of Lawless and Nadeau (1995) be used to compute variance estimates of the MCF

Table 30.14: Plot Layout Options
Option Option Description
CENBINplots censored data as frequency counts rather than as individual points
CENSYMBOL=symbol | (symbol list)specifies symbols for censored values. 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 repairs.
HOFFSET=valuespecifies offset for horizontal axis
INBORDERrequests a border around MCF plots
INTERTILE=valuespecifies distance between tiles
JITTER=numberspecifies amount to jitter overlaying plot symbols, in units of symbol width
MCFLEGEND=legend-statement-name | NONEidentifies legend statement to specify legend for overlaid MCF plots
MISSING1requests that missing values of first GROUP= variable be treated as a level of the variable
MISSING2requests that missing values of second GROUP= variable be treated as a level of the variable
NCOLS=nspecifies number of columns plotted on a page
NOCENPLOTsuppresses plotting of censored data points
NOCONFsuppresses plotting of confidence intervals
NOFRAMEsuppresses frame around plotting area
NOINSETsuppresses inset
NOLEGENDsuppresses legend for overlaid MCF plots
NROWS=nspecifies number of rows plotted on a page
ORDER1=DATA | FORMATTED | FREQ | INTERNALspecifies display order for values of the first GROUP= variable
ORDER2=DATA | FORMATTED | FREQ | INTERNALspecifies display order for values of the second GROUP= variable
OVERLAYrequests plots with group variables be overlaid on a single page
TURNVLABELSvertically strings out characters in labels for vertical axis
VOFFSET=valuespecifies length of offset at upper end of vertical axis

Table 30.15: Reference Line Options
Option Option Description
HREF=value-listspecifies reference lines perpendicular to horizontal axis
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 line style for HREF=lines
LVREF=linetypespecifies line style for VREF= lines
VREF=value-listspecifies reference lines perpendicular to vertical axis
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.16: Text Enhancement Options
Option Option Description
FONT=fontsoftware font for text
HEIGHT=valueheight of text used outside framed areas
INFONT=fontsoftware font for text inside framed areas
INHEIGHT=valueheight of text inside framed areas

Table 30.17: Axis Options
Option Option Description
HAXIS=value1 to value2<by value3>specifies tick mark values for the horizontal 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 HAXIS= lists follow:
   haxis = 0 to 10
   haxis = 2 to 10 by 2
   haxis = 0 to 200 by 10
HLOWER=numberspecifies the lower limit on the horizontal axis scale. The HLOWER= option specifies number as the lower horizontal axis tick mark. The tick mark interval and the upper axis limit are determined automatically. This option has no effect if the HAXIS option is used.
HUPPER=numberspecifies the upper limit on the horizontal axis scale. The HUPPER= option specifies number as the upper horizontal axis tick mark. The tick mark interval and the lower axis limit are determined automatically. This option has no effect if the HAXIS= option is used.
LGRID=numberspecifies a line style for all grid lines. number is between 1 and 46 and specifies a linestyle for grids.
LOGLOGrequests log scales on both axes
MINORLOGGRIDadds a minor grid for log axes
NOGRIDsuppresses grid lines
NOHLABELsuppresses label for horizontal axis
NOVLABELsuppresses label for vertical axis
NOVTICKsuppresses tick marks and tick mark labels for vertical axis
NOHTICKsuppresses tick marks and tick mark labels for horizontal axis
NHTICK=numberspecifies number of tick intervals for the horizontal axis. This option has no effect if the HAXIS= option is used.
NVTICK=numberspecifies number of tick intervals for the vertical axis. This option has no effect if the VAXIS= option is used.
VAXIS=value1 to value2<by value3>specifies tick mark values for the vertical 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. This method of specification of tick marks is not valid for logarithmic axes. If value3 is omitted, a value of 1 is used.
   vaxis = 0 to 10
   vaxis = 0 to 2 by .1

VAXISLABEL=`string'specifies a label for the vertical axis
VLOWER=numberspecifies the lower limit on the vertical axis scale. The VLOWER= option specifies number as the lower vertical axis tick mark. The tick mark interval and the upper axis limit are determined automatically. This option has no effect if the VAXIS= option is used.
VUPPER=numberspecifies the upper limit on the vertical axis scale. The VUPPER= option specifies number as the upper vertical axis tick mark. The tick mark interval and the lower axis limit are determined automatically. This option has no effect if the VAXIS= option is used.
WAXIS=nspecifies line thickness for axes and frame

Table 30.18: Color and Pattern Options
Option Option Description
CAXIS=colorcolor for axis
CCENSOR=colorcolor for filling censor plot area
CENCOLOR=colorcolor for censor symbol
CFRAME=colorcolor for frame
CFRAMESIDE=colorcolor for filling frame for row labels
CFRAMETOP=colorcolor for filling frame for column labels
CGRID=colorcolor for grid lines
CHREF=colorcolor for HREF=lines
CTEXT=colorcolor for text
CVREF=colorcolor for VREF= lines

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

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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