public function testChiSquaredException()
 {
     $this->setExpectedException('MathPHP\\Exception\\BadDataException');
     $df = 88474;
     $p = 0.44;
     ChiSquared::getChiSquareValue($df, $p);
 }
Example #2
0
 public function testMean()
 {
     $k = 5;
     $this->assertEquals($k, ChiSquared::mean($k));
 }