úÎ$"#d     experimentalDaniël de Kok <me@danieldk.eu> Safe-Infered BA test stastic calculates the difference between two samples. See    and   for examples. "The result of hypothesis testing. ,Data is compatible with the null hypothesis 'The null hypothesis should be rejected 0Computations with random numbers that can fail. 2Apply a pair-wise approximate randomization test. CIn pair-wise approximate randomization tests the scores at a given D index are swapped between samples with a probability of 0.5. Since @ swapping is pairwise, the samples should have the same length. )Apply an approximate randomization test. BIn approximate randomization tests, the values of two samples are B shuffled among those samples. A test statistic is calculated for F the original samples and the shuffled samples, to detect whether the . difference of the samples is extreme or not. DGenerate a given number of pairwise shuffled samples, and calculate " the test score for each shuffle. ESince the scores at a given index are swapped (with a probability of 0 0.5), the samples should have the same length. DGenerate a given number of shuffled samples, and calculate the test  score for each shuffle. DThis function does not require the samples to have an equal length. /Calculates the difference mean of two samples ( mean(s1 - s2) ). When the G two samples do not have an equal length, the trailing elements of the  longer vector are ignored. /Calculates the mean difference of two samples (mean(s1) - mean(s2)). )Calculate the ratio of sample variances (var(s1) : var(s2)). Type of test (  or  ) Test statistic %Number of shuffled samples to create )The p-value at which to test (e.g. 0.05)  First sample Second sample The test result Type of test (  or  ) Test statistic $Number of shuffled sample to create )The p-value at which to test (e.g. 0.05)  First sample Second sample The test result Test statistic %Number of shuffled samples to create  First sample Second sample The scores of each shuffle Test statistic %Number of shuffled samples to create  First sample Second sample The scores of each shuffle         approx-rand-test-0.0.3Statistics.Test.ApproxRand TestStatistic TestResultNotSignificant Significant RandWithErrorapproxRandPairTestapproxRandTestapproxRandPairScoresapproxRandScoresdifferenceMeanmeanDifference varianceRatiostatistics-0.10.1.0Statistics.Test.Types OneTailed TwoTailed