Learn R Programming

mclogit (version 0.4.4)

mclogit.fit: 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())

mclogit.fit.rePQL(y, s, w, X, Z, start = NULL, start.theta = NULL, 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.

start

an optional numerical vector of starting values for the coefficients.

start.theta

an optional numerical vector of starting values for the variance parameters.

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.