Learn R Programming

COMPoissonReg (version 0.8.1)

glm.cmp-raw: Raw Interface to COM-Poisson and Zero-Inflated COM-Poisson Regression

Description

Fit COM-Poisson and Zero-Inflated COM-Poisson regression using a "raw" interface which bypasses the formula-driven interface of glm.cmp.

Usage

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 )

Value

See the glm.cmp.

Arguments

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.