From tlumley@u.washington.edu  Fri Jan 18 17:14:54 2002
From: tlumley@u.washington.edu (Thomas Lumley)
Date: Fri, 18 Jan 2002 09:14:54 -0800 (PST)
Subject: [Rd] How do I know if the deviance of a glm fit was fixed?
In-Reply-To: <ldlg4u4kjhdff9g4j1ii2e3ri418t9pgsq@4ax.com>
Message-ID: <Pine.A41.4.44.0201180913240.16914-100000@homer26.u.washington.edu>

On Fri, 18 Jan 2002, Duncan Murdoch wrote:

> I'm writing functions that need to behave differently for
> GLMs like binomial and Poisson with fixed deviance, and those like
> normal or gamma or quasi where the deviance is estimated from the
> data.  Given a glm object, is there a simple way to tell this
> directly, or do I have to look at the name of the family?
>

I assume you  mean dispersion rather than deviance.

You have to look.  This information can be specificied by the user to
summary.glm(), but not to glm() itself. Presumably the reason is that the
fit doesn't depend on the dispersion.


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] How do I know if the deviance of a glm fit was fixed?
Thomas Lumley