Two-tailed Java calculation

2

How can I do the two-tailed or unicaudal calculation in Java?

This calculation is done in Excel by the INVT function.

This Excel function is done as follows: =INVT(0,0455; 4,81E+01) which returns the value 2,053 . What was the calculation she used to return me the value 2,053 ?

I did not find anywhere. Here, I would like to know if anyone has ever used any lib in java to calculate this excel function.

    
asked by anonymous 21.12.2017 / 12:33

1 answer

0

The Java framework you need is the one at the link below:

link

Better to implement at hand.

The code will look like this:

   TDistribution  t = new TDistribution(4.81E+1);
   double num = 1.0 - t.inverseCumulativeProbability(0.0455);
   System.err.println(num);

Read the documentation you will understand and get it right. I needed college and the framework helped me.

reference for response:

link

I hope I have helped.

    

21.12.2017 / 18:51