Is the LogMultinormalDistribution
function really the multivariate lognormal distribution? Because I get different results with the same parameters in R
I want to compute the pdf of the bivariate lognormal distribution $\mathcal{LN}(\bigl(\begin{smallmatrix} 0.5\\ -2 \end{smallmatrix} \bigr), \bigl(\begin{smallmatrix} 0.3&0\\ 0&0.3 \end{smallmatrix} \bigr) $)
at the point $\bigl(\begin{smallmatrix} 1\\ 0.1 \end{smallmatrix} \bigr)$.
in R:
MyVar <- matrix(c(0.3,0,0,0.3),byrow=TRUE,nrow=2)
MyMean <- c(0.5,-2)
dlnorm.rplus(c(1,0.1),meanlog=MyMean,varlog=MyVar) # from package compositions
> [1] 7.525946
In Mathematica:
PDF[LogMultinormalDistribution[{0.5, -2}, {{0.3, 0}, {0, 0.3}}], {1,0.1}]
> 3.00242
what is the deal here?