Learn R Programming

StagedChoiceSplineMix (version 1.0.0)

move.knot: Generates a new set of knots for the following iteration

Description

A sub-function of StagedChoiceSplineMix. This function generates a new set of knots for the following iteration. Please refer to Bruch et al. (in press) for the precise rule used.

Usage

move.knot(num.knot, sp.knots, k)

Arguments

num.knot
See StagedChoiceSplineMix for details.
sp.knots
See StagedChoiceSplineMix for details.
k
See StagedChoiceSplineMix for details.

References

Bruch, E., F. Feinberg, K. Lee (in press), "Detecting Cupid's Vector: Extracting Decision Rules from Online Dating Activity Data," Proceedings of the National Academy of Sciences.

See Also

StagedChoiceSplineMix