This computes the maximum of an object of class SLik
representing an inferred (summary) likelihood surface
MSL(object, CIs = TRUE, level = 0.95, verbose = interactive(),
eval_RMSEs = inherits(object,"SLik"), ...)
an object of class SLik
as produced by infer_surface.logLs
If TRUE
, construct one-dimensional confidence intervals for all parameters.
Intended coverage probability of the confidence intervals.
Whether to display some information about progress and results.
Logical: whether to evaluate prediction uncertainty for likelihoods/ likelihood ratios/ parameters. By default TRUE for SLik
objects, and best kept so, as it is necessary for the automated iterative method. May be FALSE for other classes of objects.
Further arguments passed from or to other methods.
The object
is returned invisibly, with added members
MSL
, itself with members MSLE
and maxlogL
that match the par
and value
returned by an optim
call.
RMSEs
root mean square errors of the log-likelihood at its inferred maximum and of the log-likelihood ratios at the CI bounds.
par_RMSEs
root mean square errors of the CI bounds
RMSEs
are computed using approximate formulas for prediction (co-)variances in linear mixed midels (see Details in predict
).
par_RMSEs
are computed from RMSEs
and from the numerical gradient of profile log-likelihood at each CI bound.
# NOT RUN {
## see main documentation page for the package
# }
Run the code above in your browser using DataLab