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 uncertainty to estimates #13

Open
endolith opened this issue Jul 10, 2022 · 3 comments
Open

Add uncertainty to estimates #13

endolith opened this issue Jul 10, 2022 · 3 comments

Comments

@endolith
Copy link
Owner Author

Error bars often represent one standard deviation of uncertainty, one standard error, or a particular confidence interval (e.g., a 95% interval). These quantities are not the same and so the measure selected should be stated explicitly in the graph or supporting text.

🤔

@endolith
Copy link
Owner Author

@endolith
Copy link
Owner Author

endolith commented Jul 27, 2022

Figured out how to do 95% confidence intervals and plot error bars for binary tests like Condorcet cycle likelihood and Condorcet efficiency using scipy.stats.binomtest(n_successes, n_trials).proportion_ci():

https://github.com/endolith/elsim/compare/error_bars

Adding confidence intervals for total utility or Social Utility Efficiency, on the other hand, is much less obvious and I've spent far too long trying to figure it out. scipy.stats.bootstrap is probably appropriate, but very slow. Generating more data could provide credible intervals(?) but is also extremely slow. Giving up for now.

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

No branches or pull requests

1 participant