flexcm_fit: Maximize log-likelihood functions

Description Usage Arguments Value Author(s)

Description

Maximize log-likelihood functions

Usage

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

Arguments

llfun

Function thar returns the negative of the log-likelihood given params, X and y arguments for some count model.

X

Design matrix.

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/flexcm documentation built on May 8, 2019, 12:41 p.m.