Displaying 1 result from an estimated 1 matches for "mlgamma".
Did you mean:
lgamma
2008 Jun 14
1
SLLN for loggamma fails for 2 order moments
Hi.
I was trying to calculate 2. order moment for a loggamma sample.
Also, I checked it with the function mlgamma from the package actuar, which
calculates moments based on loggamma parameters.
Se below - I get big deviations. Numerical integration suggests that mlgamma
gets it right. What fails
in my attempt to use SLLN to estimate the 2. order moments?
Code:
sum(rlgamma(10^6,25,2.6)^2)/10^6 #Estimation by...