bootstrapCMLE(dat, qInt = 0.05, canSet = seq(0.1, 0.5, by = 0.1),
B = 5000, randSeed = NULL, conCr = 1e-09, nIter = 1000)DetailscenWbMLE.T1cenWbMLE.T1canSet) by six. The first column is the candidate threshold (proportion). The second and third column is the parameter estimates of the Weibull model for the original data set.
The fourth column is the quantile estimate under this censoring threshold. The fifth column and sixth column are the bootstrap estimate of the standard error (SE) and root mean squared error (RMSE) of this quantile estimate.canSet). The quantile estimates under each censoring threshold for each bootstrap replicate.This function will call C to do all calculations. So it is recommended that the user should make sure the cenWbMLE.T2 could work for their original data set.
bootstrapCenWbMixset.seed(1)
y <- sort(rweibull(100, 7, 7))
tlist <- bootstrapCMLE(y, B=1000, canSet=c(0.1, 0.5, 1), randSeed=1)
tlist$results #Usually, we only need to look at the results part.
Run the code above in your browser using DataLab