Displaying 1 result from an estimated 1 matches for "posjy".
Did you mean:
pos_y
2009 Feb 24
2
Syntax in taking log to transfrom the data to fit Gaussian distribution
Hi,
I have a data set (weight) that does not follow the Gaussian (Normal)
distribution. However, I have to transform the data before applying the
Gaussian distribution. I used this syntax and used log(weight) as:
posJy.model<-glm(log(weight) ~ factor(pos),
family=gaussian(link='identity'), subset=Soil=="Jy"). This syntax COULD NOT
transform the data. But if I transform the data before applying the model,
then it works. The syntax is:
weight<-log(weight)
posJy.model<-glm(weight ~ facto...