Description Arguments Details References See Also Examples
View source: R/RM.pwr.anova.test.R
This function calculates the effective number of participants in a power analysis for a one-way ANOVA with independant samples after considering the effect of the number of measurement for each dependent variable and the intra-class correlation of these measurements.
f |
Cohen's f effect size |
sig.level |
Alpha level |
power |
Desired statistical power |
k |
Number of groups |
corr |
Intra-class correlation between the replicated measurements. |
m |
Number of replicated measurements. |
The function returns the effective number of participants to attain the specified statistical power. You do not need to specify that n is NULL. For more details about this statistical power adjustment, see Goulet & Cousineau (2019).
Goulet, M.A. & Cousineau, D. (2019). The power of replicated measures to increase statistical power. Advances in Methods and Practices in Psychological Sciences, 2(3), 199-213. DOI:10.1177/2515245919849434
1 2 3 4 5 6 7 8 9 10 11 | # Calculating the effective sample size for a one-way anova with independant groups.
# Intra-class correlation is .2 and number of replicated measurements is 75.
RM.pwr.anova.test(
f = 0.2, # Want to detect a Cohen's f of 0.5
k = 4,
sig.level = .05,
power = .95,
.2,
m = 75
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.