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 conversion for median and dispersion of lognormal distribution to parameters #378

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

joshwlambert
Copy link
Member

This PR adds a new summary statistic conversion calculation to .convert_summary_stats_lnorm() which is called by the convert_summary_stats_to_params() function. The conversion is from median and dispersion to the lognormal parameters (meanlog and sdlog).

This conversion is useful for papers that report in median and dispersion, such as Lessler et al. (2009).

@joshwlambert joshwlambert merged commit 0777ae4 into main Sep 23, 2024
7 checks passed
@joshwlambert joshwlambert deleted the lnorm_disp_convert branch September 23, 2024 08:59
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.

1 participant