Computes asymptotic p-values of the Total number of runs up and down distribution

computeNumberOfUpDownRunsAsymptoticProbability(n, R)

Arguments

n

Number of elements

R

Runs up down statistic

Value

Asymptotic pvalues computed