xgao28 / election_forecast

1 stars 0 forks source link

2024 US Election Forecast

Overview

This repo aims to build a linear, or generalized linear, model to forecast the winner of the upcoming US presidential election using “poll-of-polls” and write a story from the observations.

File Structure

The repo is structured as:

Data Retrieval

Data about polling outcomes from https://projects.fivethirtyeight.com/polls/president-general/2024/national/. On the page, search for “Download the data”, then select Presidential general election polls (current cycle), then click Download.

Statement on LLM usage

Aspects of the code were written with the help of ChatGPT. The entire chat history is available in inputs/llms/usage.txt.