Standardized Pearson residuals
On Mar 15, 2011, at 14:22 , Jari Oksanen wrote:
On 15/03/11 13:17 PM, "peter dalgaard" <pdalgd at gmail.com> wrote:
On Mar 15, 2011, at 04:40 , Brett Presnell wrote:
Background: I'm currently teaching an undergrad/grad-service course from Agresti's "Introduction to Categorical Data Analysis (2nd edn)" and deviance residuals are not used in the text. For now I'll just provide the students with a simple function to use, but I prefer to use R's native capabilities whenever possible.
Incidentally, chisq.test will have a stdres component in 2.13.0 for much the same reason.
Thank you. That's one more thing I won't have to provide code for anymore. Coincidentally, Agresti mentioned this to me a week or two ago as something that he felt was missing, so that's at least two people who will be happy to see this added.
And of course, I was teaching a course based on Agresti & Franklin: "Statistics, The Art and Science of Learning from Data", when I realized that R was missing standardized residuals.
So nobody uses McCullagh & Nelder: "Generalized Linear Models" in teaching, since they don't realize that R is missing Anscombe residuals, too? Cheers, Jari Oksanen
Well, if you can read the book, you can probably write the code... The other books are for beginners who may need the convenience (and persuasion power) of standard software.
Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com