[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Shared/trend/ -> bestFitClass.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 432 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Best_Fit:: (23 methods):
  getError()
  getBestFitType()
  getValueOfYForX()
  getValueOfXForY()
  getXValues()
  getEquation()
  getSlope()
  getSlopeSE()
  getIntersect()
  getIntersectSE()
  getGoodnessOfFit()
  getGoodnessOfFitPercent()
  getStdevOfResiduals()
  getSSRegression()
  getSSResiduals()
  getDFResiduals()
  getF()
  getCovariance()
  getCorrelation()
  getYBestFitValues()
  _calculateGoodnessOfFit()
  _leastSquareFit()
  __construct()


Class: PHPExcel_Best_Fit  - X-Ref

PHPExcel_Best_Fit

getError()   X-Ref
No description

getBestFitType()   X-Ref
No description

getValueOfYForX($xValue)   X-Ref
Return the Y-Value for a specified value of X

param: float        $xValue            X-Value
return: float                        Y-Value

getValueOfXForY($yValue)   X-Ref
Return the X-Value for a specified value of Y

param: float        $yValue            Y-Value
return: float                        X-Value

getXValues()   X-Ref
Return the original set of X-Values

return: float[]                X-Values

getEquation($dp=0)   X-Ref
Return the Equation of the best-fit line

param: int        $dp        Number of places of decimal precision to display
return: string

getSlope($dp=0)   X-Ref
Return the Slope of the line

param: int        $dp        Number of places of decimal precision to display
return: string

getSlopeSE($dp=0)   X-Ref
Return the standard error of the Slope

param: int        $dp        Number of places of decimal precision to display
return: string

getIntersect($dp=0)   X-Ref
Return the Value of X where it intersects Y = 0

param: int        $dp        Number of places of decimal precision to display
return: string

getIntersectSE($dp=0)   X-Ref
Return the standard error of the Intersect

param: int        $dp        Number of places of decimal precision to display
return: string

getGoodnessOfFit($dp=0)   X-Ref
Return the goodness of fit for this regression

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

getGoodnessOfFitPercent($dp=0)   X-Ref
No description

getStdevOfResiduals($dp=0)   X-Ref
Return the standard deviation of the residuals for this regression

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

getSSRegression($dp=0)   X-Ref
No description

getSSResiduals($dp=0)   X-Ref
No description

getDFResiduals($dp=0)   X-Ref
No description

getF($dp=0)   X-Ref
No description

getCovariance($dp=0)   X-Ref
No description

getCorrelation($dp=0)   X-Ref
No description

getYBestFitValues()   X-Ref
No description

_calculateGoodnessOfFit($sumX,$sumY,$sumX2,$sumY2,$sumXY,$meanX,$meanY, $const)   X-Ref
No description

_leastSquareFit($yValues, $xValues, $const)   X-Ref
No description

__construct($yValues, $xValues=array()   X-Ref
Define the regression

param: float[]        $yValues    The set of Y-values for this regression
param: float[]        $xValues    The set of X-values for this regression
param: boolean        $const



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1