cmp_fit: Maximize the COM-Poisson log-likelihood function

Description Usage Arguments Value Author(s)

Description

Maximize the COM-Poisson log-likelihood function

Usage

1
2
3
cmp_fit(X, Z, y, start = NULL, method = c("BFGS", "Nelder-Mead", "CG",
  "L-BFGS-B", "SANN"), lower = -Inf, upper = Inf, hessian = TRUE,
  control = list())

Arguments

X

Design matrix related to the (approximate) mean parameter μ = \exp(X β).

Z

Design matrix related to the dispersion parameter ν = \exp(Z γ).

y

Vector of observed count data.

start

Initial parameters

method

Argument passed to optim(...).

lower

Argument passed to optim(...).

upper

Argument passed to optim(...).

hessian

Argument passed to optim(...).

control

Argument passed to optim(...).

Value

A list with estimated parameters and hessian matrix

Author(s)

Eduardo Jr <edujrrib@gmail.com>


JrEduardo/cmpreg documentation built on May 8, 2019, 4:41 p.m.