Open mxcai opened 4 years ago
@mxcai maybe this is related to issue #139 ?
Also, do you know why on the same line the code divides by sqrt(N), it's no longer a z-score in that case (unless this adjustment is taken into account later at some stage).
There is a bug on computing z-scores from p-value: In sum_stats_parsers.py, line 182, it computes the lower tail of the normal distribution, which leads to reverse sign of Z-scores. Either adding a negative sign or the replace the ppf(pval_read / 2.0) by (1-ppf(pval_read / 2.0)) can solve the problem