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

Add defaults to final_size() #192

Merged
merged 4 commits into from
Feb 6, 2024
Merged

Add defaults to final_size() #192

merged 4 commits into from
Feb 6, 2024

Conversation

pratikunterwegs
Copy link
Collaborator

This PR fixes #180 by providing default values for all population parameters in final_size().

This allows final size calculation given only the epidemic $R_0$, assuming a homogeneously mixing population with full susceptibility, e.g.:

final_size(1.3)

Copy link
Member

@adamkucharski adamkucharski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for adding. Handy to have this direct route to calculation for homogeneous population.

@pratikunterwegs pratikunterwegs merged commit 2bdc428 into main Feb 6, 2024
10 checks passed
@pratikunterwegs pratikunterwegs deleted the dev/easy-estimate branch February 6, 2024 09:29
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.

Easy route to homogenous estimate
3 participants