Editing Statistics and Statistical Programming (Winter 2017)/R lecture outline: Week 8

From CommunityData

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
** glm(formula, family=binomial("logit"))
** glm(formula, family=binomial("logit"))


two things worth returning to:
two new things:


* graphing residuals against fitted values (not just against different values of x)
* graphing residuals against fitted values (not just against different values of x)
* discussing anova() better. The key thing I didn't talk about is about different types of "sum of squares" which are discussed in depth on [https://afni.nimh.nih.gov/sscc/gangc/SS.html this page hosted by the NIH]. By default, SPSS produces Type III standard errors although these [https://myowelt.blogspot.com/2008/05/obtaining-same-anova-results-in-r-as-in.html very frequently not what you want].
* discussing anova() better. The key thing I didn't talk about is about different types of "sum of squares" which are discussed in depth on [https://afni.nimh.nih.gov/sscc/gangc/SS.html this page hosted by the NIH]. By default, SPSS produces Type III standard errors although these [https://myowelt.blogspot.com/2008/05/obtaining-same-anova-results-in-r-as-in.html very frequently not what you want].
** Getting the same results in R is easy enough though: library(car); Anova(fit, type="III")
** Getting the same results in R is easy enough though: library(car); Anova(fit, type="III")
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)