Description Usage Arguments Details Value Author(s) See Also
Functions to calculate the Wald confidence interval of an MLE
1 |
mle |
maximum likelihood parameter estimate |
hessian |
estiamte of the Hessian at the MLE |
alpha |
critical value |
marginal |
logical, should marginal CI be calculated for each parameter or should an ellipse be calculated simultaneously for all parameters |
Can calcuate either a Wald CI for a single parameter or multiple parameters. The mle
and
hessian
arguments can be obtained from numerical optimization of the likelihood function using,
e.g., optim
or nlm
A matrix of either the upper and lower confidence limits (for marginal=TRUE
) or a
matrix with x,y coordinates fo the ellipse (for marginal=FALSE
)
Andy Rominger <ajrominger@gmail.com>
optim, nlm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.