Stat dist
-
- Junior Member
- Posts: 3
- Joined: Mon Jul 21, 2008 4:07 pm
Stat dist
Is Lognormal distribution available in Vensim?
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
I assume you mean with random functions. Just use exp(RANDOM NORMAL(nmean,nstdv,0)). I think, though it is worth double checking, that the mean for this will be
mean of log normal = exp(nmean + nstdv^2/2)
and the variance will be
variance of log normal = exp(2*(nmean + nstdv^2)) - exp(2*stdv + nstdv^2)
Hope that helps.
mean of log normal = exp(nmean + nstdv^2/2)
and the variance will be
variance of log normal = exp(2*(nmean + nstdv^2)) - exp(2*stdv + nstdv^2)
Hope that helps.
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm