[R] different results with plot.glm vs. plot.glm(which=c(2))

From: Effie Greathouse <effieg_at_gmail.com>
Date: Tue, 11 Nov 2008 16:34:59 -0800


I am running GLM models using the gamma family. For example: model <-glm(y ~ x, family=Gamma(link="identity"))

I am getting different results for the normal Q-Q plot and the Scale-Location plot if I run the diagnostic plots without specifying the plot vs. specifying the plot ... e.g., "plot(model)" gives me a different Normal Q-Q graph than "plot(model, which=c(2))" ... can anyone tell me why that would be? Shouldn't they be the same? I have read the documentation on plot.lm and searched the help archives, but I am still learning GLM's and I'm not very familiar with understanding diagnostic plots for GLM's, so any help would be much appreciated!

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 12 Nov 2008 - 00:38:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 01:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive