Hi @Sebastien_ : Ok, thanks for the clarification. The data you currently have may inform a few things.
- Difference to Detect: Assuming the data you have is representative of the two groups you wish to compare, the difference in the means (or the upper confidence bound) could perhaps be used.
- Std Dev (Group 1 and Group 2) : Assuming the data you have is representative of the two groups you are comparing, the
sqrt(pooled variance) or its upper confidence bound could perhaps be used here (assuming the Std Dev is about the same for each group)
This kind of power calculation can be thought of as sort of a "what if" analysis; i.e., if the inputs you provide (Diff to Detect, Std Dev) are true, and if your desired alpha, power, and margins, are as you input, then you can calculate power. And remember, Power is just another word for Probability (Probability of rejecting H0 when Ha is true), where:
H0: delta < Lower Margin OR delta > Upper Margin
Ha: Lower Margin <= delta <= Upper Margin
i.e., Ha is what you want to show; it will be shown, once you collect the data, if the 100*(1-2*alpha)% confidence interval for the difference lies entirely within the Margins.