is.glm.nb.theta.warning {chicane}R Documentation

is.glm.nb.theta.warning

Description

Check if a warning matches the square root warning raised by glm.nb due to an inflated theta estimate. This happens when the variance of the negative binomial does not exceed the mean (i.e. there is no overdispersion). In such cases, the Poisson distribution may be a suitable alternative.

Usage

is.glm.nb.theta.warning(w)

Arguments

w

Warning object

Value

Boolean indicating if warning matches


[Package chicane version 0.1.8 Index]