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 code to choose log normal prior with given mean and stdev #107

Closed
brendan-m-murphy opened this issue Apr 30, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@brendan-m-murphy
Copy link
Contributor

The mu and sigma parameters for pymc's log normal distribution are the not the mean and standard deviation of the log normal. If X is a log normal random variable then log X is a normal random variable, and pymc's mu and sigma are the mean and standard deviation of log X.

There is a fairly simple formula that produces mu and sigma to get a log normal with a given mean and standard deviation. It would be useful to have this incorporated into our code.

@brendan-m-murphy
Copy link
Contributor Author

Closed by PR #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant