nextstrain / forecasts-ncov

SARS-CoV-2 variant growth rates and frequency forecasts
https://nextstrain.org/sars-cov-2/forecasts/
7 stars 2 forks source link

Calculate weekly frequencies #58

Closed trvrb closed 1 year ago

trvrb commented 1 year ago

Rather than daily frequencies for raw_freqs use weekly frequencies instead.

With daily raw frequencies we have difficulty seeing patterns due to day-to-day measurement noise:

daily-freqs

While with weekly frequencies, dynamics are much more clear:

weekly-freqs

This is the same argument for why 7-day smoothed cases were clearer to look at than daily cases.

trvrb commented 1 year ago

This PR has been updated to include both daily_raw_freq and weekly_raw_freq.