vec_math
Class GeneralLinearRegression.StraightLine

java.lang.Object
  extended by vec_math.GeneralLinearRegression.StraightLine
Enclosing class:
GeneralLinearRegression

public static class GeneralLinearRegression.StraightLine
extends Object

We fit data to a straight line. The data is read from an x/y ascii-file.


Constructor Summary
GeneralLinearRegression.StraightLine()
           
 
Method Summary
static void main(String[] arg)
          First command line argument is the data file, second the x values, third the y values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralLinearRegression.StraightLine

public GeneralLinearRegression.StraightLine()
Method Detail

main

public static void main(String[] arg)
First command line argument is the data file, second the x values, third the y values. If A fourth argument exists, it is the errors in y.