Goal
Evaluate the shape and scale parameters which describes a given set of Type I censored data points.
Problem
The data was collected in such a manner that the censoring threshold for each censored data point is different. Here is a sample data set to illustrate:
start_time fail_time life
0 11.297102 11.297102
2 NA NA
2 9.934173 7.934173
2 8.441901 6.441901
4 16.651268 12.651268
4 10.277692 6.277692
4 NA NA
5 10.728138 5.728138
6 14.069520 8.069520
8 14.630614 6.630614
13 NA NA
13 20.504782 7.504782
14 NA NA
17 NA NA
18 19.095108 1.095108
21 -EXPERIMENT ENDS-
In we want to find a Weibull distribution that describes the behavior of our 'life' variable. Because the experiment ended at time 21, we do not have failure times (and thus 'life' values) for all items.
When calculating the parameters for this distribution, we need to set a censoring threshold for those missing points such that when they're estimated via the Weibull distribution's maximum-likelihood function, they're assumed to be at least as old as they where at the time the experiment ended.
If all the items were started at the same time (t=0) and ran until the experiment ended (t=21), this would be relatively easy. Working in R we would just use this line of code:
cenWbMLE.T1(life, Cx=21) # part of the extWeibQuant package in R
And it would return parameters for the distribution. But that function only accepts one censoring threshold (Cx).
Is there a way to estimate the weibull parameters of this censored data set in such a way that the different start times are accounted for? If so, how would it be done/coded?