0

I am trying to find a function with the functionality equivalent to inverse beta CDF.

I searched for the function but i could not find anything which can do this task. Is there any library function which can do this? Or is there any way to achieve this?

Karthik
  • 4,950
  • 6
  • 35
  • 65
  • You mean the PHP equivalent of MS Excel's BETAINV function? – Mark Baker Dec 04 '13 at 09:35
  • 1
    you have the (source code)[http://commons.apache.org/proper/commons-math/apidocs/src-html/org/apache/commons/math3/distribution/AbstractRealDistribution.html#line.128] just translate it to PHP :) – pleasedontbelong Dec 04 '13 at 09:45
  • 3
    Then take a look at the implementation in [PHPExcel](https://github.com/PHPOffice/PHPExcel) which is in the [Calculation/Statistics](https://github.com/PHPOffice/PHPExcel/blob/develop/Classes/PHPExcel/Calculation/Statistical.php) file... you might need to tweak it slightly to remove the other functions and PHPExcel-specific elements in the code – Mark Baker Dec 04 '13 at 10:01

0 Answers0