You are here

public function PHPExcel_Best_Fit::getStdevOfResiduals in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php \PHPExcel_Best_Fit::getStdevOfResiduals()

* Return the standard deviation of the residuals for this regression * *

Parameters

int $dp Number of places of decimal precision to return: * @return float

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php, line 253

Class

PHPExcel_Best_Fit
PHPExcel_Best_Fit

Code

public function getStdevOfResiduals($dp = 0) {
  if ($dp != 0) {
    return round($this->_stdevOfResiduals, $dp);
  }
  return $this->_stdevOfResiduals;
}