|
Chapter Contents |
Previous |
Next |
| The LIFEREG Procedure |
Table 6.2 contains microprocessor failure data from Nelson (1990). Units were inspected at predetermined time intervals. The data consist of inspection interval endpoints (in hours) and the number of units failing in each interval. A missing (.) lower endpoint indicates left censoring, and a missing upper endpoint indicates right censoring. These can be thought of as semi-infinite intervals with a lower (upper) endpoint of negative (positive) infinity for left (right) censoring.
Table 6.2: Interval-Censored Data| Lower | Upper | Number |
| Endpoint | Endpoint | Failed |
| . | 6 | 6 |
| 6 | 12 | 2 |
| 24 | 48 | 2 |
| 24 | . | 1 |
| 48 | 168 | 1 |
| 48 | . | 839 |
| 168 | 500 | 1 |
| 168 | . | 150 |
| 500 | 1000 | 2 |
| 500 | . | 149 |
| 1000 | 2000 | 1 |
| 1000 | . | 147 |
| 2000 | . | 122 |
The following SAS program will compute the Turnbull estimate and create a lognormal probability plot.
data micro;
input t1 t2 f ;
datalines;
. 6 6
6 12 2
12 24 0
24 48 2
24 . 1
48 168 1
48 . 839
168 500 1
168 . 150
500 1000 2
500 . 149
1000 2000 1
1000 . 147
2000 . 122
;
run;
title;
symbol v=dot c=white;
proc lifereg data=micro;
model ( t1 t2 ) = / d=lognormal intercept=25 scale=5;
weight f;
probplot
cframe = ligr
cfit = blue
pupper = 10
itprintem
printprobs
maxitem = (1000,25)
ppout;
inset / cfill = white;
run; quit;
The two initial values INTERCEPT= 25 and SCALE= 5 in the MODEL statement are used to aid convergence in the model-fitting algorithm.
The following tables are created by the PROBPLOT statement in addition to the standard tabular output from the MODEL statement. Output 6.3.1 shows the iteration history for the Turnbull estimate of the CDF for the microprocessor data. With both options ITPRINTEM and PRINTPROBS specified in the PROBPLOT statement, this table contains the log likelihoods and interval probabilities for every 25th iteration and the last iteration. It would only contain the log likelihoods if the option PRINTPROBS were not specified.
Output 6.3.1: Iteration History for the Turnbull Estimate
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Output 6.3.4 shows the CDF estimates, the maximum likelihood fit, and the pointwise parametric confidence limits plotted on a lognormal probability plot.
Output 6.3.4: Lognormal Probability Plot for the Microprocessor Data
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.