lb_coptim {lb}R Documentation

Fitting Log-Binomial Models with constrOptim

Description

Fitting Log-Binomial Models with constrOptim

Usage

lb_coptim(x, y, start, mu = 1e-04, control = list(maxit = 500L),
  method = "BFGS", outer_iterations = 10000, outer_eps = 1e-08, ...)

Arguments

x

design matrix of dimension n * p.

y

vector of observations of length n.

start

numeric (vector) starting value (of length p): must be in the feasible region.

mu

see constrOptim.

control

passed to “optim”.

method

passed to “optim”.

outer_iterations

see constrOptim.

outer_eps

see constrOptim.

...

see constrOptim.

Value

a vector giving the estimated coefficients.


[Package lb version 1.1 Index]