Regression analysis with Weibull model

 /****************************************************************/
 /*          S A S   S A M P L E   L I B R A R Y                 */
 /*                                                              */
 /*    NAME: RELREG                                              */
 /*   TITLE: Regression analysis with Weibull model              */
 /* PRODUCT: QC                                                  */
 /*  SYSTEM: ALL                                                 */
 /*    KEYS:                                                     */
 /*   PROCS: RELIABILITY                                         */
 /*    DATA: Nelson, W., Accelerated Testing,  p.305             */
 /*     REF: SAS/QC Software: The RELIABILITY Procedure          */
 /*                                                              */
 /*                                                              */
 /****************************************************************/

 options nodate nostimer nonumber source2 ls=76 ps=80;
data bearing;
   input load life;
   lload = log(load);
   datalines;
.87 1.67
.87 2.2
.87 2.51
.87 3.0
.87 3.9
.87 4.7
.87 7.53
.87 14.7
.87 27.76
.87 37.4
.99 .8
.99 1.0
.99 1.37
.99 2.25
.99 2.95
.99 3.7
.99 6.07
.99 6.65
.99 7.05
.99 7.37
1.09 .18
1.09 .2
1.09 .24
1.09 .26
1.09 .32
1.09 .32
1.09 .42
1.09 .44
1.09 .88
1.18 .073
1.18 .098
1.18 .117
1.18 .135
1.18 .175
1.18 .262
1.18 .270
1.18 .350
1.18 .386
1.18 .456
;
run;

ods output modobstats=RESIDUAL;
proc reliability data=bearing;
   distribution weibull;
   model life = lload /  covb
                         corrb
                         obstats
                         ;
   run;

proc reliability data=residual;
   distribution ev;
   probplot sresid;
   run;