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

Quartile int #288

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Quartile int #288

merged 2 commits into from
Oct 23, 2023

Conversation

aloctavodia
Copy link
Contributor

Adds interactive quartile method, similar to roulette.

Users pass values for the quartiles and the function will return the closet 1D distribution to that input. Users can select one or more distributions from a menu by clicking or passing a list of strings when calling the function. Optionally users can parameterize distributions, this is useful for example to set nu for StudentT or boundaries for distributions such as TruncatedNormal and BetaScaled.

Figure 1

@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2023

Codecov Report

Merging #288 (c1f4941) into main (e4e0c17) will decrease coverage by 1.44%.
The diff coverage is 32.23%.

@@            Coverage Diff             @@
##             main     #288      +/-   ##
==========================================
- Coverage   82.91%   81.48%   -1.44%     
==========================================
  Files          29       31       +2     
  Lines        3787     3894     +107     
==========================================
+ Hits         3140     3173      +33     
- Misses        647      721      +74     
Files Coverage Δ
preliz/internal/distribution_helper.py 98.52% <100.00%> (+0.38%) ⬆️
preliz/tests/test_distributions_helper.py 100.00% <100.00%> (ø)
preliz/unidimensional/__init__.py 100.00% <100.00%> (ø)
preliz/unidimensional/roulette.py 76.00% <100.00%> (+3.16%) ⬆️
preliz/internal/plot_helper.py 71.16% <33.33%> (-1.45%) ⬇️
preliz/internal/optimization.py 92.50% <6.25%> (-7.50%) ⬇️
preliz/unidimensional/quartile_int.py 15.71% <15.71%> (ø)

@aloctavodia aloctavodia merged commit e30b903 into arviz-devs:main Oct 23, 2023
4 checks passed
@aloctavodia aloctavodia deleted the quartile_int branch October 23, 2023 13:58
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.

None yet

2 participants