convert_Normal_Poisson {kDGLM}R Documentation

convert_Normal_Poisson

Description

Calculate the parameters of the log-Normal that best approximates the given Gamma distribution. The approximation is the best in the sense that it minimizes the KL divergence from the Gamma to the log-Normal

Usage

convert_Normal_Poisson(conj.param, parms)

Arguments

conj.param

list: A vector containing the parameters of the Gamma (alpha,beta).

parms

list: A list of extra known parameters of the distribution. Not used in this kernel.

Value

The parameters of the Normal distribution of the linear predictor.

See Also

Other auxiliary functions for a Poisson outcome: convert_Poisson_Normal(), poisson_pred(), update_Poisson()


[Package kDGLM version 1.2.0 Index]