On Fri, 20 Mar 1998, G.Janacek at uea.ac.uk wrote:
> I am new to R so may well have missed the point somewhere. I would like to
> use an exponential error in my generalized linear model. It seems natural
> to restrict the Gamma family to do this ( and as one might in GLIM) by
> specifying the scale. This does not seem possible in R . Have I missed
> something?
> Sorry to raise such a trivial point but I am keen to specify the scale
>
I believe you can do this by specifying the dispersion argument to
summary.glm()
ie
model<-glm(y~x,family=Gamma)
summary(model,dispersion=1)
Thomas Lumley
-----------------------
Biostatistics
Uni of Washington
Box 357232
Seattle WA 98195-7232
------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._