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

glm.cmp-rawR Documentation

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
)

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.

Value

See the glm.cmp.


COMPoissonReg documentation built on May 29, 2024, 8:17 a.m.