-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ensemble distribution gbd and vivarium comparisons, XMIN and XMAX #1241
Conversation
docs/source/model_design/general_reference_material/ensemble_distributions/index.rst
Outdated
Show resolved
Hide resolved
docs/source/model_design/general_reference_material/ensemble_distributions/index.rst
Outdated
Show resolved
Hide resolved
that can return unexpected results. The python function appears to solve the | ||
distribution algebraically rather than via optimization and therefore does not |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation of get_params in risk_distribution.py appears to use algebra to compute the mean and variance of an inverse Weibull distribution with given parameters, but it feeds this information into an optimization routine to do the reverse operation, i.e., to find the correct distribution parameters for a given mean and standard deviation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, darn, I see. Maybe it's just that the specific mean/standard deviation I used returned expected results with the python optimization function but not the R optimization function, then. I guess we should run some tests with random mean/sds to see if we get funky behavior with python sometimes too
docs/source/model_design/general_reference_material/ensemble_distributions/index.rst
Outdated
Show resolved
Hide resolved
…istributions/index.rst Co-authored-by: Nathaniel Blair-Stahn <ndbs@uw.edu>
No description provided.