target power 90% [🇷 for BE/BA]

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

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,409 posts in 4,921 threads, 1,669 registered users;
24 visitors (0 registered, 24 guests [including 10 identified bots]).
Forum time: 01:02 CET (Europe/Vienna)

There are no such things as applied sciences,
only applications of science.    Louis Pasteur

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