glmmTMB (version 0.2.3)

tmbroot: Compute likelihood profile confidence intervals of a TMB object by root-finding (generalized from TMB::tmbprofile)

Description

Compute likelihood profile confidence intervals of a TMB object by root-finding (generalized from TMB::tmbprofile)

Usage

tmbroot(obj, name, target = 0.5 * qchisq(0.95, df = 1), lincomb,
  parm.range = c(NA, NA), sd.range = 7, trace = FALSE,
  continuation = FALSE)

Arguments

obj

a fitted glmmTMB object

name

parameter index/name

target

desired deviation from minimum log-likelihood. Default is set to retrieve the 95 if the objective function is a negative log-likelihood function

lincomb

linear combination of parameters

parm.range

lower and upper limits; if NA, a value will be guessed based on the parameter value and sd.range

sd.range

in the absence of explicit parm.range values, the range chosen will be the parameter value plus or minus sd.range. May be specified as a two-element vector for different ranges below and above the parameter value.

trace

report information?

continuation

use continuation method, i.e. set starting parameters for non-focal parameters to solutions from previous fits?

Value

a two-element numeric vector containing the lower and upper limits (or NA if the target is not achieved in the range), with an attribute giving the total number of function iterations used