Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulated day-of-week effect #90

Closed
Tracked by #4
zsusswein opened this issue Nov 29, 2024 · 0 comments · Fixed by #91
Closed
Tracked by #4

Simulated day-of-week effect #90

zsusswein opened this issue Nov 29, 2024 · 0 comments · Fixed by #91
Labels

Comments

@zsusswein
Copy link
Collaborator

zsusswein commented Nov 29, 2024

Add a simulated day of week effect to the simulated data timeseries.

I'm pushing handling a full data simulator to #42.

@zsusswein zsusswein changed the title Data simulator: day-of-week effect Simulated day-of-week effect Nov 29, 2024
zsusswein added a commit that referenced this issue Nov 29, 2024
The current timeseries doesn't have a day of week effect, which makes it hard to test how the day of week effect implementation is performing.
This modifies the simulated timeseries to add a large-ish day of week reporting effect.

In implementing this change, I converted the timeseries over to using a `data-raw` script for reproducibility.
I moved the original Gostic "Practical considerations" dataset into an RDS object in `data-raw`.
This change makes the dataset tracked and available for re-generation of the package dataset, but doesn't expose it to or ship it with the package.
It's not 100% reproducible because I don't implement the git clone of the "Practical considerations" repo, but I think it gets us a fair but further than before.

I also clean up the package-provided `stochastic_sir_rt` datset.
I rename the `obs_incidence` col to `obs_cases`, add a `obs_cases_no_dow` for testing, and rename `date` to `reference_date` in anticipation of a future `report_date`.

Closes #90
zsusswein added a commit that referenced this issue Dec 2, 2024
The current timeseries doesn't have a day of week effect, which makes it hard to test how the day of week effect implementation is performing.
This modifies the simulated timeseries to add a large-ish day of week reporting effect.

In implementing this change, I converted the timeseries over to using a `data-raw` script for reproducibility.
I moved the original Gostic "Practical considerations" dataset into an RDS object in `data-raw`.
This change makes the dataset tracked and available for re-generation of the package dataset, but doesn't expose it to or ship it with the package.
It's not 100% reproducible because I don't implement the git clone of the "Practical considerations" repo, but I think it gets us a fair but further than before.

I also clean up the package-provided `stochastic_sir_rt` datset.
I rename the `obs_incidence` col to `obs_cases`, add a `obs_cases_no_dow` for testing, and rename `date` to `reference_date` in anticipation of a future `report_date`.

Closes #90
zsusswein added a commit that referenced this issue Dec 2, 2024
The current timeseries doesn't have a day of week effect, which makes it hard to test how the day of week effect implementation is performing.
This modifies the simulated timeseries to add a large-ish day of week reporting effect.

In implementing this change, I converted the timeseries over to using a `data-raw` script for reproducibility.
I moved the original Gostic "Practical considerations" dataset into an RDS object in `data-raw`.
This change makes the dataset tracked and available for re-generation of the package dataset, but doesn't expose it to or ship it with the package.
It's not 100% reproducible because I don't implement the git clone of the "Practical considerations" repo, but I think it gets us a fair but further than before.

I also clean up the package-provided `stochastic_sir_rt` datset.
I rename the `obs_incidence` col to `obs_cases`, add a `obs_cases_no_dow` for testing, and rename `date` to `reference_date` in anticipation of a future `report_date`.

Closes #90
@seabbs seabbs closed this as completed in #91 Dec 2, 2024
@seabbs seabbs closed this as completed in 5d7f019 Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant