markjrieke / 2024-potus

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

Remove need for running in prior mode pre-5/7 #10

Closed markjrieke closed 4 months ago

markjrieke commented 4 months ago

Part of 2.0, but currently the model runs in prior mode from 5/1 -> 5/7. This is just because the fixed effect variables only have one factor for a bit (e.g., only LV polls). The solution is to change the fixed effect variables to not have variable lengths & just map the ids in directly.

markjrieke commented 4 months ago

For example:

& g_ref = 1.

And

& c_ref = 3

markjrieke commented 4 months ago

Fixed group // candidate sponsored issue, but still requires at least one observation, so prior mode is set on 5/1 & 5/2. This is fine