PHPExcel_Shared_Best_Fit

# Class: PHPExcel_Linear_Best_Fit Source Location: /PHPExcel/Shared/trend/linearBestFitClass.php
### Class Overview
    PHPExcel_Best_Fit
       |
       --PHPExcel_Linear_Best_Fit
PHPExcel_Linear_Best_Fit #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) | ### Variables $_bestFitType | ### Methods __construct getEquation getValueOfXForY getValueOfYForX _linear_regression
### Inherited Variables #### Class: PHPExcel_Best_Fit PHPExcel_Best_Fit::$_adjustToZero PHPExcel_Best_Fit::$_correlation PHPExcel_Best_Fit::$_covariance PHPExcel_Best_Fit::$_DFResiduals PHPExcel_Best_Fit::$_error PHPExcel_Best_Fit::$_F PHPExcel_Best_Fit::$_goodnessOfFit PHPExcel_Best_Fit::$_intersect PHPExcel_Best_Fit::$_intersectSE PHPExcel_Best_Fit::$_slope PHPExcel_Best_Fit::$_slopeSE PHPExcel_Best_Fit::$_SSRegression PHPExcel_Best_Fit::$_SSResiduals PHPExcel_Best_Fit::$_stdevOfResiduals PHPExcel_Best_Fit::$_valueCount PHPExcel_Best_Fit::$_Xoffset PHPExcel_Best_Fit::$_xValues PHPExcel_Best_Fit::$_yBestFitValues PHPExcel_Best_Fit::$_Yoffset PHPExcel_Best_Fit::$_yValues | ### Inherited Methods #### Class: PHPExcel_Best_Fit PHPExcel_Best_Fit::__construct() PHPExcel_Best_Fit::getBestFitType() PHPExcel_Best_Fit::getCorrelation() PHPExcel_Best_Fit::getCovariance() PHPExcel_Best_Fit::getDFResiduals() PHPExcel_Best_Fit::getEquation() PHPExcel_Best_Fit::getError() PHPExcel_Best_Fit::getF() PHPExcel_Best_Fit::getGoodnessOfFit() PHPExcel_Best_Fit::getGoodnessOfFitPercent() PHPExcel_Best_Fit::getIntersect() PHPExcel_Best_Fit::getIntersectSE() PHPExcel_Best_Fit::getSlope() PHPExcel_Best_Fit::getSlopeSE() PHPExcel_Best_Fit::getSSRegression() PHPExcel_Best_Fit::getSSResiduals() PHPExcel_Best_Fit::getStdevOfResiduals() PHPExcel_Best_Fit::getValueOfXForY() PHPExcel_Best_Fit::getValueOfYForX() PHPExcel_Best_Fit::getXValues() PHPExcel_Best_Fit::getYBestFitValues() PHPExcel_Best_Fit::_calculateGoodnessOfFit() PHPExcel_Best_Fit::_leastSquareFit()
### Class Details [line 47] PHPExcel_Linear_Best_Fit PHPExcel_Linear_Best_Fit #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_bestFitType = 'linear' [line 49] #### Tags:
access: | protected
Type: | mixed
Overrides: | Array
[ Top ] ### Class Methods ### constructor __construct [line 75]
`PHPExcel_Linear_Best_Fit __construct( $yValues, [ $xValues = array()], [ $const = True])`
Overrides PHPExcel_Best_Fit::__construct() (parent method not documented) #### Parameters:
| $yValues |
| $xValues |
| $const |
[ Top ] ### method getEquation [line 62]
`void getEquation( [ $dp = 0])`
#### Tags:
access: | public
Overrides PHPExcel_Best_Fit::getEquation() (parent method not documented) #### Parameters:
| $dp |
[ Top ] ### method getValueOfXForY [line 57]
`void getValueOfXForY( $yValue)`
#### Tags:
access: | public
Overrides PHPExcel_Best_Fit::getValueOfXForY() (parent method not documented) #### Parameters:
| $yValue |
[ Top ] ### method getValueOfYForX [line 52]
`void getValueOfYForX( $xValue)`
#### Tags:
access: | public
Overrides PHPExcel_Best_Fit::getValueOfYForX() (parent method not documented) #### Parameters:
| $xValue |
[ Top ] ### method _linear_regression [line 70]
`void _linear_regression( $yValues, $xValues, $const)`
#### Tags:
access: | private
#### Parameters:
| $yValues |
| $xValues |
| $const |
[ Top ] Documentation generated on Mon, 11 Jan 2010 08:11:52 +0100 by phpDocumentor 1.4.1