AM_mix_hyperparams_unipois {AntMAN} | R Documentation |
univariate Poisson mixture hyperparameters
Description
Generate a configuration object that specifies a univariate Poisson mixture kernel, where users can
specify the hyperparameters of the conjugate Gamma prior, i.e. the kernel is a Poisson(\tau)
and \tau\sim Gamma(\alpha_0,\beta_0)
.
In AntMAN we assume the following
parametrization of the Gamma density:
p(x\mid a,b )= \frac{b^a x^{a-1}}{\Gamma(a)} \exp\{ -bx \}, \quad x>0.
Usage
AM_mix_hyperparams_unipois(alpha0, beta0)
Arguments
alpha0 |
The shape hyperparameter |
beta0 |
The rate hyperparameter |
Details
Note that by default, alpha0=1 and beta0=1.
Value
An AM_mix_hyperparams
object. This is a configuration list to be used as mix_kernel_hyperparams
argument for AM_mcmc_fit
.
Examples
AM_mix_hyperparams_unipois (alpha0=2, beta0=0.2)
[Package AntMAN version 1.1.0 Index]