profile.SLik: Compute profile summary likelihood

Description Usage Arguments Value Examples

View source: R/confintLR.SLik.R

Description

Predicts the profile likelihood for a given parameter value (or vector of such values) using predictions from an SLik object (as produced by MSL).

Usage

1
2
3
4
## S3 method for class 'SLik'
profile(fitted, value, fixed=NULL, return.optim=FALSE, ...)
## S3 method for class 'SLik_j'
profile(fitted, ...)

Arguments

fitted

an SLik object.

value

The parameter value (as a vector of named values) for which the profile is to be computed

fixed

When this is NULL the computed interval is a profile confidence interval over all parameters excluding value. fixed allows one to set fixed values to some of these parameters.

return.optim

If this is TRUE, and if maximization of likelihood given value and fixed is indeed required, then the full result of the optim call is returned.

...

For SLik_j method, arguments passed to SLik method. For SLik_j method, currently not used.

Value

The predicted summary profile log-likelihood; or possibly the result of an optim call if return.optim is TRUE.

Examples

1
## see main documentation page for the package

Infusion documentation built on Sept. 24, 2018, 5:05 p.m.