README.md

Binary Mixtures of Linear Models

Build Status AppVeyor Build Status

Fit a binary mixture of linear models by Gibbs sampling. Assumes responses are drawn two subpopulations, each described by a different linear model, and it is unknown which responses are drawn from which subpopulation. The mixture model estimates the coefficient of the two subpopulation models and the probability that an observation is drawn from a particular subpopulation.

Installing

The package is easily installed from GitHub, using the devtools package.

devtools::install_github("SWotherspoon/bmixlm")

If you don't have devtools installed already, install it first.

install.packages("devtools")

(bmixlm otherwise does not need devtools for normal use.)

TODO



SWotherspoon/bmixlm documentation built on May 9, 2019, 12:07 p.m.