## 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?

Cheers,
Helmut Schütz

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