gen.init: Generates initial values for mixtures of logistic regressions

Description Usage Arguments See Also

Description

A sub-function of StagedChoiceSplineMix. This function generates initial values for mixtures of logistic regressions. This function is used if starting points for parameters are not specified by the user or when the EM algorithm needs to be initialized due to errors.

Usage

1
gen.init(y, x, k, er)

Arguments

y

See StagedChoiceSplineMix for details.

x

See StagedChoiceSplineMix for details.

k

See StagedChoiceSplineMix for details.

er

The total number of errors. See StagedChoiceSplineMix for details.

See Also

StagedChoiceSplineMix
"mixtools" package version 1.0.3


StagedChoiceSplineMix documentation built on May 1, 2019, 6:35 p.m.