edu.ucla.stat.SOCR.analyses.model
Class SimpleLinearRegression

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.model.SimpleLinearRegression
All Implemented Interfaces:
Analysis

public class SimpleLinearRegression
extends java.lang.Object
implements Analysis


Constructor Summary
SimpleLinearRegression()
           
 
Method Summary
 Result analyze(Data data, short analysisType)
           
 java.lang.String getAnalysisType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLinearRegression

public SimpleLinearRegression()
Method Detail

getAnalysisType

public java.lang.String getAnalysisType()
Specified by:
getAnalysisType in interface Analysis

analyze

public Result analyze(Data data,
                      short analysisType)
               throws WrongAnalysisException,
                      DataIsEmptyException
Specified by:
analyze in interface Analysis
Throws:
WrongAnalysisException
DataIsEmptyException