On Tuesday 10 June 2003 17:31, Masayoshi Hayashi wrote:
I am learning glm function, but how do you fit data using exponential
distribution with glm?
The Gamma family is parametrised in glm() by two parameters:
mean and dispersion; the "dispersion" regulates the shape.
So
An exponential distribution is a gamma distribution, and as far as fitting
the MLE of the coefficients all gammas give the same MLEs. (You can
specify the dispersion and hence that the gamma is exponential when asking
for summaries, anova, etc.)
On Wed, 11 Jun 2003, Masayoshi Hayashi wrote:
I