This package contains a mixture of statistical methods including the MCMC methods to analyze normal mixtures.
This overview provides a sorted list of the functions of the package and links to few more involved examples.
Methods implemented in the package could be classified into following areas.
Papers related to the package
Please, cite either of the following papers if you find the package useful.
- Komárek, A. (2009).
A new R package for Bayesian estimation of multivariate normal mixtures allowing for
selection of the number of components and interval-censored data.
Computational Statistics and Data Analysis, 53(12), 3932–3947,
doi: 10.1016/j.csda.2009.05.006.
- Komárek, A., Hansen, B. E., Kuiper, E. M. M., van Buuren, H. R., and Lesaffre, E. (2010).
Discriminant analysis using a multivariate linear mixed model with a normal mixture
in the random effects distribution.
Statistics in Medicine, 29(30), 3267–3283,
doi: 10.1002/sim.3849.
- Komárek, A. and Komárková, L. (2013).
Clustering for multivariate continuous and discrete longitudinal data.
The Annals of Applied Statistics, 7(1), 177–200,
doi: 10.1214/12-AOAS580.
- Komárek, A. and Komárková, L. (2014).
Capabilities of R package mixAK for clustering based on multivariate continuous and discrete longitudinal data.
Journal of Statistical Software, accepted for publication.
3. Supporting functions to further process or visualize results from running NMixMCMC or GLMM_MCMC functions
The following functions are generic with default method and a method for objects of class NMixMCMC and GLMM_MCMC implemented.
NMixRelabel |
Re-labeling the MCMC output of the mixture model |
NMixSummComp |
Summary for the mixture components |
tracePlots |
Traceplots for selected parameters |
NMixPredDensJoint2 |
Pairwise bivariate predictive density |
|
There is also a plot method for objects of class NMixPredDensJoint2. |
NMixPlugDensJoint2 |
Pairwise bivariate densities: plug-in estimate |
|
There is also a plot method for objects of class NMixPlugDensJoint2. |
NMixPredCondDensJoint2 |
Pairwise bivariate conditional predictive densities |
|
There is also a plot method for objects of class NMixPredCondDensJoint2. |
NMixPlugCondDensJoint2 |
Pairwise bivariate conditional densities: plug-in estimate |
|
There is also a plot method for objects of class NMixPlugCondDensJoint2. |
NMixPredDensMarg |
Marginal (univariate) predictive density |
|
There is also a plot method for objects of class NMixPredDensMarg. |
NMixPlugDensMarg |
Marginal (univariate) densities: plug-in estimate |
|
There is also a plot method for objects of class NMixPlugDensMarg. |
NMixPredCDFMarg |
Marginal (univariate) predictive cumulative distribution function |
|
There is also a plot method for objects of class NMixPredCDFMarg. |
NMixPredCondDensMarg |
Univariate conditional predictive density |
|
There is also a plot method for objects of class NMixPredCondDensMarg. |
NMixPlugCondDensMarg |
Univariate conditional densities: plug-in estimate |
|
There is also a plot method for objects of class NMixPlugCondDensMarg. |
|
Additionally, the following functions are available.
Y2T |
Transform fitted distribution of Y=trans(T) into distribution of T |
|
This is a generic function with default method to transform a fitted distribution of Y = trans(T) into a distribution of T = itrans(Y). |
|
There are methods for objects of class
NMixPredDensMarg, NMixPlugDensMarg, NMixPredCDFMarg,
NMixPredDensJoint2, NMixPlugDensJoint2,
NMixPredCondDensMarg, NMixPlugCondDensMarg,
NMixPredCondDensJoint2, NMixPlugCondDensJoint2. |
summaryDiff |
Posterior summary statistics for a difference of two quantities |
|