mclogit.fit mclogit 0.6.1

Internal functions used for model fit.

Description

These functions are exported and documented for use by other packages. They are not intended for end users.

Usage

mclogit.fit(y, s, w, X, start = NULL, offset = NULL, control = mclogit.control())

mmclogit.fitPQL(y, s, w, X, Z, G, groups, start,
                  offset = NULL, control = mclogit.control())

Arguments

y

a response vector. Should be binary.

s

a vector identifying individuals or covariate strata

w

a vector with observation weights.

X

a model matrix; required.

Z

the random effects design matrix.

G

a list of design matrices for the (co-)variance parameters.

groups

a list of grouping factors.

start

an optional numerical vector of starting values for the coefficients.

offset

an optional model offset. Currently only supported for models without random effects.

control

a list of parameters for the fitting process. See mclogit.control

Value

A list with components describing the fitted model.