markjrieke / 2024-potus

repo for constructing a 2024 presidential election forecast
MIT License
45 stars 6 forks source link

Updating w/new polling info only #13

Open markjrieke opened 2 months ago

markjrieke commented 2 months ago

Rerunning the model in its entirety is computationally expensive. A better method would be to save parameter outputs on day $d$, then pass them in as priors on day $d+1$.

This would require some thinking around:

There's a huge upside in runtime efficiency, but given that we're in the thick of the campaign right now, I shouldn't really dig into this until the next cycle.

markjrieke commented 2 months ago

Ah --- this also only works when the priors don't move due to external information. E.g., forecasted incumbent net approval will become more certain & will shift throughout the cycle. I wonder if there's a way to remove information from a model? (E.g., given a posterior, can we "remove" a prior?)

Edit: is this as simple as subtracting from the log prob ???