Confidence Interval in utils.metrics_utils.py breaks
tom-flamelit opened this issue · 1 comments
tom-flamelit commented
Line number of issue:
SparseSC/src/SparseSC/utils/metrics_utils.py
Line 235 in 3c0f193
Current situation:
N0 = 107, N1 = 305
results in a very large alpha_ind
value in line 295. This exceeds the value of 0.5*(n_pl-1)
in resulting in line 302 for outside_avg_effect
being outside of bounds.
The major issue is the calculation of p2min = 2/n_pl
bquistorff commented
Thanks for finding this issue! I've fixed it in acd2ad1.