mcmcoutputperm-class: Finmix 'mcmcoutputperm' class

Description Details

Description

The mcmcoutputperm class stores MCMC samples after relabeling (permuting).

Details

Calling mcmcpermute() on an mcmcoutput class permutes the labels of the components and generates an object of class mcmcoutputperm. Note, the number of samples of the mcmcoutputperm object could be less than the original number of MCMC samples due to some samples where both components get assigned to the same label and henceforth get eliminated from further analysis.

The class mcmcoutputperm is a class union and includes all classes that define objects for permuted MCMC samples and is used to dispatch methods for mcmcoutputperm objects. For the user this detail is not important, especially as this class has no exported constructor. Objects are solely constructed internally within the function mcmcpermute().

An object of class mcmcoutputperm inherits all slots from its parent class mcmcoutput. In addition it contains slots that store data from permutation. These slots are listed below

Class methods

Similar to the contained classes mcmcoutput this class comes along with a couple of methods that should give the user some comfort in handling the permuted sampling results. There are no setters for this class as the slots are only set internally.

Show
Getters
Plotting

Plotting functionality for the mcmcoutputperm class is so far only implemented for mixtures of Binomial or Poisson distributions.


simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.