Permutations Module

Functions and values

Function or value Description

getExpectedStats expStats

Full Usage: getExpectedStats expStats

Parameters:
    expStats : SAM<'id>[][]

Returns: SAM<'id>[]

expected Stats are the scores/values obtained from the permutations via averaging

expStats : SAM<'id>[][]
Returns: SAM<'id>[]

getPermutations iterations s0 dataA dataB rnd

Full Usage: getPermutations iterations s0 dataA dataB rnd

Parameters:
    iterations : int
    s0 : float
    dataA : ('id * float[])[]
    dataB : ('id * float[])[]
    rnd : Random

Returns: SAM<'id>[][]

default permutation method. create permutations using Fisher Yates Shuffling

iterations : int
s0 : float
dataA : ('id * float[])[]
dataB : ('id * float[])[]
rnd : Random
Returns: SAM<'id>[][]