From medium.com

Learning Objectives

Case Study Goals

Goals of this case study are (1) to predict the outcome of the presidential election, (2) to predict whether the US Senate remains in Republican control, (3) to predict the electoral college vote, (4) to predict the outcomes of all NC Congressional elections (the 13 federal Representatives to Congress), and (5) to predict the outcome of the NC Senate election, including characterization of uncertainty in predictions.

We will present predictions and corresponding uncertainty quantification weekly. In addition, prizes will be given in a number of categories (e.g., most creative useful data source).

Data

Resources

Video Lectures (See Sakai - these are shorter bytes of what we covered in class)

[Matrix Formulation of the Linear Model]

[Introduction to Multilevel Modeling]

[Some Light Technical Details About Multilevel Models]

[More Details on the Radon Example]

[Deep Dive into R Code]

Slides

Reports

Assessment

In addition to the usual grade, a best prediction winner will be chosen, with all due honor and glory, based on the following algorithm developed by students in STA 340 (decision analysis), shown here for the outcome of the 13 NC congressional races. We’ll include the NC senate race in this algorithm as well.

For a predicted vote share \(p\), truth \(\theta\), and confidence interval \(CI\) with bounds \(p_\min, p_\max\):

\[ \begin{aligned} L(p, \theta) &= 100\cdot|p-\theta| + I\{\theta\notin CI\}\cdot200\min\{|p-p_\min|,|p-p_\max|\} + 10\cdot|p_\max-p_\min|\\& + I\{0.5\notin CI\}\cdot\big(10\cdot I\{wrong\} - 3\cdot I\{right\}\big) \\ S &= -\sum_{i=1}^{13} L(p_i, \theta_i) \end{aligned} \]

Point estimates within the \(CI\) are penalized linearly and outside the \(CI\) are penalized linearly with a higher slope. There is an additional penalty for wide confidence intervals, but only at 1/10th (or less) the cost of missing the point estimate.

The term on the second line of the loss function only comes into play when a confidence interval did not include 0.5. That is, the team was very certain of calling the race for one side or the other. Being very certain and wrong incurs an additional loss. Being very certain and right incurs utility, but with lower magnitude than being wrong. The idea behind this choice is some races should be easy to call and being unambiguously wrong with the confidence interval should hurt more.

Weekly Prediction Update: October 16

  • Estimates for the probability that President Trump wins re-election ranged from 0.004 to 0.49 (median 0.20)
  • Estimates for the probability that the Senate remains under Republican control ranged from 0.093 to 0.746 (median 0.43 )
  • Estimates for Tillis (vs Cunningham) two-party vote share ranged from 39-64% (median 47.5%) with confidence interval widths ranging from 1 to 28
  • 1st Congressional District of NC: 2/6 teams pick Smith
  • 2nd District: 5/6 teams pick Ross
  • 3rd District: 5/6 teams pick Murphy
  • 4th District: 5/6 teams pick Price
  • 5th District: all picked Foxx
  • 6th District: 4/6 teams pick Manning
  • 7th District: all teams pick Rouzer
  • 8th District: all teams pick Hudson
  • 9th District: 3/6 teams pick Bishop
  • 10th District: all teams pick McHenry
  • 11th District: all teams pick Cawthorn
  • 12th District: all teams pick Adams (with varying vote shares – check that ballot!)
  • 13th District: all teams pick Budd

Weekly Prediction Update: October 26

  • Estimates for the probability that President Trump wins re-election ranged from 0.06 to 0.89 (median 0.23)
  • Estimates for the probability that the Senate remains under Republican control ranged from 0.17 to 0.82 (median 0.31 )
  • Estimates for Tillis (vs Cunningham) two-party vote share ranged from 32-48% (median 46.5%)
  • 1st Congressional District of NC: 1/6 teams pick Smith
  • 2nd District: 5/6 teams pick Ross
  • 3rd District: 5/6 teams pick Murphy
  • 4th District: 5/6 teams pick Price
  • 5th District: 5/6 pick Foxx
  • 6th District: 4/6 teams pick Manning
  • 7th District: 5/6 teams pick Rouzer
  • 8th District: 5/6 teams pick Hudson
  • 9th District: 3/6 teams pick Bishop
  • 10th District: 5/6 teams pick McHenry
  • 11th District: 4/6 teams pick Cawthorn
  • 12th District: 5/6 teams pick Adams (with varying vote shares – check that ballot!)
  • 13th District: all teams pick Budd