boot.mle {FAmle} | R Documentation |
Bootstrap Distribution for Fitted Model
Description
This function allows the user to obtain draws from the (parametric) bootstrap distribution of the fitted model's parameters.
Usage
boot.mle(model, B = 200, seed = NULL, start = NULL,
method = "Nelder-Mead")
Arguments
model |
|
B |
Requested number of bootstrap samples. |
seed |
A seed may be specified (see |
start |
Starting values for the optimization algorithm (if |
method |
Details
Parametric bootstrap – see References.
Value
model |
|
B |
Requested number of bootstrap samples. |
seed |
The specified seed (see |
par.star |
Array containing realized values from the bootstrap distribution of the maximum likelihood parameter estimators. |
gof |
The bootstrap distributions of two goodness-of-fit statistics: Anderson-Darling statistic and Pearson's correlation coefficient for the pair ("observed quantiles","fitted quantiles"). |
p.value |
Bootstrap p-values for the two goodness-of-fit statistics. |
failure.rate |
The proportion of bootstrap samples for which optimization failed using the specified starting values. |
total.time |
The total amount of time required to generate |
References
Davison, A.C., and Hinkley, D.V. (1997). Bootstrap methods and their application. Cambridge University Press.
See Also
Examples
data(yarns)
x <- yarns$x
fit.x <- mle(x,'weibull',c(.1,.1))
boot.x <- boot.mle(fit.x,B=10)
boot.x$par.star
boot.x$p.value