|
Chapter Contents |
Previous |
Next |
| The RELIABILITY Procedure |
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
|
proc reliability data = Resids; distribution ev; pplot sresid*cen(1) / nofit; run;Output 2.1.3: Residuals for Superalloy Fatigue Data Regression Model
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.