powered by
Computes the confidence bound for the significance level p
folding.test.bound(n, d, p)
sample size
dimension
significance level (between 0 and 1, the lower, the more significant)
the confidence bound q (the bounds are 1-q and 1+q)
# NOT RUN { n = 2000 # number of observations d = 2 # 2 dimensional data p = 0.05 # we want the bound at the level 0.05 (classical p-value) q = folding.test.bound(n,d,p) # }
Run the code above in your browser using DataLab