Confuse-a-Cat [Two-Stage / GS Designs]

posted by ElMaestro  – Belgium?, 2017-08-19 17:56 (1089 d 22:27 ago) – Posting: # 17715
Views: 24,805

Hi again,

» Now I get it – though your code is beyond me. Zhang’s method in many cases hits the right point in the first attempt. Sometimes sampleN.TOST() has to iterate upwards (since Zhang’s method is based on a large sample approximation and power with anything of the t-family will be lower). In very rare cases sampleN.TOST() has to iterate downwards. Can your code do that as well?

Yes. Basically, get the initial initial guess, determine if it is low or high for the desired power, iterate up or down depending on that.

The reason I am doing this is I got a mental "Does not compute error" when I read Zhang's paper. The goal is to get to the right sample size in as few cycles as possible.

I could be wrong, but...

Best regards,

"Pass or fail" (D. Potvin et al., 2008)

Complete thread:

 Admin contact
21,012 posts in 4,380 threads, 1,460 registered users;
online 18 (2 registered, 16 guests [including 12 identified bots]).
Forum time: Thursday 16:24 CEST (Europe/Vienna)

If you obey all the rules,
you will miss all the fun.    Katharine Hepburn

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