exp-gamma distribution is defined as the density of the random variable log(X) when X is a gamma random variable.
I am trying to obtain its PDF. Unfortunaltely, the only formula I have found is from a link on wikipedia toward Wolfram page for that distribution and their formula is not the same as the one I obtain myself. They say that
"The exp-gamma distribution is mathematically defined to be the distribution that models $Y=log(X)$ whenever X $\sim$ GammaDistribution. "
So I suppose we are considering the same thing.
Here is their formula :
First of all there is a $\mu$ location parameter that is not in the Gamma distribution as presented in Wikipedia. But, Wolfram presents a more general gamma family with two additional parameters that they name GammaDistribution[α,β,γ,μ]. They explain :
GammaDistribution[α,β] (which is equivalent to GammaDistribution[α,β,1,0]) is often referred to as "the" gamma distribution.
So I will take 0 for $\mu$
Now, my calculus is as follows :
$f$ the PDF of $X$ is such that $f(x) = K.x^{k-1}e^{\frac{-x}{\theta}}$
with $Y=ln(X)$ we have $dx=e^ydy$
If $g$ is the PDF of $Y$ We must have $g(y)dy=f(x)dx = f(e^y)e^ydy$
So
$$g(y)=Ke^{-\frac{e^y}{\theta}+ky}$$
which is not the same formula as Wolfram's if you look carefully ...
Any idea ?

By the way the link in your previous comment is very interesting.
– Arnaud Mégret Apr 07 '22 at 17:23