Description Usage Arguments Details References Examples
This function calculates the effective number of participants in a power analysis. It is useful for simulations, but also if you have done a power analysis in G*Power and want to calculate the effective number of participants base on the n1 provided in G*Power.
1 |
n1 |
Number of participants if the measurement is only replicated once. |
corr |
Intermeasurement correlation (intraclass correlation) |
m |
Number of times the measurement is replicated. |
The function returns the effective number of participants. 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 | # What is the effective number of participants if n1 = 100, intra-class correlation is .3 and
# the number of replicated measurements is 20?
effective(
n1=100,
corr=.2,
m = 20
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.