Learn R Programming

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

mixreg (version 0.0-1)

Functions to fit mixtures of regressions.

Description

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

Copy Link

Version

Install

install.packages('mixreg')

Monthly Downloads

107

Version

0.0-1

License

GPL version 2 or newer

Maintainer

Rolf Turner

Last Published

October 14th, 2021

Functions in mixreg (0.0-1)

mixreg-internal

Internal mixreg functions
plot.mresid

Plot residuals for a fitted mixture of linear regressions.
aphids

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

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

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

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

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

Plot confidence bands for a mixture of regressions.
resid.mix

Calculate the residuals of a mixture of linear regressions.
mixreg

Fit a mixture of linear regressions.