Small suggestion: in the stats.fdr function, add a check that the input array is between 0 and 1. (Inspired by the bug on the naturalistic-data site, where we were accidentally correcting r-values instead of p-values -- a check like this would catch that.)
Small suggestion: in the
stats.fdr
function, add a check that the input array is between 0 and 1. (Inspired by the bug on the naturalistic-data site, where we were accidentally correcting r-values instead of p-values -- a check like this would catch that.)