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

Hi ElMaestro,

» are you sure we are on the same page?
No. Completely misunderstood you.

» I am talking about the initial guess for the sample size iteration, not the sample size itself.

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?

Dif-tor heh smusma 🖖
Helmut Schütz

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

21,206 posts in 4,425 threads, 1,481 registered users;
online 6 (0 registered, 6 guests [including 4 identified bots]).
Forum time: Tuesday 18:58 CET (Europe/Vienna)

All we know about the world teaches us that the effects of A and B
are always different—in some decimal place—for any A and B.
Thus asking “are the effects different?” is foolish.    John W. Tukey

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