Package sc.fiji.snt.analysis.sholl.math
Class Comparator
java.lang.Object
org.scijava.AbstractContextual
org.scijava.command.ContextCommand
sc.fiji.snt.analysis.sholl.math.Comparator
- All Implemented Interfaces:
Runnable,org.scijava.Cancelable,org.scijava.command.Command,org.scijava.Contextual,org.scijava.plugin.SciJavaPlugin
public class Comparator
extends org.scijava.command.ContextCommand
Compares two profiles statistically.
- Author:
- Tiago Ferreira
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleComputes the p-value, or observed significance level, of a two-sample Kolmogorov-Smirnov test evaluating the null hypothesis that x and y are samples drawn from the same probability distribution.org.apache.commons.math3.stat.regression.SimpleRegressionvoidrun()Methods inherited from class org.scijava.command.ContextCommand
cancel, getCancelReason, isCanceledMethods inherited from class org.scijava.AbstractContextual
context, getContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.Contextual
setContext
-
Constructor Details
-
Comparator
-
-
Method Details
-
run
public void run() throws org.scijava.NullContextException- Throws:
org.scijava.NullContextException
-
getRegression
public org.apache.commons.math3.stat.regression.SimpleRegression getRegression() -
getKSTest
public double getKSTest()Computes the p-value, or observed significance level, of a two-sample Kolmogorov-Smirnov test evaluating the null hypothesis that x and y are samples drawn from the same probability distribution.- Returns:
- the p-value associated with the null hypothesis that the two profiles represent samples from the same distribution
-