bootbctype2 {bccp} | R Documentation |
Computing the bias corrected maximum likelihood estimator under progressive type-I interval censoring scheme using the Bootstrap resampling
Description
Computes the bias corrected maximum likelihood estimator under progressive type-I interval censoring scheme using the Bootstrap resampling. It works by obtaining the empirical distribution of the MLE using bootstrap approach and then constructing the percentile confidence intervals (PCI) suggested by DiCiccio and Tibshirani (1987).
Usage
bootbctype2(plan, param, mle, cdf, pdf, lb = 0, ub = Inf, nboot = 200, coverage = 0.95)
Arguments
plan |
Censoring plan for progressive type-II censoring scheme. It must be given as a |
param |
Vector of the of the family parameter's names. |
mle |
Vector of the maximum likelihood estimators. |
cdf |
Expression of the cumulative distribution function. |
pdf |
Expression for the probability density function. |
lb |
Lower bound of the family support. That is zero by default. |
ub |
Upper bound of the family's support. That is |
nboot |
Number of Bootstrap resampling. |
coverage |
Confidence or coverage level for constructing percentile confidence intervals. That is 0.95 by default. |
Details
For some families of distributions whose support is the positive semi-axis, i.e., x>0
, the cumulative distribution function (cdf) may not be differentiable. In this case, the lower bound of the support of random variable, i.e., lb
that is zero by default, must be chosen some positive small value to ensure the differentiability of the cdf.
Value
A list of the outputs including a matrix that represents the variance-covariance matrix of the uncorrected MLE, a matrix that represents the variance-covariance matrix of the corrected MLE, the lower LPCI
, and upped UPCI
, bounds of 95%
percentile confidence interval for param
, the ML estimator, bias value, and bias-corrected estimator. Finally, the goodness-of-fit measures consists of Anderson-Darling (AD
), Cramer-von Misses (CVM
), and Kolmogorov-Smirnov (KS
) statistics.
Author(s)
Mahdi Teimouri
References
T. J. DiCiccio and R. Tibshirani 1987. Bootstrap confidence intervals and bootstrap approximations. Journal of the American Statistical Association, 82, 163-170.
A. J. Lemonte, F. Cribari-Neto, and K. L. P. Vasconcellos 2007. Improved statistical inference for the two-parameter Birnbaum-Saunders distribution. Computational Statistics and Data Analysis, 51, 4656-4681.
Examples
n <- 20
R <- c(9, rep(0, 10) )
param <- c("alpha","beta")
mle <- c(0.80, 12)
cdf <- quote( 1-exp( -(x/beta)^alpha ) )
pdf <- quote( alpha/beta*(x/beta)^(alpha-1)*exp( -(x/beta)^alpha ) )
lb <- 0
ub <- Inf
nboot <- 200
coverage <- 0.95
plan <- rtype2(n = n, R = R, param = param, mle = mle, cdf = cdf, lb = lb, ub = ub)
bootbctype2(plan = plan, param = param, mle = mle, cdf = cdf, pdf = pdf, lb = lb, ub = ub,
nboot = nboot, coverage = coverage)