Is there a closed-form formula for the following KL divergence?
$D_{KL}(X,Y)$
where
$X \sim \mathrm{Gamma}(k,\theta)$
and
$Y \sim \mathrm{LogNormal}(\mu,\sigma^2)$
Is there a closed-form formula for the following KL divergence?
$D_{KL}(X,Y)$
where
$X \sim \mathrm{Gamma}(k,\theta)$
and
$Y \sim \mathrm{LogNormal}(\mu,\sigma^2)$
Given: Let our $\text{Gamma}(k,\theta)$ random variable have pdf $f(x)$:
and let our $\text{Lognormal}(\mu, \sigma)$ random variable have pdf $g(x)$:
Then, the Kullback-Leibler divergence between the true distribution $f$ and the Lognormal approximation $g$ is given by:
$$E_f\big[\log f(x)\big] - E_f\big[\log g(x)\big]$$
The first term $E_f\big[\log f(x)\big]$ is:
and the second term $E_f\big[\log g(x)\big]$ is:
The solution is $P-Q$.
Notes:
Expect
function is from the mathStatica package for Mathematica.PolyGamma[n,z]
denotes the $n^{th}$ derivative of the digamma function $\psi(z)=\frac{\Gamma'(z)}{\Gamma(z)}$