mclogit.fit: Internal functions used for model fit.

Description Usage Arguments Value

View source: R/mclogit.R

Description

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

Usage

1
2
3
4
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.


mclogit documentation built on May 2, 2019, 4:41 p.m.

Related to mclogit.fit in mclogit...