Refits regression coefficients at fixed theta and inverts the likelihood-ratio test on the log-theta scale. The interval may have an infinite upper endpoint when the Poisson boundary cannot be excluded. Bias-reduced fits are excluded because their estimates do not maximize this likelihood.

fastglm_confint_theta(object, level = 0.95, tol = 1e-05, maxit = 200L)

Arguments

object

a negative-binomial GLM, truncated model, or hurdle model.

level

confidence level.

tol

root-finding tolerance on log theta.

maxit

maximum iterations for conditional regression fits.

Value

A named interval for theta with the evaluated profile attached.