Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The RELIABILITY Procedure

Example 2.2: Regression Model with Two Independent Variables

Meeker and Escobar (1998, p. 447) analyze data from an accelerated life test on the lifetimes of glass capacitors as a function of operating voltage and temperature. The following SAS statements create a SAS data set containing the data. There are four lifetimes for each of eight combinations and four censored observations after the fourth failure for each combination:

data glass;
   input Temp Voltage @;
   do i = 1 to 4;
      Cen = 0;
      input Hours @; 
      output;      
   end;
   do i = 1 to 4; 
      Cen = 1;
      output; 
   end;
   datalines;
170 200  439  904  1092  1105
170 250  572  690   904  1090
170 300  315  315   439   628
170 350  258  258   347   588
180 200  959 1065  1065  1087
180 250  216  315   455   473
180 300  241  315   332   380
180 350  241  241   435   455
;

The following statements use PROC RELIABILITY to analyze the capacitor data. The MODEL statement fits a regression model with TEMP and VOLTAGE as independent variables. Parameter estimates from the fitted regression model are shown in Output 2.2.1. An interaction term between TEMP and VOLTAGE is included. The PPLOT statement creates a Weibull probability plot shown in Output 2.2.2 with all temperature-voltage combinations overlaid on the same plot. The regression model fit is also plotted. The RPLOT statement creates the plot shown in Output 2.2.3 of the data and Weibull distribution percentiles from the regression model as a function of voltage for values of temperature of 150, 170, and 180:

proc reliability data = glass;
   distribution Weibull;
   model Hours*Cen(1) = temp voltage temp * voltage;

   pplot Hours*Cen(1) = ( temp voltage ) / fit = model
                                           overlay 
                                           noconf 
                                           lupper = 2000 
                                           lfit = ( 1 to 8 );

   rplot Hours*Cen(1) = voltage / fit = regression
                                  plotfit
                                  temp = 150, 170, 180;
run;

Output 2.2.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 9.4135 10.5402 -11.2449 30.0719
Temp -0.0062 0.0598 -0.1235 0.1110
Voltage 0.0086 0.0374 -0.0648 0.0820
Temp*Voltage -0.0001 0.0002 -0.0005 0.0003
EV Scale 0.3624 0.0553 0.2687 0.4887
Weibull Shape 2.7593 0.4210 2.0461 3.7209

Output 2.2.2: Probability Plot for Glass Capacitor Regression Model
glasspplot.gif (6241 bytes)

Output 2.2.3: Plot of Data and Fitted Weibull Percentiles for Glass Capacitor Regression Model
glassrplot.gif (4105 bytes)

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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