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

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

public class ChiSquareContingencyTable
extends java.lang.Object
implements Analysis


Field Summary
static java.lang.String COL_NAMES
           
static java.lang.String OBSERVED_DATA
           
static java.lang.String ROW_NAMES
           
static java.lang.String SIGNIFICANCE_LEVEL
           
 
Constructor Summary
ChiSquareContingencyTable()
           
 
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
 

Field Detail

OBSERVED_DATA

public static final java.lang.String OBSERVED_DATA
See Also:
Constant Field Values

SIGNIFICANCE_LEVEL

public static final java.lang.String SIGNIFICANCE_LEVEL
See Also:
Constant Field Values

ROW_NAMES

public static final java.lang.String ROW_NAMES
See Also:
Constant Field Values

COL_NAMES

public static final java.lang.String COL_NAMES
See Also:
Constant Field Values
Constructor Detail

ChiSquareContingencyTable

public ChiSquareContingencyTable()
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