Package util.regression
Class RegressionCalculator
- java.lang.Object
-
- util.regression.RegressionCalculator
-
public class RegressionCalculator extends Object
RegressCalculator performs calculations for regressions- Version:
- Mon Jul 15 07:34:20 PDT 2002
- Author:
- Charles S. Stanton
-
-
Constructor Summary
Constructors Constructor Description RegressionCalculator(double[] aX, double[] aY)constructor for regression calculator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPoint(double xValue, double yValue)intgetDataLength()double[]getDataX()double[]getDataY()doublegetIntercept()doublegetMaxAbsoluteResidual()doublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()doublegetMSE()doublegetPearsonR()double[][]getResiduals()doublegetSlope()doublegetSSE()doublegetSSR()doublegetSumXSquared()doublegetSxx()doublegetSyy()doublegetXBar()doublegetYBar()voidreset()reset data to 0
-
-
-
Method Detail
-
reset
public void reset()
reset data to 0
-
getIntercept
public double getIntercept()
-
getSlope
public double getSlope()
-
getResiduals
public double[][] getResiduals()
-
getDataX
public double[] getDataX()
-
getDataY
public double[] getDataY()
-
addPoint
public void addPoint(double xValue, double yValue)
-
getMinX
public double getMinX()
-
getMaxX
public double getMaxX()
-
getMinY
public double getMinY()
-
getMaxY
public double getMaxY()
-
getMaxAbsoluteResidual
public double getMaxAbsoluteResidual()
-
getSxx
public double getSxx()
-
getSyy
public double getSyy()
-
getSSR
public double getSSR()
-
getSSE
public double getSSE()
-
getMSE
public double getMSE()
-
getXBar
public double getXBar()
-
getYBar
public double getYBar()
-
getDataLength
public int getDataLength()
-
getPearsonR
public double getPearsonR()
-
getSumXSquared
public double getSumXSquared()
-
-