Java calculate confidence interval
问题 I'm looking for some method that takes or does not take parameters for calculate confidence interval. I don't want the apache methods, just a simple method or som type of code that does this. 回答1: here is you go this is the code calculate Confidence Interval /** * * @author alaaabuzaghleh */ public class TestCI { public static void main(String[] args) { int maximumNumber = 100000; int num = 0; double[] data = new double[maximumNumber]; // first pass: read in data, compute sample mean double