tTestPwr {SteppedPower} | R Documentation |
Compute Power of a Wald Test
Description
Computes the power of a scaled Wald test given a standard error, an effect size, the degrees of freedom of the t-distribution and a significance level. Computes the exact power, see second example
Usage
tTestPwr(d, se, df, sig.level = 0.05)
Arguments
d |
numeric, raw effect |
se |
numeric, standard error |
df |
numeric, degrees of freedom of the t-distribution |
sig.level |
numeric, significance level, defaults to 0.05 |
Value
a scalar
Examples
tTestPwr(4,1,10) ; tTestPwr(4,1,30) ; tTestPwr(4,1,Inf)
[Package SteppedPower version 0.3.5 Index]