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

Test for bias due to index shifting #108

Closed
pratikunterwegs opened this issue Nov 20, 2023 · 0 comments · Fixed by #104
Closed

Test for bias due to index shifting #108

pratikunterwegs opened this issue Nov 20, 2023 · 0 comments · Fixed by #104

Comments

@pratikunterwegs
Copy link
Collaborator

Can I suggest to add a test that

cfr_time_varying(
  data = df_covid_uk,
  burn_in = 7L
)

yields the same result as

cfr_time_varying(
  data = df_covid_uk,
  delay_density = \(x) ifelse(x == 0, 1, 0), 
  burn_in = 7L
)

to make sure your implementation doesn't introduce any bias due to index shifting?

Originally posted by @sbfnk in #103 (comment)

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 a pull request may close this issue.

1 participant