sampleN.RSABE() [Power / Sample Size]

posted by Helmut Homepage – Vienna, Austria, 2014-06-25 17:02 (3976 d 02:27 ago) – Posting: # 13144
Views: 17,047

Hi Angus,

❝ I did a sample size calculation for the non replicate design (usual cross over design) using the Excel spreadsheet FARTSIE from David Dubins…


A member of the Forum since 2007. ;-)

❝ I have found this spreadsheet to be most useful in the past.


Yep, AFAIK it is still widely used.

❝ Using a desired power of 0.9, with CV of 30.05 and an anticipated ratio of 0.93. I get 67 subjects and this is more than your estimate. I wonder why?


❝ {I must try the freeware package you recommend}.


Go ahead!

❝ I do have a Study Size program from Sweden, but have not used it for this project as yet. It seems to be an excellent program. Update using Study Size for the above sample size calculation again I get 67 subjects.


Yes, but for unscaled ABE in a 2×2 design. Study Size does not work for RSABE as well. I you apply the “rule of thumb” n/2 and perform the study in 34 subjects, it will be overpowered:
power.RSABE(theta0=0.93, CV=0.3005, n=34, design="2x2x4")
[1] 0.93941

Explain to your boss why you plan to run the study in 34 subjects if 30 will give you already a power of 91.5%.

❝ There is a reference I have found…


Hey, that’s the reference I gave you in my last post. ;-)

❝ When I consult this paper I see for the fully replicate design with 4 periods that for CV of 30% and power 0.9 with GMR ratio of 0.9 that 38 subjects are estimated.


You have to look it up in Table A4, second part. For CV 30% they report n=44 for GMR 0.90 and n=23 (imbalanced: round up to 24) for GMR 0.95.

❝ So I am thinking ~ 40 subjects is needed.


Nope. 30.


Homework:

sampleN.RSABE(CV=0.30, theta0=0.90, targetpower=0.9, design="2x2x4")
sampleN.RSABE(CV=0.30, theta0=0.95, targetpower=0.9, design="2x2x4")

Do the results match Table A4?



Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,671 registered users;
175 visitors (0 registered, 175 guests [including 7 identified bots]).
Forum time: 19:30 CEST (Europe/Vienna)

Only dead fish go with the current.    Scuba divers' proverb

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5