Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The RELIABILITY Procedure

Example 2.1: Regression Model with Non-Constant Scale

Nelson (1990, p. 272) and Meeker and Escobar (1998, p. 439) analyzed data from a strain-controlled fatigue test on 26 specimens of a type of superalloy. The following SAS statements create a SAS data set containing for each specimen the level of pseudo-stress (PSTRESS), the number of cycles (in thousands) (KCYCLES) until failure or removal from the test, and a variable to indicate whether a specimen failed (F) or was right censored (C) (STATUS):

data alloy;
   input pstress kcycles status$ @@;
   cen = ( status = 'C' );
   datalines;
80.3  211.629  F    99.8   43.331  F
80.6  200.027  F   100.1   12.076  F
80.8   57.923  C   100.5   13.181  F
84.3  155.000  F   113.0   18.067  F
85.2   13.949  F   114.8   21.300  F
85.6  112.968  C   116.4   15.616  F
85.8  152.680  F   118.0   13.030  F
86.4  156.725  F   118.4    8.489  F
86.7  138.114  C   118.6   12.434  F
87.2   56.723  F   120.4    9.750  F
87.3  121.075  F   142.5   11.865  F
89.7  122.372  C   144.5    6.705  F
91.3  112.002  F   145.9    5.733  F
;
run;

The following statements use PROC RELIABILITY to fit a Weibull regression model with the number of cycles to failure as the response variable. The data set=RESIDS contains standardized residuals created with the ODS OUTPUT statement. The MODEL statement specifies a model quadratic in the log of pseudo-stress for the extreme value location parameter. The quadratic model in pseudo-stress PSTRESS is specified in the MODEL statement, and the RELATION=POW option specifies that the log transformation be applied to PSTRESS in the MODEL statement and the LOGSCALE statement. The LOGSCALE statement specifies the log of the scale parameter as a linear function of the log of PSTRESS. The RPLOT statement specifies a plot of the data and the fitted regresion model versus the variable PSTRESS. The FIT=REGRESSION option specifies plotting the regression model fitted with the preceding MODEL statement. The RELATION=POW option specifies using a log stress axis. The PLOTFIT option specifies plotting the 10th, 50th, and 90th percentiles of the regression model at each stress level. The SLOWER, SUPPER, and LUPPER options control limits on the stress and lifetime axes:

ods output ModObstats = Resids;
proc reliability data = alloy;
   distribution Weibull;
   model kcycles*cen(1) = pstress pstress*pstress / relation = pow;
   logscale pstress; 
   rplot kcycles*cen(1) = pstress /  fit=regression 
                                     relation = pow 
                                     plotfit  10 50 90 
                                     slower=60 supper=160
                                     lupper=500;

   label pstress = "Pseudo-Stress";
   label kcycles = "Thousands of Cycles";
run;

Output 2.1.1 displays the parameter estimates from the fitted regression model. Parameter estimates for both the model for the location parameter and the scale paramater models are shown. Standard errors and confidence limits for all parameter estimates are included.

Output 2.1.1: Parameter Estimates for Fitted Regression Model
 
The RELIABILITY Procedure

Weibull Parameter Estimates
Parameter Estimate Standard Error Asymptotic Normal
95% Confidence Limits
Lower Upper
Intercept 243.1681 58.0666 129.3596 356.9766
pstress -96.5240 24.7075 -144.9498 -48.0983
pstress*pstress 9.6653 2.6247 4.5210 14.8095
 
Log-Scale Parameter Estimates
Parameter Estimate Standard Error Asymptotic Normal
95% Confidence Limits
Lower Upper
Intercept 4.4666 4.0724 -3.5152 12.4485
pstress -1.1757 0.8731 -2.8870 0.5355

Output 2.1.2 displays the plot of the data and fitted regression model.

Output 2.1.2: Superalloy Fatigue Data with Fitted Regression Model
alloy.gif (3719 bytes)

The following SAS statements create an extreme values probability plot of standardized residuals from the regression model shown in Output 2.1.3:

proc reliability data = Resids;
   distribution ev;
   pplot sresid*cen(1) / nofit;
run;

Output 2.1.3: Residuals for Superalloy Fatigue Data Regression Model
alloyresiduals.gif (4302 bytes)

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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