• + 1 comment

    This is expecting the standard deviation as an integer and fails on floats. Seriously? Also there's a bunch of different formulations for the confidence interval, mostly based on if you use n or n-1 for the standard error. It's very painful to figure out which one to use here.