target power 90% [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2016-01-28 14:49 (3388 d 23:23 ago) – Posting: # 15879
Views: 17,672

Dear Shuanghe and Detlew,

❝ I also noticed similar effect when I was playing sample size for power of 90%, without the wonder code like Helmut's of course


Target power 90%:

[image]

@Detlew: In my code I had to arbitrarily increase nstart in the second attempt, i.e., to

x <- sampleN.RSABE(CV=CV[j], theta0=GMR[k], targetpower=0.9,
                   design="2x2x4", print=FALSE,
                   details=FALSE, nstart=x[["nlast"]]*1.5)

because for CV=0.305, theta0=0.82 nlast is 442. With nstart=nlast the algo stops again (n 644, power 0.89243). Currently in line 159 of the source-code imax is fixed with 100. What do you think about introducing imax as an argument like in sampleN.TOST()?

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,668 registered users;
104 visitors (0 registered, 104 guests [including 13 identified bots]).
Forum time: 15:13 CEST (Europe/Vienna)

Freedom is always and exclusively
freedom for the one
who thinks differently.    Rosa Luxemburg

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