Skip to content

Conversation

@kathsherratt
Copy link
Contributor

see #102 and #123
Replacing location x time term with more specific term specifying a random effect for each dominant variant phase (identified for each location / week).

  • prep-data.R : sources variant data from ECDC. Identifies dominant variant phase as the first week a variant became dominant in each country.
    • see variant-plot.Rmd for step by step code / visualisation of variant phase identification
  • model-wis.R : replaces s(time, by = location, k = 40) with s(VariantPhase, bs = "re")
  • model run (now reliably faster) and saved
  • minor update to model plotting to plot effects of variant phase
  • previous model and results archived

@kathsherratt kathsherratt mentioned this pull request Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants