I am trying to compute the statistical power of my linear mixed model, which includes 2 conditions and 16 observations from 3 subjects. Fixed effect is the condition ('Cond') and random effect is subject identity (SubID).
lme4 <- lmer(delta ~ Cond + (1|SubID), data = Data)
I used powerSim (simr package):
powerSim (fit = lme4, test = fixed ("Cond" ), nsim = 1000)
And this is what I obtained: a power of 7-9%, which is very low.
Power for predictor 'Cond', (95% confidence interval):
8.5% ( 9.46, 15.39)
Test: Likelihood ratio
Based on 1000 simulations, (20 warnings, 0 errors)
alpha = 0.05, nrow = 16
Given that some of the data reach significance, I am expecting a power around 60 to 80%. Could you tell me whether I did anything wrong in the computation?