TheEconomist / covid-19-the-economist-global-excess-deaths-model

The Economist's model to estimate excess deaths to the covid-19 pandemic
https://www.economist.com/graphic-detail/coronavirus-excess-deaths-estimates
MIT License
459 stars 83 forks source link

Temporal recency as covariate? #12

Closed sondreus closed 2 years ago

sondreus commented 2 years ago

Very recent country-days are less probable to have full covariate sets. One way to model this explicitly would be a temporal recency variable, which took the value observation date - Sys.Date().

Relatedly, next model fit should possible use a covariate set at least as old as the most recent target data, to account for the same pattern. In concert, these could help stabilize very recent predictions.

sondreus commented 2 years ago

Now added in development fork