Java Statistical Classes

jsc.curvefitting
Interface StraightLineFit

All Known Implementing Classes:
LineFit, LineFitThruOrigin, LpNormFit, PearsonCorrelation

public interface StraightLineFit

Defines the interface for a fitted straight line.

There are many methods for fitting a straight line of the form y = A + Bx to n paired observations (x,y). This defines the common interface for classes that fit such lines.

Version:
1.0
Author:
A. J. Bertie.

Method Summary
 double getA()
          Returns estimate of intercept term, A.
 double getB()
          Returns estimate of slope term, B.
 

Method Detail

getA

public double getA()
Returns estimate of intercept term, A.

Returns:
the estimate of A.

getB

public double getB()
Returns estimate of slope term, B.

Returns:
the estimate of B.

Java Statistical Classes

Copyright © Andrew James Bertie, 2005, all rights reserved. Updated 12th Aug 2005