es.unex.sextante.libMath.regression
Class Regression
java.lang.Object
es.unex.sextante.libMath.regression.Regression
public class Regression
- extends java.lang.Object
Simple regression class
- Author:
- volaya
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGRESSION_Best_Fit
public static final int REGRESSION_Best_Fit
- See Also:
- Constant Field Values
REGRESSION_Linear
public static final int REGRESSION_Linear
- See Also:
- Constant Field Values
REGRESSION_Rez_X
public static final int REGRESSION_Rez_X
- See Also:
- Constant Field Values
REGRESSION_Rez_Y
public static final int REGRESSION_Rez_Y
- See Also:
- Constant Field Values
REGRESSION_Pow
public static final int REGRESSION_Pow
- See Also:
- Constant Field Values
REGRESSION_Exp
public static final int REGRESSION_Exp
- See Also:
- Constant Field Values
REGRESSION_Log
public static final int REGRESSION_Log
- See Also:
- Constant Field Values
Regression
public Regression()
addValue
public void addValue(double dX,
double dY)
calculate
public boolean calculate()
calculate
public boolean calculate(double[] x,
double[] y)
calculate
public boolean calculate(int iRegressionType)
getCoeff
public double getCoeff()
getConstant
public double getConstant()
getExpression
public java.lang.String getExpression()
getR
public double getR()
getR2
public double getR2()
getRestrictedSample
public void getRestrictedSample(double[] x,
double[] y,
int nPoints)
getX
public double getX(double y)
getXMax
public double getXMax()
getXMin
public double getXMin()
getXVar
public double getXVar()
getY
public double getY(double x)
getYMax
public double getYMax()
getYMin
public double getYMin()
getYVar
public double getYVar()