target power 90% [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2016-01-28 14:49 (3441 d 21:16 ago) – Posting: # 15879
Views: 18,080

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,425 posts in 4,928 threads, 1,680 registered users;
72 visitors (0 registered, 72 guests [including 46 identified bots]).
Forum time: 13:06 CEST (Europe/Vienna)

Fools with Tools Are Still Fools!    Anonymous

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