mixtools2.0.0 package

Tools for Analyzing Finite Mixture Models

aug.x

Augmented Predictor Function

boot.comp

Performs Parametric Bootstrap for Sequentially Testing the Number of C...

boot.se

Performs Parametric Bootstrap for Standard Error Approximation

compCDF

Plot the Component CDF

ddirichlet

Density Function for the Dirichlet Distribution

density.npEM

Normal kernel density estimate for nonparametric EM output

density.spEM

Normal kernel density estimate for semiparametric EM output

depth

Elliptical and Spherical Depth

dmvnorm

The Multivariate Normal Density

ellipse

Draw Two-Dimensional Ellipse Based on Mean and Covariance

expRMM_EM

EM algorithm for Reliability Mixture Models (RMM) with right Censoring

flaremixEM

EM Algorithm for Mixtures of Regressions with Flare

gammamixEM

EM Algorithm for Mixtures of Gamma Distributions

hmeEM

EM Algorithm for Mixtures-of-Experts

initializations

Initializations for Various EM Algorithms in 'mixtools'

ise.npEM

Integrated Squared Error for a selected density from npEM output

lambda.pert

Perturbation of Mixing Proportions

lambda

Local Estimation for Lambda in Mixtures of Regressions

ldmult

Log-Density for Multinomial Distribution

logisregmixEM

EM Algorithm for Mixtures of Logistic Regressions

makemultdata

Produce Cutpoint Multinomial Data

matsqrt

Calculates the Square Root of a Diagonalizable Matrix

mixtools-internal

Internal 'mixtools' Functions

mixturegram

Mixturegrams

multmixEM

EM Algorithm for Mixtures of Multinomials

multmixmodel.sel

Model Selection Mixtures of Multinomials

mvnormalmixEM

EM Algorithm for Mixtures of Multivariate Normals

mvnpEM

EM-like Algorithm for Nonparametric Mixture Models with Conditionally ...

normalmixEM

EM Algorithm for Mixtures of Univariate Normals

normalmixEM2comp

Fast EM Algorithm for 2-Component Mixtures of Univariate Normals

normalmixMMlc

EC-MM Algorithm for Mixtures of Univariate Normals with linear constra...

npEM

Nonparametric EM-like Algorithm for Mixtures of Independent Repeated M...

npMSL

Nonparametric EM-like Algorithm for Mixtures of Independent Repeated M...

parseconstraint

Constraint Function

perm

Permutation Function

plot.MCMC

Various Plots Pertaining to Mixture Model Output Using MCMC Methods

plot.mixEM

Various Plots Pertaining to Mixture Models

plot.mvnpEM

Plots of Marginal Density Estimates from the mvnpEM Algorithm Output

plot.npEM

Plot Nonparametric or Semiparametric EM Output

plot.spEMN01

Plot mixture pdf for the semiparametric mixture model output by spEMsy...

plotexpRMM

Plot sequences from the EM algorithm for censored mixture of exponenti...

plotFDR

Plot False Discovery Rate (FDR) estimates from output by EM-like strat...

plotly_compCDF

Plot the Component CDF using plotly

plotly_ellipse

Draw Two-Dimensional Ellipse Based on Mean and Covariance using `plotl...

plotly_expRMM

Plot sequences from the EM algorithm for censored mixture of exponenti...

plotly_FDR

Plot False Discovery Rate (FDR) estimates from output by EM-like strat...

plotly_ise.npEM

Visualization of Integrated Squared Error for a selected density from ...

plotly_mixEM

Visualization of output of mixEM function using plotly

plotly_mixMCMC

Various Plots Pertaining to Mixture Model Output Using MCMC Methods us...

plotly_mixturegram

Mixturegrams

plotly_npEM

Plot Nonparametric or Semiparametric EM Output

plotly_post.beta

Visualization of Posterior Regression Coefficients in Mixtures of Rand...

plotly_seq.npEM

Plotting sequences of estimates from non- or semiparametric EM-like Al...

plotly_spEMN01

Plot mixture pdf for the semiparametric mixture model output by `spEMs...

plotly_spRMM

Plot output from Stochastic EM algorithm for semiparametric scaled mix...

plotly_weibullRMM

Plot sequences from the Stochastic EM algorithm for mixture of Weibull...

plotseq.npEM

Plotting sequences of estimates from non- or semiparametric EM-like Al...

plotspRMM

Plot output from Stochastic EM algorithm for semiparametric scaled mix...

plotweibullRMM

Plot sequences from the Stochastic EM algorithm for mixture of Weibull

poisregmixEM

EM Algorithm for Mixtures of Poisson Regressions

post.beta

Summary of Posterior Regression Coefficients in Mixtures of Random Eff...

print.mvnpEM

Printing of Results from the mvnpEM Algorithm Output

print.npEM

Printing non- and semi-parametric multivariate mixture model fits

regcr

Add a Confidence Region or Bayesian Credible Region for Regression Lin...

regmixEM.lambda

EM Algorithm for Mixtures of Regressions with Local Lambda Estimates

regmixEM.loc

Iterative Algorithm Using EM Algorithm for Mixtures of Regressions wit...

regmixEM.mixed

EM Algorithm for Mixtures of Regressions with Random Effects

regmixEM

EM Algorithm for Mixtures of Regressions

regmixMH

Metropolis-Hastings Algorithm for Mixtures of Regressions

regmixmodel.sel

Model Selection in Mixtures of Regressions

repnormmixEM

EM Algorithm for Mixtures of Normals with Repeated Measurements

repnormmixmodel.sel

Model Selection in Mixtures of Normals with Repeated Measures

rexpmix

Simulate from Mixtures of Exponentials

rmvnorm

Simulate from a Multivariate Normal Distribution

rmvnormmix

Simulate from Multivariate (repeated measures) Mixtures of Normals

rnormmix

Simulate from Mixtures of Normals

rweibullmix

Simulate from Mixtures of Weibull distributions

segregmixEM

ECM Algorithm for Mixtures of Regressions with Changepoints

spEM

Semiparametric EM-like Algorithm for Mixtures of Independent Repeated ...

spEMsymloc

Semiparametric EM-like Algorithm for univariate symmetric location mix...

spEMsymlocN01

semiparametric EM-like algorithm for univariate mixture in False Disco...

spregmix

EM-like Algorithm for Semiparametric Mixtures of Regressions

spRMM_SEM

Stochastic EM algorithm for semiparametric scaled mixture of censored ...

summary.mixEM

Summarizing EM mixture model fits

summary.mvnpEM

Summarizing Fits for Nonparametric Mixture Models with Conditionally I...

summary.npEM

Summarizing non- and semi-parametric multivariate mixture model fits

summary.spRMM

Summarizing fits from Stochastic EM algorithm for semiparametric scale...

tauequivnormalmixEM

Special EM Algorithm for three-component tau equivalence model

test.equality.mixed

Performs Chi-Square Test for Mixed Effects Mixtures

test.equality

Performs Chi-Square Tests for Scale and Location Mixtures

try.flare

Mixtures of Regressions with Flare MM Algorithm

weibullRMM_SEM

St-EM algorithm for Reliability Mixture Models (RMM) of Weibull with r...

wkde

Weighted Univariate (Normal) Kernel Density Estimate

wquantile

Weighted quantiles

Analyzes finite mixture models for various parametric and semiparametric settings. This includes mixtures of parametric distributions (normal, multivariate normal, multinomial, gamma), various Reliability Mixture Models (RMMs), mixtures-of-regressions settings (linear regression, logistic regression, Poisson regression, linear regression with changepoints, predictor-dependent mixing proportions, random effects regressions, hierarchical mixtures-of-experts), and tools for selecting the number of components (bootstrapping the likelihood ratio test statistic, mixturegrams, and model selection criteria). Bayesian estimation of mixtures-of-linear-regressions models is available as well as a novel data depth method for obtaining credible bands. This package is based upon work supported by the National Science Foundation under Grant No. SES-0518772 and the Chan Zuckerberg Initiative: Essential Open Source Software for Science (Grant No. 2020-255193).