Learn R Programming

⚠️There's a newer version (2.0-10) of this package.Take me there.

mixreg (version 0.0-6)

Functions to Fit Mixtures of Regressions

Description

Fits mixtures of (possibly multivariate) regressions (which has been described as doing ANCOVA when you don't know the levels).

Copy Link

Version

Install

install.packages('mixreg')

Monthly Downloads

121

Version

0.0-6

License

GPL (>= 2)

Maintainer

Rolf Turner

Last Published

March 30th, 2018

Functions in mixreg (0.0-6)

aphids

Data on the rate of infection of tobacco plants by a virus spread by aphids.
bootcomp

Perform a bootstrap test for the number of components in a mixture of regressions.
cband

Calculate confidence and prediction bands for mixtures of one-variable regressions.
mixreg-internal

Internal mixreg functions
covmix

Calculate the covariance matrix of the parameter estimates for a mixture of regressions.
mixreg

Fit a mixture of linear regressions.
qqMix

Draw a normal quantile-quantile plot of the residuals from a fitted mixture of linear regressions.
residMix

Calculate the residuals of a mixture of linear regressions.
plot.cband

Plot confidence bands for a mixture of regressions.
plot.mresid

Plot residuals for a fitted mixture of linear regressions.