Learn R Programming

mixAK (version 5.8)

NMixSummComp: Summary for the mixture components

Description

This function returns basic posterior summary for (re-labeled) mixture components in a model with fixed number of components fitted with NMixMCMC or GLMM_MCMC function. The summary also takes into account possible scaling and shifting of the data (see argument scale in NMixMCMC function or argument scale.b in GLMM_MCMC).

Note that even though the mixture components are re-labeled before the summary is computed to achieve some identifiability, posterior summaries of individual mixture means and variances are not always the quantity we would like to see. For density estimation, posterior predictive density (NMixPredDensMarg, NMixPredDensJoint2) is usually the right stuff one should be interested in.

Usage

NMixSummComp(x)

# S3 method for default NMixSummComp(x)

# S3 method for NMixMCMC NMixSummComp(x)

# S3 method for GLMM_MCMC NMixSummComp(x)

Value

Invisible x. The rest is printed on output device.

Arguments

x

an object of class NMixMCMC or GLMM_MCMC

Author

Arnošt Komárek arnost.komarek@mff.cuni.cz

See Also

NMixMCMC, GLMM_MCMC.