I am considering the percentage of failures test of Kupiec (1995). A short description of the test can be found here.
The test statistic follows the chi-squared distribution with 1 degree of freedom. I want to calculate the power of the test and I have found a package in R (
pwr), which has a chi-squared test included: http://www.statmethods.net/stats/power.html.
I am struggling to calculate the effect size of the test, which is necessary for calculating the test's power. Let's say I am using 0.05 as the significance level. Do you have any suggestions how to obtain the two probabilities necessary to calculate the effect size?