Here’s the code we’ll be using in class. Download it and store it with the rest of your materials for this course. If simply clicking doesn’t trigger download, you should right-click and select “save link as…”
# A tibble: 64,814 × 18
id year age race sex hispaniccat educ partyid relactiv abany
<dbl> <dbl> <dbl> <chr> <chr> <dbl> <dbl> <chr> <dbl> <dbl>
1 1 1972 23 White Female NA 16 Ind,Near Dem NA NA
2 2 1972 70 White Male NA 10 Not Str Demo… NA NA
3 3 1972 48 White Female NA 12 Independent NA NA
4 4 1972 27 White Female NA 17 Not Str Demo… NA NA
5 5 1972 61 White Female NA 12 Strong Democ… NA NA
6 6 1972 26 White Male NA 14 Ind,Near Dem NA NA
7 7 1972 28 White Male NA 13 Ind,Near Dem NA NA
8 8 1972 27 White Male NA 16 Ind,Near Dem NA NA
9 9 1972 21 Black Female NA 12 Strong Democ… NA NA
10 10 1972 30 Black Female NA 12 Strong Democ… NA NA
# ℹ 64,804 more rows
# ℹ 8 more variables: abdefect <dbl>, abnomore <dbl>, abhlth <dbl>,
# abpoor <dbl>, abrape <dbl>, absingle <dbl>, pid <dbl>, hispanic <dbl>
What’s the true population parameter? Pretending dataset is full population: