To determine and estimate the sample for repeated-measures ANOVA, the researcher needs to know the means and standard deviations of the outcome at the different observations. The absolute differences between these values and their respective variances will provide an evidence-based measure of effect size.
The suggested steps for calculating sample size for a repeated-measures ANOVA in G*Power are below:
1. Open the G*Power.
2. Under the Test family drop-down menu: select F tests.
3. Under the Statistical test drop-down menu: select ANOVA: Repeated measures: within factors.
4. Under the Type of power analysis drop-down menu: select A priori: Compute required sample size - given alpha, power, and effect size.
5. Select the Determine button.
6. Select the Direct marker to highlight the menu.
7. In the Partial eta-squared box: insert one of the following values:
A. (.01) if the researcher believes there will be a small treatment effect.
B. (.03) if the researcher believes there will be a moderate treatment effect.
C. (.05) if the researcher believes there will be a large treatment effect.
8. Select Calculate.
9. Select Calculate and transfer to main window.
10. Insert .80 into the Power (1-beta err prob) box, unless researcher would like to change the power according to the current empirical or clinical context.
11. For the Number of groups box: insert (1)
12. For the Number of measurements box: insert the number that you have (3)
Be careful with using G*Power for the sample size calculation for this design! You need to take into account that the effect size is evaluated in terms of a "double dissociation effect". See the discussion in: https://stats.stackexchange.com/questions/535159/gpower-difference-in-sample-size-for-ancova-vs-repeated-measures-anova-in-clin/