Learn R Programming

mixreg (version 2.0-10)

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). Turner (2000) .

Copy Link

Version

Install

install.packages('mixreg')

Monthly Downloads

184

Version

2.0-10

License

GPL (>= 2)

Maintainer

Last Published

October 14th, 2021

Functions in mixreg (2.0-10)

mixreg

Fit a mixture of linear regressions.
plot.cint

Plot confidence intervals for a Gaussian scalar mixture model.
kilns

The kilns data sets.
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.
mixreg-internal

Internal mixreg functions
ncMcTest

Perform a Monte Carlo test for the number of components in a mixture of regressions.
plot.mixreg

Plot a fitted mixture of regressions.
covMix

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

Plot confidence bands for a mixture of regressions.
visualFit

Fit a mixture of regressions model by “visual” means.
plot.mixresid

Plot residuals for a fitted mixture of linear regressions.
stepPlot

Plot the steps of the fit of a mixture of regressions model.
qqMix

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

Simulate data from a mixture of regressions model.
residuals.mixreg

Calculate the residuals of a mixture of linear regressions.