PHPExcel_Best_Fit
category | PHPExcel |
---|---|
package | PHPExcel_Shared_Trend |
copyright | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
__construct(float[] $yValues, float[] $xValues, boolean $const)
float[]
The set of Y-values for this regression
float[]
The set of X-values for this regression
boolean
getBestFitType()
getCorrelation($dp)
getCovariance($dp)
getDFResiduals($dp)
getEquation(int $dp) : string
int
Number of places of decimal precision to display
string
getError()
getF($dp)
getGoodnessOfFit(int $dp) : float
int
Number of places of decimal precision to return
float
getGoodnessOfFitPercent($dp)
getIntersect(int $dp) : string
int
Number of places of decimal precision to display
string
getIntersectSE(int $dp) : string
int
Number of places of decimal precision to display
string
getSSRegression($dp)
getSSResiduals($dp)
getSlope(int $dp) : string
int
Number of places of decimal precision to display
string
getSlopeSE(int $dp) : string
int
Number of places of decimal precision to display
string
getStdevOfResiduals(int $dp) : float
int
Number of places of decimal precision to return
float
getValueOfXForY(float $yValue) : float
float
Y-Value
float
X-ValuegetValueOfYForX(float $xValue) : float
float
X-Value
float
Y-ValuegetXValues() : float[]
float[]
X-ValuesgetYBestFitValues()
_calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)
_leastSquareFit($yValues, $xValues, $const)
$_DFResiduals
$_F
$_SSRegression
$_SSResiduals
$_Xoffset
$_Yoffset
$_adjustToZero : boolean
$_bestFitType : string
$_correlation
$_covariance
$_error : boolean
$_goodnessOfFit
$_intersect
$_intersectSE
$_slope
$_slopeSE
$_stdevOfResiduals
$_valueCount : int
$_xValues : float[]
$_yBestFitValues : float[]
$_yValues : float[]