Gaussian model GLM summary(model)$dispersion

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Gaussian model GLM summary(model)$dispersion


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)


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

Your help is much appreciated.