Package Stats
Class LinFit
java.lang.Object
Stats.LinFit
- Author:
 - Doug Gillespie Simple linear regression. Fitting line y = a + bx Singelton class
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
LinFit
public LinFit(double[] x, double[] y, int nData)  - 
LinFit
public LinFit(double[] x, double[] y, int nData, double[] sig)  
 - 
 - 
Method Details
- 
getA
public double getA()- Returns:
 - the fit intercept
 
 - 
getB
public double getB()- Returns:
 - the fit gradient
 
 - 
getChi2
public double getChi2() - 
getQ
public double getQ() - 
getSiga
public double getSiga() - 
getSigb
public double getSigb() 
 -