Hi All,
I need to perform a sample size calculation for a single group study and I'm not clear what values to put for some of the options in Stata.
My scenario - We need to determine a sample size for a cohort that will be measured at baseline, 8 weeks and 12 weeks (they will get 6 weeks of treatment). The primary outcome measure will be continuous/ratio level data (pain pressure threshold) and measured with means.
My understanding is that I would use the following syntax in Stata for this:
power repeated, varerror(#) corr(#) repeated(3) ngroups(1) varwithin(#)
My question: I'm not clear what values to put in the varerror, corr and varwithin options. In the documentation examples, they offer sample numbers, but these appear arbitrary. I don't have pilot data or even data in the literature to inform our decision on what #'s to put here. I.e. how correlated are the repeated measures? .2? .3? .5? and the varerror and varwithin - the Stata documentation example uses 42 for varerror and 4.22 for varwithin.
Thanks for any insight here,
Ben
I need to perform a sample size calculation for a single group study and I'm not clear what values to put for some of the options in Stata.
My scenario - We need to determine a sample size for a cohort that will be measured at baseline, 8 weeks and 12 weeks (they will get 6 weeks of treatment). The primary outcome measure will be continuous/ratio level data (pain pressure threshold) and measured with means.
My understanding is that I would use the following syntax in Stata for this:
power repeated, varerror(#) corr(#) repeated(3) ngroups(1) varwithin(#)
My question: I'm not clear what values to put in the varerror, corr and varwithin options. In the documentation examples, they offer sample numbers, but these appear arbitrary. I don't have pilot data or even data in the literature to inform our decision on what #'s to put here. I.e. how correlated are the repeated measures? .2? .3? .5? and the varerror and varwithin - the Stata documentation example uses 42 for varerror and 4.22 for varwithin.
Thanks for any insight here,
Ben
Comment