Fit COM-Poisson and Zero-Inflated COM-Poisson regression using a "raw"
interface which bypasses the formula-driven interface of glm.cmp
.
glm.cmp.raw(y, X, S, offset = NULL, init = NULL, fixed = NULL, control = NULL)glm.zicmp.raw(
y,
X,
S,
W,
offset = NULL,
init = NULL,
fixed = NULL,
control = NULL
)
See the glm.cmp.
A vector of counts which represent the response .
Design matrix for the `lambda` regression.
Design matrix for the `nu` regression.
A data structure that specifies offsets. See the helper function get.offset.
A data structure that specifies initial values. See the helper function get.init.
A data structure that specifies which coefficients should remain fixed in the maximum likelihood procedure. See the helper function get.fixed.
A control data structure. See the helper function get.control.
Design matrix for the `p` regression.