target power 90% [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2016-01-28 14:49 (3375 d 04:12 ago) – Posting: # 15879
Views: 17,627

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;
17 visitors (0 registered, 17 guests [including 2 identified bots]).
Forum time: 20:02 CEST (Europe/Vienna)

It is a well-known experience that the only truly enjoyable and
profitable way of studying mathematics is the method of
“filling in details” by one’s own efforts.    Cornelius Lanczos

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