default
[ class tree: default ] [ index: default ] [ all elements ]

Class: PHPExcel_Best_Fit

Source Location: /PHPExcel/Shared/trend/bestFitClass.php

Class Overview




Variables

Methods


Child classes:

PHPExcel_Exponential_Best_Fit
PHPExcel_Exponential_Best_Fit
PHPExcel_Linear_Best_Fit
PHPExcel_Linear_Best_Fit
PHPExcel_Logarithmic_Best_Fit
PHPExcel_Logarithmic_Best_Fit
PHPExcel_Polynomial_Best_Fit
PHPExcel_Polynomial_Best_Fit
PHPExcel_Power_Best_Fit
PHPExcel_Power_Best_Fit

Class Details

[line 3]


[ Top ]


Class Variables

$_adjustToZero =  False

[line 15]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_bestFitType =  'undetermined'

[line 7]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_correlation =  0

[line 25]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_covariance =  0

[line 23]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_DFResiduals =  0

[line 31]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_error =  False

[line 5]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_F =  0

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_goodnessOfFit =  1

[line 19]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_intersect =  0

[line 39]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_intersectSE =  0

[line 41]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_slope =  0

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_slopeSE =  0

[line 37]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_SSRegression =  0

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_SSResiduals =  0

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_stdevOfResiduals =  0

[line 21]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_valueCount =  0

[line 9]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_Xoffset =  0

[line 43]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_xValues = array()

[line 11]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_yBestFitValues = array()

[line 17]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_Yoffset =  0

[line 45]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_yValues = array()

[line 13]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 266]

PHPExcel_Best_Fit __construct( $yValues, [ $xValues = array()], [ $const = True])



Overridden in child classes as:

PHPExcel_Exponential_Best_Fit::__construct()
PHPExcel_Linear_Best_Fit::__construct()
PHPExcel_Logarithmic_Best_Fit::__construct()
PHPExcel_Polynomial_Best_Fit::__construct()
PHPExcel_Power_Best_Fit::__construct()

Parameters:

   $yValues  
   $xValues  
   $const  

[ Top ]

method getBestFitType [line 53]

void getBestFitType( )



Tags:

access:  public


[ Top ]

method getCorrelation [line 174]

void getCorrelation( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getCovariance [line 166]

void getCovariance( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getDFResiduals [line 150]

void getDFResiduals( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getEquation [line 73]


method getError [line 48]

void getError( )



Tags:

access:  public


[ Top ]

method getF [line 158]

void getF( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getGoodnessOfFit [line 110]

void getGoodnessOfFit( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getGoodnessOfFitPercent [line 118]

void getGoodnessOfFitPercent( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getIntersect [line 94]

void getIntersect( [ $dp = 0])



Tags:

access:  public


Overridden in child classes as:

PHPExcel_Exponential_Best_Fit::getIntersect()
PHPExcel_Power_Best_Fit::getIntersect()

Parameters:

   $dp  

[ Top ]

method getIntersectSE [line 102]

void getIntersectSE( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getSlope [line 78]

void getSlope( [ $dp = 0])



Tags:

access:  public


Overridden in child classes as:

PHPExcel_Exponential_Best_Fit::getSlope()
PHPExcel_Polynomial_Best_Fit::getSlope()

Parameters:

   $dp  

[ Top ]

method getSlopeSE [line 86]

void getSlopeSE( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getSSRegression [line 134]

void getSSRegression( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getSSResiduals [line 142]

void getSSResiduals( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getStdevOfResiduals [line 126]

void getStdevOfResiduals( [ $dp = 0])



Tags:

access:  public


Parameters:

   $dp  

[ Top ]

method getValueOfXForY [line 63]


method getValueOfYForX [line 58]


method getXValues [line 68]

void getXValues( )



Tags:

access:  public


[ Top ]

method getYBestFitValues [line 182]

void getYBestFitValues( )



Tags:

access:  public


[ Top ]

method _calculateGoodnessOfFit [line 187]

void _calculateGoodnessOfFit( $sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)



Tags:

access:  protected


Parameters:

   $sumX  
   $sumY  
   $sumX2  
   $sumY2  
   $sumXY  
   $meanX  
   $meanY  
   $const  

[ Top ]

method _leastSquareFit [line 229]

void _leastSquareFit( $yValues, $xValues, $const)



Tags:

access:  protected


Parameters:

   $yValues  
   $xValues  
   $const  

[ Top ]


Documentation generated on Wed, 22 Apr 2009 08:56:03 +0200 by phpDocumentor 1.4.1