Specifying a lognormal distribution
Hi Scott, Lognormal refers to a probability distribution of a random variable whose logarithm is normally distributed. Said so, if you log transform your CV, you can apply Gaussian family, or simply lm(). Cheers, Peter On Sat, Mar 26, 2011 at 9:16 AM, Scott Chamberlain
<scttchamberlain4 at gmail.com> wrote:
Dear sigecos, I am trying to analyze an ANOVA model where both predictors are categorical, and the response variable is coefficient of variation. CV fits best a lognormal distribution. Is there a way to specify a lognormal distribution of the response variable? The glm function allows many distributions in the family argument, but not for lognormal. Does anyone know of user defined functions for lognormal perhaps? Thanks, Scott Chamberlain ? ? ? ?[[alternative HTML version deleted]]
_______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology