Function to get the exact probability given a distribution table

computeExactProbability(table, n, T)

Arguments

table

Distribution table

n

Size of the exact distribution

T

Value of the statistic

Value

Exact p-value computed