Class RandomPermutationTest


  • public class RandomPermutationTest
    extends SignificanceTest
    Randomized permutation test. Adapted from Michael Bendersky's Python script.
    Author:
    vdang
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int nPermutation  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double test​(java.util.HashMap<java.lang.String,​java.lang.Double> target, java.util.HashMap<java.lang.String,​java.lang.Double> baseline)
      Run the randomization test
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nPermutation

        public static int nPermutation
    • Constructor Detail

      • RandomPermutationTest

        public RandomPermutationTest()
    • Method Detail

      • test

        public double test​(java.util.HashMap<java.lang.String,​java.lang.Double> target,
                           java.util.HashMap<java.lang.String,​java.lang.Double> baseline)
        Run the randomization test
        Overrides:
        test in class SignificanceTest
        Parameters:
        baseline -
        target -
        Returns: