Dear all,
thanks in advance.
I have a question regarding sample size estimation. I have previously estimated sample sizes for equivalence and non-inferiority, but I have never dealt with such a specific superiority hypothesis. I have a feeling that the solution is simple, but I just can't see it.
I have two treatment groups (Experimental vs. Control), and the outcome is the VAS score (lower is better). I expect the post-treatment difference to be at least -20 VAS points in favor of the experimental treatment.
Thus, my null hypothesis is:
H0:meanEXP−meanCTRL>−20
while my alternative hypothesis is:
HA:meanEXP−meanCTRL≤−20
I would like to know how to estimate the required sample size for this type of hypothesis.
Additional information: I plan to use ANCOVA as the statistical test.
If I use sampsi (or power twomeans) with a code like:
the null hypothesis tested is actually H0:meanEXP=meanCTRL, which is completely different from what I need to demonstrate.
How can I correctly estimate the required sample size for my superiority hypothesis using ANCOVA in Stata?
Thank you again for your help!
thanks in advance.
I have a question regarding sample size estimation. I have previously estimated sample sizes for equivalence and non-inferiority, but I have never dealt with such a specific superiority hypothesis. I have a feeling that the solution is simple, but I just can't see it.
I have two treatment groups (Experimental vs. Control), and the outcome is the VAS score (lower is better). I expect the post-treatment difference to be at least -20 VAS points in favor of the experimental treatment.
Thus, my null hypothesis is:
H0:meanEXP−meanCTRL>−20
while my alternative hypothesis is:
HA:meanEXP−meanCTRL≤−20
I would like to know how to estimate the required sample size for this type of hypothesis.
Additional information: I plan to use ANCOVA as the statistical test.
If I use sampsi (or power twomeans) with a code like:
Code:
sampsi 20 0, sd(20) r01(0.5) pre(1) post(1) alpha(0.05) power(0.9)
How can I correctly estimate the required sample size for my superiority hypothesis using ANCOVA in Stata?
Thank you again for your help!
Comment