Here
|
mean = 0.7012403 + log(shrink), |
I see a change to the geometric mean. This is fine but if the idea is to change the mean of the distriubtion by some aamount (in the code 0.5) this is not correct as the mean and standard deviation of the lognormal both alter the natural scale mean (so need to use a transform to map vs a simple log addition).
Here
omicronSA/est_rt_ratios.R
Line 48 in 49ef2d6
I see a change to the geometric mean. This is fine but if the idea is to change the mean of the distriubtion by some aamount (in the code 0.5) this is not correct as the mean and standard deviation of the lognormal both alter the natural scale mean (so need to use a transform to map vs a simple log addition).