“Ideal” sample size of a pilot study? [Power / Sample Size]
Hi Helmut,
this thread is extremely interesting!
I might indeed read your code wrongly, but if I get it right the line converts the expected CV to a kind of "almost worst-case"-CV within reason as defined by alpha. I can see why, but it makes the resulting curve somewhat pessimistic. "On average" (pardon!) the total sample sizes will tend to be lower. On the other hand we also argued a few times here that observed GMR from a pilot must be taken into account. It gets complicated...
How bout something along these lines:
Playing around with alpha might be relevant too.
❝ “We have to pay for both studies. So which is the ‘ideal’ sample size of the pilot?”
this thread is extremely interesting!
❝ n <- as.numeric(sampleN.TOST(CV=as.numeric(CVCL(CV=CV[j], df=df[k], side="upper",
❝ alpha=alpha)[2]), targetpower=target, theta0=GMR, print=F, details=F)[7])
I might indeed read your code wrongly, but if I get it right the line converts the expected CV to a kind of "almost worst-case"-CV within reason as defined by alpha. I can see why, but it makes the resulting curve somewhat pessimistic. "On average" (pardon!) the total sample sizes will tend to be lower. On the other hand we also argued a few times here that observed GMR from a pilot must be taken into account. It gets complicated...
How bout something along these lines:
- Define a true CV and true GMR and n.pilot and a fut. criterion ("We will not conduct the pivotal if obsGMR is more than 10% different etc. or if total sample size is so-and-so.").
- Simulate a pilot trial w. true CV and GMR.
- Extract obsCV and obsGMR, calculate n.pivot sample size.
- If fut. criterion is met, bummer, go back to 2.
- Simulate a pivotal with true CV and true GMR.
- Find out if it is bioequivalent, record the stats.
- Repeat from pt. 2 many times.
Playing around with alpha might be relevant too.
—
Pass or fail!
ElMaestro
Pass or fail!
ElMaestro
Complete thread:
- “Ideal” sample size of a pilot study? Helmut 2013-10-27 14:15
- “Ideal” sample size of a pilot study?ElMaestro 2013-10-27 16:47
- “Ideal” sample size for TSDs’ n1? Helmut 2013-10-27 18:27
- “Ideal” sample size for TSDs’ n1? ElMaestro 2013-10-27 19:09
- “Ideal” sample size for TSDs’ n1? Helmut 2013-10-27 19:19
- “Ideal” sample size for TSDs’ n1? ElMaestro 2013-10-27 19:09
- Alpha? Helmut 2013-10-28 13:29
- 12 = bad Helmut 2013-10-30 23:49
- “Ideal” sample size for TSDs’ n1? Helmut 2013-10-27 18:27
- “Ideal” sample size of a pilot study?ElMaestro 2013-10-27 16:47
