Calculating dispersion in glm
On Fri, 23 Aug 2002, David Mackie wrote:
Hi all, How is dispersion calculated within the glm function in R ?
It isn't. It's calculated within the summary.glm function (or supplied by the user). as sum(object$weights * object$residuals^2)/df.r which works out to be equal to the mean square of the Pearson residuals. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._