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

interpret slopes prob argument bug #749

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

GStechschulte
Copy link
Collaborator

Resolves #748. The prob argument in def slopes() was never passed to the get_estimate() method. Thus, get_estimate() was always using a default of 0.94. This PR passes prob correctly to resolve the bug. Note: the comparisons and predictions function works as expected.

@codecov-commenter
Copy link

Codecov Report

Merging #749 (9ca8091) into main (d001e06) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #749   +/-   ##
=======================================
  Coverage   89.79%   89.79%           
=======================================
  Files          43       43           
  Lines        3605     3605           
=======================================
  Hits         3237     3237           
  Misses        368      368           
Files Coverage Δ
bambi/interpret/effects.py 89.70% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@tomicapretto tomicapretto merged commit 602bcc6 into bambinos:main Nov 2, 2023
4 checks passed
@GStechschulte GStechschulte deleted the interpret-probs branch November 17, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

interpret.plot_slopes ignores prob argument and az.rcParams['stats.hdi_prob' : ...]
3 participants