Learn R Programming

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

mixAK (version 3.1)

Multivariate normal mixture models and mixtures of generalized linear mixed models including model based clustering

Description

This package contains a mixture of statistical methods including the MCMC methods to analyze normal mixtures. Additionally, model based clustering methods are implemented to perform classification based on (multivariate) longitudinal (or otherwise correlated) data. The basis for such clustering is a mixture of multivariate generalized linear mixed models.

Copy Link

Version

Install

install.packages('mixAK')

Monthly Downloads

326

Version

3.1

License

GPL (>= 2)

Maintainer

Arnošt Komárek

Last Published

June 11th, 2013

Functions in mixAK (3.1)

GLMM_MCMC

MCMC estimation of a (multivariate) generalized linear mixed model with a normal mixture in the distribution of random effects
GLMM_MCMCprior.eps

Handle prior.eps argument of GLMM_MCMC function
NMixChainsDerived

Create MCMC chains derived from previously sampled values
MVN

Multivariate normal distribution
GLMM_MCMCscale.b

Handle scale.b argument of GLMM_MCMC function
NMixPlugDensJoint2

Pairwise bivariate densities: plug-in estimate
GLMM_longitDA

Discriminant analysis for longitudinal profiles based on fitted GLMM's
NMixMCMCinity

Initial values of censored observations for the NMixMCMC function
GLMM_MCMCinit.eps

Handle init.eps or init2.eps argument of GLMM_MCMC function
PBC910

Subset of Mayo Clinic Primary Biliary Cirrhosis data
NMixPredDensJoint2

Pairwise bivariate predictive density
NMixPredCondDensMarg

Univariate conditional predictive density
Galaxy

Velocities of distant galaxies
plot.NMixPredDensJoint2

Plot computed marginal pairwise bivariate predictive densities
SP2Rect

Conversion of a symmetric matrix stored in a packed format (lower triangle only) into a matrix
BLA

Best linear approximation with respect to the mean square error (theoretical linear regression).
NMixPredDA

Discriminant analysis based on MCMC output from the mixture model
TNorm

Truncated normal distribution
Tandmob

Signal Tandmobiel data
GLMM_MCMCprior.b

Handle prior.eps argument of GLMM_MCMC function
generatePermutations

Generate all permutations of (1, ..., K)
plot.NMixPlugDensJoint2

Plot computed marginal pairwise bivariate densities (plug-in estimate)
NMixChainComp

Chains for mixture parameters
plot.NMixPlugCondDensMarg

Plot computed univariate conditional densities (plug-in estimate)
autolayout

Automatic layout for several plots in one figure
NMixPredCondCDFMarg

Univariate conditional predictive cumulative distribution function
summaryDiff

Posterior summary statistics for a difference of two quantities
BsBasis

B-spline basis
NMixMCMCinitr

Initial component allocations for the NMixMCMC function
NMixEM

EM algorithm for a homoscedastic normal mixture
getProfiles

Individual longitudinal profiles of a given variable
plot.NMixPredCondDensMarg

Plot computed univariate conditional predictive densities
NMixPlugCondDensMarg

Univariate conditional densities: plug-in estimate
Acidity

Acidity index of lakes in North-Central Wisconsin
Dirichlet

Dirichlet distribution
tracePlots

Traceplots for selected parameters
MVNmixture

Mixture of (multivariate) normal distributions
NMixPredCDFMarg

Marginal (univariate) predictive cumulative distribution function
NMixPredDensMarg

Marginal (univariate) predictive density
NMixPlugDensMarg

Marginal (univariate) densities: plug-in estimate
SimData

Simulated dataset
NMixRelabelAlgorithm

Argument manipulation for the NMixRelabel functions
MatMPpinv

Moore-Penrose pseudoinverse of a squared matrix
GLMM_MCMCdata

Data manipulation for the GLMM_MCMC function
GLMM_MCMCprior.alpha

Handle prior.alpha argument of GLMM_MCMC function
GLMM_MCMCinit.b

Handle init.b or init2.b argument of GLMM_MCMC function
NMixMCMC

MCMC estimation of (multivariate) normal mixtures with possibly censored data.
NMixCluster

Clustering based on the MCMC output of the mixture model
NMixPlugDA

Discriminant analysis based on plug-in estimates from the mixture model
Wishart

Wishart distribution
NMixPlugCondDensJoint2

Pairwise bivariate conditional densities: plug-in estimate
Y2T

Transform fitted distribution of Y=trans(T) into distribution of T
MVT

Multivariate Student t distribution
Faithful

Old Faithful Geyser Data
plot.NMixPlugCondDensJoint2

Plot computed pairwise bivariate conditional densities (plug-in estimate)
GLMM_MCMCwrapper

Wrapper to the GLMM_MCMC main simulation.
NMixMCMCwrapper

Wrapper to the NMixMCMC main simulation.
plot.NMixPlugDensMarg

Plot computed marginal predictive densities
TandmobEmer

Signal Tandmobiel data - emergence times
cbplot

Plot a function together with its confidence/credible bands
plot.NMixPredCondCDFMarg

Plot computed univariate conditional predictive cumulative distribution functions
GLMM_MCMCinit.alpha

Handle init.alpha or init2.alpha argument of GLMM_MCMC function
rRotationMatrix

Random rotation matrix
TMVN

Truncated multivariate normal distribution
NMixMCMCdata

Data manipulation for the NMixMCMC function
NMixPredCondDensJoint2

Pairwise bivariate conditional predictive densities
NMixPseudoGOF

Pseudo goodness-of-fit test for a normal mixture model
fitted.GLMM_MCMC

Fitted profiles in the GLMM model
Enzyme

Enzymatic activity in the blood
plot.NMixPredCondDensJoint2

Plot computed predictive pairwise bivariate conditional densities
MatSqrt

Square root of a matrix
PBCseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
NMixRelabel

Re-labeling the MCMC output of the mixture model
NMixSummComp

Summary for the mixture components
plotProfiles

Plot individual longitudinal profiles
plot.NMixPredDensMarg

Plot computed marginal predictive densities
plot.NMixPredCDFMarg

Plot computed marginal predictive cumulative distribution functions
rSamplePair

Sample a pair (with replacement)
GLMM_MCMCifit

Initial (RE)ML fits for the GLMM_MCMC function