mcmcoutput-class: Finmix 'mcmcoutput' class

Description Details See Also

Description

The mcmcoutput class stores all MCMC samples and corresponding information.

Details

Calling mixturemcmc() on appropriate input arguments performs MCMC sampling and returns an mcmcoutput object that stores all samples and corresponding information like hyper-parameters, the finite mixture model specified in a model object and the prior that specifies the prior distribution. All slots are listed below. Note that not all slots must be available in a object of class mcmcoutput. Some slots get only occupied, if a hierarchical prior had been used in MCMC sampling, or if posterior samples should be stored. Furthermore, the slots also look different, if MCMC sampling had been performed for a model with fixed indicators (see for subclasses for example mcmcoutputfix, mcmcoutputbase, mcmcoutputhier or mcmcoutputpost).

The class mcmcoutput is a class union and includes all classes that define objects to store MCMC samples and is used to dispatch methods for mcmcoutput 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 mixturemcmc().

Class methods

This class comes along with a couple of methods that should give the user some comfort in handling the MCMC sampling results. There are no setters for this class as the slots are only set internally.

Show
Getters
Plotting

Plotting functionality for the mcmcoutput helps the user to inspect MCMC results.

Slots

See Also


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