public function testCentralMoment(array $X, $n, $moment) { $this->assertEquals($moment, RandomVariable::centralMoment($X, $n), '', 0.0001); }