I need to calculate t-statistics for a java application. I use the Apache Commons library, but cannot find the implementation I need. I can get it in Excel using the TINV command, 1 - confidence level and number of samples-1. For example, with values of 10, 24, and 19; and the confidence level is 90%, I get a t-statistic of 2.9199 ... This is the number I need to reproduce in java.
Any ideas?
source
share