title: Calculating t-inverse in apache commons
body: <p>I need to calculate a t statistic for a java app. I'm using the Apache Commons library but can't find the implementation I need. I can get it in Excel with the TINV command, 1-the confidence level, and the sample count-1. For example, with the values 10, 24, and 19; and a 90% confidence level, I get a t-statistic of 2.9199... That's the number I need to reproduce in java.</p>
  
  <p>Any ideas?</p>