library(tidyverse)
election <- Sleuth2::ex0825Case Study 1
Data Problem 8.25 in The Statistical Sleuth, 2nd Edition
Setup
The US presidential election of November 7, 2000 was one of the closest in history. As returns were counted on election night it became clear that the outcome in the state of Florida would determine the next president. At one point in the evening, television networks projected that the state was carried by the Democratic nominee, Al Gore, but a retraction of the projection followed a few hours later. Then, early in the morning of November 8, the networks projected that the Republican nominee, George W. Bush, had carried Florida and won the presidency. Gore called Bush to concede. While on route to his concession speech, though, the Florida count changed rapidly in his favor. The networks once again reversed their projection, and Gore called Bush to retract his concession. When the roughly 6 million Florida votes had been counted, Bush was shown to be leading by only 1,738 votes, and the narrow margin triggered an automatic recount. The recount, completed in the evening of November 9, showed Bush’s lead to be fewer than 400 votes.
Meanwhile, Democratic voters in Palm Beach County complained that a confusing “butterfly” lay-out ballot caused them to accidentally vote for the Reform Party candidate Pat Buchanan instead of Gore. The ballot, as shown below, listed presidential candidates on both a left-hand and right-hand page. Voters were to register their vote by punching the circle corresponding to their choice, from the column of circles between the pages. It was suspected that since Bush’s name was listed first on the left-hand page, Bush voters likely selected the first circle. Since Gore’s name was listed second on the left-hand side, many voters—who already knew who they wished to vote for—did not bother examining the right-hand side and consequently selected the second circle in the column; the one actually corresponding to Buchanan. Two pieces of evidence supported this claim: Buchanan had an unusually high percentage of the vote in that county, and an unusually large number of ballots (19,000) were discarded because voters had marked two circles (possibly by inadvertently voting for Buchanan and then trying to correct the mistake by then voting for Gore).
![]()
The table below shows the first few rows of a data set containing the numbers of votes for Buchanan and Bush in all 67 counties in Florida, followed by a scatterplot of all 67 data points.
head(election, 5) |>
knitr::kable()| County | Buchanan2000 | Bush2000 |
|---|---|---|
| Alachua | 262 | 34062 |
| Baker | 73 | 5610 |
| Bay | 248 | 38637 |
| Bradford | 65 | 5413 |
| Brevard | 570 | 115185 |
election |>
ggplot(aes(x = Bush2000, y = Buchanan2000)) +
geom_point(size = 2) +
scale_x_continuous(labels = scales::label_comma()) +
xlab("Number of Votes for Bush") +
ylab("Number of Votes for Buchanan") +
geom_label(aes(label = ifelse(Buchanan2000 > 3000, "Palm Beach County", NA)), hjust = -0.1, vjust = 0)
Task
Analyze the data (without the Palm Beach County results) to obtain an equation for predicting Buchanan votes from Bush votes. Obtain a 95% prediction interval for the number of predicted Buchanan votes in Palm Beach County using this fitted model, i.e., assuming the relationship between Bush votes and Buchanan votes was the same in Palm Beach as it was in the other Florida counties. Finally, if you assume that some of the votes cast for Buchanan in Palm Beach were actually intended to be votes for Gore, what does this prediction interval suggest about how many of these mis-cast votes there were? Provide an estimate for the likely number of votes intended for Gore but cast for Buchanan in Palm Beach County. (Consider transformations.)
To access the dataset for this case study, you will need to run the following lines in R; they are also included in the template file on Moodle.
# Reading in and saving the data
election <- Sleuth2::ex0825
# Creating a second dataset with Palm Beach County excluded
election_wo_pb <- election |>
filter(County != "Palm Beach")