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

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

public class KolmogorovSmirnoff
extends java.lang.Object
implements Analysis


Constructor Summary
KolmogorovSmirnoff()
           
 
Method Summary
 Result analyze(Data data, short analysisType)
           
static double findDStatistic(double[] x1, double[] ystep1, double[] x2, double[] ystep2)
           
static double findKolmogorovProb(double z)
           
 java.lang.String getAnalysisType()
           
static void main(java.lang.String[] args)
           
static double[] makeSequence(double min, double max)
           
static double[] makeSequence(double min, double max, double inc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KolmogorovSmirnoff

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

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)