Dear all,
I am writing regarding a sample size calculation in STATA.
I have a randomized trial lasting one month with two arms (experimental vs. control). The study outcome is the VAS score (0-100).
There is a baseline measurement, followed by four drug infusions starting on day 1, each spaced four days apart until day 12, with a final measurement on day 30.
My hypothesis is that on day 30, there will be a -20 point difference in VAS in favor of the experimental group. Assuming a homogeneous standard deviation of 25, I would perform an ANCOVA, calculating the sample size considering only the baseline and post-treatment measurements, using a pre-post correlation of 0.8:
I am wondering how I should calculate the sample size while also accounting for all four intermediate measurements after the baseline but before the final measurement.
I have attempted several approaches in STATA, but the correct method is unclear to me.
I appreciate any guidance in advance.
Gianfranco
I am writing regarding a sample size calculation in STATA.
I have a randomized trial lasting one month with two arms (experimental vs. control). The study outcome is the VAS score (0-100).
There is a baseline measurement, followed by four drug infusions starting on day 1, each spaced four days apart until day 12, with a final measurement on day 30.
My hypothesis is that on day 30, there will be a -20 point difference in VAS in favor of the experimental group. Assuming a homogeneous standard deviation of 25, I would perform an ANCOVA, calculating the sample size considering only the baseline and post-treatment measurements, using a pre-post correlation of 0.8:
Code:
sampsi 20 0, sd(25) r01(0.8) pre(1) post(1) alpha(0.05)
I have attempted several approaches in STATA, but the correct method is unclear to me.
I appreciate any guidance in advance.
Gianfranco
Comment