Learn R Programming

kDGLM (version 1.2.0)

convert_Normal_Poisson: 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)

Value

The parameters of the Normal distribution of the linear predictor.

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.

See Also

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