Description Usage Arguments Details Value Author(s) References Examples
A data frame is generated by simulated data from the Weibull model.
1 | simu.Weibull(n,mu,sigma,delta)
|
n |
sample size |
mu |
location parameter |
sigma |
scale parameter |
delta |
a positive parameter controlling the inclusion probability |
The data are generated from the random vector (U,Y,V) subject to the inclusion criterion U<=Y<=V. The random vector are defined as U=mu-delta+sigma*W, Y=mu+sigma*W, and U=mu+delta+sigma*W, where P(W>w)=exp(-exp(w)). See Section 5.1 of Dorre et al. (2020-) for details. The inclusion probability is P(U<=Y<=V).
u |
lower truncation limits |
y |
log-transformed lifetimes |
v |
upper truncation limits |
Takeshi Emura
Dorre A, Huang CY, Tseng YK, Emura T (2020-) Likelihood-based analysis of doubly-truncated data under the location-scale and AFT model, Computation Stat, DOI:10.1007/s00180-020-01027-6
1 2 3 4 5 | ## A simulation from Dorre et al.(2020) ##
simu.Weibull(n=100,mu=5,sigma=2,delta=2.08)
Dat=simu.Weibull(n=100,mu=5,sigma=2,delta=2.08)
PMLE.Weibull(Dat$u,Dat$y,Dat$v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.