confint.eprof {mev} | R Documentation |
Confidence intervals for profile likelihood objects
Description
Computes confidence intervals for the parameter psi for profile likelihood objects.
This function uses spline interpolation to derive level
confidence intervals
Usage
## S3 method for class 'eprof'
confint(
object,
parm,
level = 0.95,
prob = c((1 - level)/2, 1 - (1 - level)/2),
print = FALSE,
method = c("cobs", "smooth.spline"),
...
)
Arguments
object |
an object of class |
parm |
a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered. |
level |
confidence level, with default value of 0.95 |
prob |
percentiles, with default giving symmetric 95% confidence intervals |
print |
should a summary be printed. Default to |
method |
string for the method, either |
... |
additional arguments passed to functions. Providing a logical |
Value
returns a 2 by 3 matrix containing point estimates, lower and upper confidence intervals based on the likelihood root and modified version thereof