edu.ucla.stat.SOCR.analyses.model
Class KolmogorovSmirnoff
java.lang.Object
edu.ucla.stat.SOCR.analyses.model.KolmogorovSmirnoff
- All Implemented Interfaces:
- Analysis
public class KolmogorovSmirnoff
- extends java.lang.Object
- implements Analysis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KolmogorovSmirnoff
public KolmogorovSmirnoff()
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
makeSequence
public static double[] makeSequence(double min,
double max,
double inc)
makeSequence
public static double[] makeSequence(double min,
double max)
findDStatistic
public static double findDStatistic(double[] x1,
double[] ystep1,
double[] x2,
double[] ystep2)
main
public static void main(java.lang.String[] args)
findKolmogorovProb
public static double findKolmogorovProb(double z)