The rlnorm function: rlnorm(20, log(10), log(2.5)) More generally distributions in R are generally available in d,p,q,r forms with those letters coming first followed by the distribution stem: norm lnorm unif gamma etc. Their help pages will contain the specifics of the parameters, which can be essential if working with weibull or other distribution for which conventions are not completely standardized (as it were).
The rlnorm function: rlnorm(20, log(10), log(2.5)) More generally distributions in R are generally available in d,p,q,r forms with those letters coming first followed by the distribution stem: norm, lnorm, unif, gamma, ... etc. Their help pages will contain the specifics of the parameters, which can be essential if working with weibull or other distribution for which conventions are not completely standardized (as it were).
Thank you for your help. I generated some numbers using the above code and when I back calculate the geometric mean (GM) and Geometric standard deviation (GSD), GM is slightly off. I am wondering if this is normal.
Here is the calculation: x describe(log(x)) Mean is 1.99 . GM = exp(1.99)=7.32 SD= .86 and the GSD = 2.36 – user1009166 Nov 9 at 1:19 3 you realize the sample size is 20, right? Try a sample size of 1e8 if you want to test convergence.
– JD Long Nov 9 at 2:06 1 If you want to look at the sampling distribution of log-normals with mean 20 and sd 2.5 then try this simple code: plot(exp( rowMeans( log( matrix(rlnorm(20000, log(20), log(2.5)), ncol=20 )) )) ) – DWin Nov 9 at 2:38.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.