View source: R/power_newtest.R
power_newtest | R Documentation |
This function estimates the power of test routines that calculate p value(s)
power_newtest(TS, f, param_alt, TSextra, alpha = 0.05, B = 1000)
TS |
routine to calculate test statistics. |
f |
routine that generates data. |
param_alt |
values of parameter under the alternative hypothesis. |
TSextra |
list passed to TS. |
alpha |
=0.05 type I error. |
B |
= 1000 number of simulation runs to estimate the power. |
A matrix of power values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.