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

Re-parameterise contact interval as infectious period? #61

Closed
joshwlambert opened this issue Feb 5, 2024 · 1 comment
Closed

Re-parameterise contact interval as infectious period? #61

joshwlambert opened this issue Feb 5, 2024 · 1 comment
Assignees
Milestone

Comments

@joshwlambert
Copy link
Member

I stumbled a bit on 'contact interval' (initially thought it was duration of contact for a specific contact). But then realised it's the temporal gap between contacts?

I think perhaps a more intuitive parameterisation would be to define an infectious period for the case, then distribute the times of infections among their contacts according to this distribution (like the implementation here), rather than relative to the time of interaction with the last contact (which I how I understand current approach works)?

Originally posted by @adamkucharski in #60 (comment)

@joshwlambert joshwlambert added the question Further information is requested label Feb 5, 2024
@joshwlambert joshwlambert added discussion and removed question Further information is requested labels Feb 6, 2024
@joshwlambert joshwlambert added this to the v0.3.0 milestone Mar 11, 2024
@joshwlambert joshwlambert self-assigned this Mar 21, 2024
@joshwlambert
Copy link
Member Author

Implementing this now. One note, the contacts that are not infected are still sampled as being contacts within the infectious period. I will document this in the package so users are aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant