# NOT RUN {
data(plasma)
n <- 112
param <- c("alpha","beta")
mle <- c(0.4, 0.05)
cdf <- quote( 1-exp( beta*(1-exp( x^alpha )) ) )
pdf <- quote( exp( beta*(1-exp( x^alpha )) )*( beta*(exp( x^alpha )*( x^(alpha-1)*alpha ) )) )
lb <- 0
rtype1(n = n, P = plasma$P, T = plasma$upper, param = param, mle = mle, cdf.expression = FALSE,
pdf.expression = TRUE, cdf = cdf, pdf = pdf, lb = lb)
# }
Run the code above in your browser using DataLab