add_Weibull_mle_robust: A Robust Algorithm to Compute The MLEs of the Weighted...

Description Usage Arguments Examples

Description

Compute the MLEs of censored Weibull data by reparameterization and using optim() function.

Usage

1
add_Weibull_mle_robust(censor_data, weight = "no")

Arguments

censor_data

The value of function simulate_weibull_data().

weight

Specify the way to put a weight on the data. "no": do not put the weight on the data.

Examples

1
2
censor_data <- simulate_weibull_data(1, 5, 0.2, 1, 1)
( censor_data_with_mle <- add_Weibull_mle_robust(censor_data) )

tianqinglong/myRtoolbox documentation built on May 26, 2019, 10:36 a.m.