public function testCDF($x, $μ, $s, $cdf) { $p = Logistic::CDF($x, $μ, $s); $this->assertEquals($cdf, $p, '', 0.001); $this->assertEquals($x, Logistic::inverse($p, $μ, $s), '', 0.001); }