Example #1
0
 /**
  * Returns the moments of the distribution
  * 
  * @param string $moments Which moments to compute. m for mean, v for variance, s for skew, k for kurtosis.  Default 'mv'
  * @return type array A dictionary containing the first four moments of the distribution
  */
 public function stats($moments = 'mv')
 {
     return $this->calculator->getStats($moments, $this->k, $this->theta);
 }