Calculate power at a given significance level
Function to calculate power at a given significance level. Uses the data structure returned by
calculate.power(vals, alpha = 0.95, comp = `>`)
list, values as returned by
significance level at which to return power
comparison function, for alpha < .5, it should probably be set to '<'
power is calculated as the fraction of tests that are higher or lower than (according to
comp) than the significance level. The significance level is fixed on data generated under the null hypothesis.
returns the power for applicable data from the structure vals, usually for each test it returns the power for all types of dependence and all noise levels.
Sebastian Dümcke email@example.com
1 2 3