[R] Gaussian model GLM summary(model)$dispersion

D_Tomas tomasmeca at hotmail.com
Thu Jul 26 12:30:11 CEST 2012


Hi,  

I have some data that is log-normally distributed and I am using a glm, type
Gaussian to fit the logs.

I would like to know the expected values within the context of the lognormal
model. 

I am unsure whether I have to use:

Expected_values= exp(fitted(model)+sqrt(summary(model)$dispersion)/2)

OR 

Expected_values= exp(fitted(model)+summary(model)$dispersion)/2)


Your help is much appreciated.  



--
View this message in context: http://r.789695.n4.nabble.com/Gaussian-model-GLM-summary-model-dispersion-tp4637905.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list