The LIFEREG Procedure

Example 70.6 Probability Plotting—Arbitrary Censoring

(View the complete code for this example.)

Table 70.15 contains microprocessor failure data (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 70.15: Interval-Censored Data

Lower Endpoint

Upper Endpoint

Number 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 statements create the SAS data set Micro:

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
;

The following SAS statements compute the nonparametric Turnbull estimate of the cumulative distribution function and create a lognormal probability plot:

ods graphics on;
proc lifereg data=Micro;
   model ( t1 t2 ) = / d=lognormal intercept=25 scale=5;
   weight f;
   probplot
   pupper = 10
   itprintem
   printprobs
   maxitem = (1000,25)
   ppout;
   inset;
run;
ods graphics off;

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 70.6.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 contain only the log likelihoods if the option PRINTPROBS were not specified.

Output 70.6.1: Iteration History for the Turnbull Estimate

The LIFEREG Procedure

Iteration History for the Turnbull Estimate of the CDF
IterationLoglikelihood(., 6)(6, 12)(24, 48)(48, 168)(168, 500)(500, 1000)(1000, 2000)(2000, .)
0-1133.40510.1250.1250.1250.1250.1250.1250.1250.125
25-104.166220.004216440.001405480.001406480.001733380.002378460.008460940.045654070.93474475
50-101.151510.004216440.001405480.001406480.001732930.002348910.007276790.011744860.96986811
75-101.066410.004216440.001405480.001406480.001732930.002348910.007271270.008356380.9732621
100-101.065340.004216440.001405480.001406480.001732930.002348910.007271250.008018140.97360037
125-101.065330.004216440.001405480.001406480.001732930.002348910.007271250.007984380.97363413
130-101.065330.004216440.001405480.001406480.001732930.002348910.007271250.0079830.97363551


The table in Output 70.6.2 summarizes the Turnbull estimates of the interval probabilities, the reduced gradients, and Lagrange multipliers as described in the section Arbitrarily Censored Data.

Output 70.6.2: Summary for the Turnbull Algorithm

Lower LifetimeUpper LifetimeProbabilityReduced GradientLagrange Multiplier
.60.004200
6120.001400
24480.001400
481680.001700
1685000.002300
50010000.0073-7.219342E-90
100020000.0080-0.0370632360
2000.0.97360.00030388770


Output 70.6.3 shows the final estimate of the CDF, along with standard errors and nonparametric confidence limits. Two kinds of nonparametric confidence limits, pointwise or simultaneous, are available. The default is the pointwise nonparametric confidence limits. You can specify the simultaneous nonparametric confidence limits by using the NPINTERVALS=SIMUL option.

Output 70.6.3: Final CDF Estimates for Turnbull Algorithm

Cumulative Probability Estimates
Lower LifetimeUpper LifetimeCumulative
Probability
Pointwise 95% Confidence
Limits
Standard
Error
LowerUpper
660.00420.00190.00940.0017
12240.00560.00280.01120.0020
48480.00700.00380.01300.0022
1681680.00880.00470.01640.0028
5005000.01110.00580.02110.0037
100010000.01840.00940.03570.0063
200020000.02640.01240.05530.0101


Output 70.6.4 shows the CDF estimates, maximum likelihood fit, and pointwise parametric confidence limits plotted on a lognormal probability plot.

Output 70.6.4: Lognormal Probability Plot for the Microprocessor Data

Lognormal Probability Plot for the Microprocessor Data