[R] Estimating Weibull parameters by maximum liklihood - with censored and non censored data?
Halabi, Anan
anan.halabi at hp.com
Tue Sep 21 07:12:20 CEST 2010
Below my code:
sampleSize <- 20
shape.true <- 1.82
scale.true <- 987
sampWB <- rweibull(sampleSize, shape=shape.true, scale=scale.true)
print(sampWB)
censidx <- sample(1:length(sampWB), length(sampWB)*0.3)
Censored.data <- sampWB[censidx]
print(Censored.data)
NonCensored.data <- sampWB[-censidx]
print(NonCensored.data)
how can I estimte weibull parameters by maximum liklihood with censored and non censored?
More information about the R-help
mailing list