Skip to content

pollsposition/models

Repository files navigation

Forecasting French elections with Bayesian Statistics

Electoral forecasting models for the PollsPosition project

Beyond electoral forecasting, this repository represents a sandbox that I use to learn and experiment with new statistical methods on real data. All models are open-sourced and built with PyMC3 and ArviZ. Notice a bug or have a suggestion? It goes without saying that issue tickets and pull requests are always welcome 🤩

I am currently migrating the old website to a new infrastructure. This is still in the making, but going forward the idea is that each model we develop will have its own interactive dashboard (ideally all hosted at the same place, but that's not guaranteed) and its own tutorial notebooks (which are all gathered in a readable format here)

  • The most recent model we worked on is a Gaussian Process regression to predict how French president's popularity evolves with time.

  • In 2020, I experimented with a hierarchical multinomial model to forecast Paris city-council elections. You can vizualize the plots and results in an interactive Voilà web app by clicking this button Binder. Lots of amazing things -- coded by awesome people -- are happening under the hood when you click this button, so there may sometimes be some latency. But I think it will be worth your 10-second wait 🥳

  • You like videos? Well, who doesn't? I'm happy to say it's your lucky day: I just gave a talk at PyMCon 2020, going through and explaining this exact model. So, sit down in your long chair, get the 🍿, and enjoy the ride 🎬

You are free to use the models and data uploaded here -- just make sure you properly cite and link to this repository. Feel free to reach out for any question, comment or contribution.

Best Bayesian wishes 🖖

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy