AM_mix_components_prior_pois {AntMAN} | R Documentation |
Generate a configuration object for a Poisson prior on the number of mixture components
Description
This function generates a configuration object for a Shifted Poisson prior on the number of mixture components such that
The hyperparameter can either be fixed using
Lambda
or assigned a prior distribution with
a
and b
.
In AntMAN we assume the following parametrization of the Gamma density:
Usage
AM_mix_components_prior_pois(a = NULL, b = NULL, Lambda = NULL, init = NULL)
Arguments
a |
The shape parameter |
b |
The rate parameter |
Lambda |
It allows to set the hyperparameter |
init |
The initial value for |
Details
If no arguments are provided, the default is a prior distribution with a = 1
and b = 1
.
Value
An AM_mix_components_prior
object. This is a configuration list to be used as mix_components_prior
argument for AM_mcmc_fit
.
See Also
Examples
components_prior = AM_mix_components_prior_pois (init=3, a=1, b=1)
[Package AntMAN version 1.1.0 Index]