Re: [R] Mean of lognormal in base-2

2009-05-29 Thread Senanu Pearson
I apologize for the poor formatting of my previous post as the line breaks got stripped. I hope this is easier to read. Hi, Does anyone know what the mean value of a lognormal distribution in base-2 is? I am simulating stochastic population growth and if I were working in base-e, I would do:

[R] Mean of lognormal in base-2

2009-05-29 Thread Senanu Pearson
Hi, Does anyone know what the mean value of a lognormal distribution in base-2 is? I am simulating stochastic population growth and if I were working in base-e, I would do:lambda <- 1.1 #multiplicative growth rates <- 0.6 #stochasticity (std. dev)lognormal <- rlnorm(10, log(lambda) - (s^2)/