[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

File Size: 425 lines (12 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

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

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: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1