powered by
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
tTestPwr(d, se, df, sig.level = 0.05)
a scalar
numeric, raw effect
numeric, standard error
numeric, degrees of freedom of the t-distribution
numeric, significance level, defaults to 0.05
tTestPwr(4,1,10) ; tTestPwr(4,1,30) ; tTestPwr(4,1,Inf)
Run the code above in your browser using DataLab