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

fix: multiply standard error by zscore in calculate_confidence_interval #268

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

ireneisdoomed
Copy link
Contributor

The function that calculated the confidence interval was not taking into account the 95% z score.
This bugfix has no impact on the current data, as this is a function we were not using at the moment.

@codecov-commenter
Copy link

Codecov Report

Merging #268 (4635b99) into main (48c03f9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #268   +/-   ##
=======================================
  Coverage   85.93%   85.93%           
=======================================
  Files          85       85           
  Lines        1919     1920    +1     
=======================================
+ Hits         1649     1650    +1     
  Misses        270      270           
Files Coverage Δ
src/otg/common/utils.py 94.73% <100.00%> (+0.09%) ⬆️

Copy link
Contributor

@DSuveges DSuveges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks.

@DSuveges DSuveges merged commit e5e9f29 into main Nov 22, 2023
@ireneisdoomed ireneisdoomed deleted the il-fix-calculate_confidence_interval branch November 22, 2023 11:10
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.

3 participants