## S3 method for class 'secr':
confint(object, parm, level = 0.95, newdata = NULL,
tracelevel = 1, tol = 0.0001, bounds = NULL, ...)
secr
model objectparm
, and columns
giving the lower (lcl) and upper (ucl) 100*level
parm
is numeric its elements are interpreted as the indices of
`beta' parameters; character values are interpreted as `real'
parameters. Different methods are used for beta parameters and real
parameters. Limits for the $j$-th beta parameter are found by a
numerical search for the value satisfying $-2(l_j(\beta_j) - l) =
q$, where $l$ is the maximized log
likelihood, $l_j(\beta_j)$ is the maximized profile log
likelihood with $\beta_j$ fixed, and $q$ is the
$100(1-\alpha)$ quantile of the
$\chi^2$ distribution with one degree of freedom. Limits
for real parameters use the method of Lagrange multipliers (Fletcher and
Faddy 2007), except that limits for constant real parameters are
backtransformed from the limits for the relevant beta parameter.
If bounds
is provided it should be a 2-vector or matrix of 2
columns and length(parm) rows.## Limits for the constant real parameter "D"
confint(secrdemo.0, "D")
Run the code above in your browser using DataLab