I'm using the R package compositions
for the multivariate lognormal distribution. This is the only package I found that supports it.
However I'm not sure how this package computes the multivariate LN, because when I compare it with mathematica, I get different results.
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)
> [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?