Initial sample size guess for the Potvin methods [Two-Stage / GS Designs]

posted by Helmut Homepage – Vienna, Austria, 2017-08-19 18:06 (2876 d 04:29 ago) – Posting: # 17710
Views: 30,213

Hi ElMaestro,

I tried GetStartNps.X3(GMR=0.95, CV=0.2, Pwr.T=0.8) and was honored with
Error in Power.calc(nps1, GMR, CV, Is.St2 = 1) :
  could not find function "Power.calc"

Can you provide the function Power.calc(), please?

My standard code gives:

GMR              : 0.95
target power     : 0.8
‘best guess’ CV  : 0.2
Fixed sample size: 20
  power          : 0.835
‘Type 1’ TSD, n1 : 16 (80.0% of N)
  ASN            : 20.0
  power (interim): 0.619
  power (final)  : 0.851


How does it compare to yours?

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,427 posts in 4,929 threads, 1,677 registered users;
18 visitors (0 registered, 18 guests [including 5 identified bots]).
Forum time: 22:35 CEST (Europe/Vienna)

Half the harm that is done in this world
Is due to people who want to feel important.    T. S. Eliot

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