Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/calculate.power.R

Function to calculate power at a given significance level. Uses the data structure returned by `run.tests`

1 | ```
calculate.power(vals, alpha = 0.95, comp = `>`)
``` |

`vals` |
list, values as returned by |

`alpha` |
significance level at which to return power |

`comp` |
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<c3><bc>mcke duemcke@mpipz.mpg.de

1 2 3 |

knnIndep documentation built on May 29, 2017, 4:26 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.