glm.cmp-raw | R Documentation |
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
)
y |
A vector of counts which represent the response . |
X |
Design matrix for the 'lambda' regression. |
S |
Design matrix for the 'nu' regression. |
offset |
A data structure that specifies offsets. See the helper function get.offset. |
init |
A data structure that specifies initial values. See the helper function get.init. |
fixed |
A data structure that specifies which coefficients should remain fixed in the maximum likelihood procedure. See the helper function get.fixed. |
control |
A control data structure. See the helper function get.control. |
W |
Design matrix for the 'p' regression. |
See the glm.cmp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.