# NOT RUN {
## Finding the power of a discrimination test with a sensory delta of 2
## (alternative hypothesis) versus a null hypothesis of delta = 0 with
## a sample of size 2 x 10 and a type I level of .05. n should be higher
## for a reasonable precision:
samediffPwr(n = 100, tau = 1, delta = 2, Ns = 10, Nd = 10)
# }
Run the code above in your browser using DataLab