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

Added estimating individual-level transmission vignette and poisson compound functions #15

Merged
merged 20 commits into from
May 26, 2023

Conversation

joshwlambert
Copy link
Member

This PR addresses #1 and #4.

It adds four new functions which calculate the density and cumulative distribution functions for the Poisson-lognormal and Poisson-Weibull compound distributions.

It adds a new vignette which outlines estimating the parameters for distribution models to understand whether individual-level transmission shows signatures of overdispersion (or superspreading), and how to use {superspreading} with {fitdistrplus} to compare models, including the Poisson compound distributions now included in the package.

Tests and function documentation have been added and updated in line with the changes above. The references JSON file has been updated to include the new papers cited by the new vignette.

@joshwlambert joshwlambert added documentation Improvements or additions to documentation enhancement New feature or request labels May 24, 2023
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.

Vignette is a nice overview, and great to have walkthrough to compare easily – have just added some minor comments.

vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
vignettes/estimate_individual_level_transmission.Rmd Outdated Show resolved Hide resolved
joshwlambert and others added 7 commits May 26, 2023 11:17
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
Co-authored-by: Adam Kucharski <adam.kucharski@lshtm.ac.uk>
@joshwlambert joshwlambert merged commit eeef8eb into main May 26, 2023
@joshwlambert joshwlambert deleted the fit_dist branch May 26, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants