NMixSummComp: Summary for the mixture components

View source: R/NMixSummComp.R

NMixSummCompR Documentation

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)

## Default S3 method:
NMixSummComp(x)

## S3 method for class 'NMixMCMC'
NMixSummComp(x)

## S3 method for class 'GLMM_MCMC'
NMixSummComp(x)

Arguments

x

an object of class NMixMCMC or GLMM_MCMC

Value

Invisible x. The rest is printed on output device.

Author(s)

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

See Also

NMixMCMC, GLMM_MCMC.


mixAK documentation built on Sept. 25, 2023, 5:08 p.m.

Related to NMixSummComp in mixAK...