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

Ensemble distribution gbd and vivarium comparisons, XMIN and XMAX #1241

Merged
merged 9 commits into from
Jul 10, 2023

Conversation

alibow
Copy link
Contributor

@alibow alibow commented Jul 5, 2023

No description provided.

@alibow alibow added the meta modeling strategy Docs not related to a single project in particular label Jul 5, 2023
Comment on lines +260 to +261
that can return unexpected results. The python function appears to solve the
distribution algebraically rather than via optimization and therefore does not
Copy link
Contributor

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.

Copy link
Contributor Author

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

@alibow alibow merged commit 63fa429 into main Jul 10, 2023
2 checks passed
@alibow alibow deleted the ensemble_dists branch July 10, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta modeling strategy Docs not related to a single project in particular
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants