Homework #6 STAT 505 Fall 2011

Due date: October 14, 2011
  1. Exercise 5.3 p 105 sketch the curve in R and mark the two points.
  2. Exercise 5.9 p 106-7 arsenic data (text format)
  3. Exercise 5.10 p 107
  4. Exercise 5.11 p 107 Stata format data use read.dta in library(foreign)
    The income variable has changed from the one shown in the book, and the response of interest is presvote_2party, not vote (did you vote or not?). My numbers are very similar to the book's output -- certainly the coefficient on black in 1964 has huge standard error.
    Demonstrate that there is a problem and use one of the approaches on page 104 to show that it can be worked around.
    BTW, one person had trouble getting the data into Rstudio. Anyone else? When he read it off a memory stick (from my computer) it worked OK, but read.dta("webaddress.dta") failed as did read.dta(file.choose()) when he saved the file through use of IE.


    Author: Jim Robison-Cox
    Last Updated: