Learn R Programming

extWeibQuant (version 1.1)

cenWbMLE.T2: censored Weibull MLE for Type II right-censored data

Description

Calculate the censored Weibull MLE for the Type II censored data with the algorithm described in ASTM 5457(2004). Return the estimates of the shape and scale parameters. A comprehesive description of this algorithm can be found in Liu (2012).

Usage

cenWbMLE.T2(dat, n, useC = FALSE, conCr = 1e-09, nIter = 1000)

Arguments

dat
A vector of the observations after censoring. None NA or negative values allowed.
n
The original sample size, including both the censored and uncensored observations.
useC
conCr
nIter

Value

See cenWbMLE.T1

References

See cenWbMLE.T1

See Also

rweibull, cenWbMLE.T1, emCenWbMix.T2

Examples

Run this code
set.seed(1)
y <- sort(rweibull(100, 7, 7)) ##Generate the data
cenWbMLE.T2(y, 100) #The MLE for the complete data
cenWbMLE.T2(y[1:10], 100) #Censor the largerst 90% of the data.

Run the code above in your browser using DataLab