edu.ucla.stat.SOCR.util
Class RegressionLine

java.lang.Object
  extended by edu.ucla.stat.SOCR.util.RegressionLine

public class RegressionLine
extends java.lang.Object


Constructor Summary
RegressionLine(double[] x, double[] y)
           
 
Method Summary
 double getIntercept()
           
 double getSlope()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegressionLine

public RegressionLine(double[] x,
                      double[] y)
               throws DataException
Throws:
DataException
Method Detail

getIntercept

public double getIntercept()

getSlope

public double getSlope()

main

public static void main(java.lang.String[] args)