The constructor function for a mixing distribution object. Use this function to prepare an object for use with the appropriate distribution functions.
MixingDistribution(
distribution,
priorParameters,
conjugate,
mhStepSize = NULL,
hyperPriorParameters = NULL
)
The name of the distribution mixture
The prior parameters
Whether the prior is conjugate to the Likelihood.
The scale of the proposal parameter for the Metropolis Hastings algorithm. Not needed for conjugate mixtures.
Vector of hyperPriorParameters for the distribution.