In order for a fitted GLM to convert to a proper distance distribution, its
integral from 0 to Inf must be finite. As a rule, when the leading coefficient
is positive, the integral diverges as the upper bound of integration approaches
infinity, and cofOK
would return FALSE
. Likewise, in some cases,
the GLM coefficients yield an integral that diverges as the lower bound
approaches 0, in which case cofOK
returns FALSE
as well.
cofOK0
and cofOKInf
check the left and right tails of the
candidate distribution, repectively, for convergence.
cofOK(cof, distr)cofOK0(cof, distr)
cofOKInf(cof, distr)
boolean vector (or scalar)
vector or matrix of named glm parameters (with "r"
as the
distance variable)
name of the distribution