Learn R Programming

AntMAN (version 1.1.0)

AM_mix_hyperparams_unipois: 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 \(\alpha_0\).

beta0

The rate hyperparameter \(\beta_0\).

Value

An AM_mix_hyperparams object. This is a configuration list to be used as mix_kernel_hyperparams argument for AM_mcmc_fit.

Details

Note that by default, alpha0=1 and beta0=1.

Examples

Run this code
# NOT RUN {
AM_mix_hyperparams_unipois (alpha0=2, beta0=0.2)
# }

Run the code above in your browser using DataLab