I ran a pilot study for a within-subjects experiment where the fixed effect of interest is categorical, with 4 levels. The research question involves comparing which levels of this IV can statistically be considered similar versus different.
Here's a simplified example. Let's say that for Levels A, B, C, D, the mean reaction times in those conditions are 1000ms, 1100ms, 1150ms, and 1175ms. By rotating the reference group we determined that: (1) levels A B and C are all statistically different from each other, (2) Level D is different from A and B, but (3) C and D are equivalent.
As mentioned, I have pilot data, and am also happy to conduct a simulation-based analysis. But all the tools I've found seem to be telling me the sample size needed to detect an effect of the fixed effect in general, which is clearly not sufficient for my actual goals. For example, simR is convinced I only need roughly 12 participants for 80% power, despite the varied effect sizes and the small trial size (30) per condition.
I have also tried running simR based on just subsets of the data (for example, just comparing Levels 2 and 3 or 3 and 4), but of course this is incredibly flawed (e.g., Levels 3 and 4 suddenly become significantly different) and besides, I understand that I'd need a larger sample to account for the additional levels in the real analysis. So there's no real utility to this approach.
Please note that it is a strong convention in my field that I use a mixed effect model, and that is also what is documented in the project's pre-registered analysis plan. If possible, please do not just tell me that it would be easier to switch to [insert your favorite analysis method here].
Superpower
package in R. Should be identical results to a simple mixed model? $\endgroup$