loop ↔ vectorized ↔ direct [Two-Stage / GS Designs]

posted by Helmut Homepage – Vienna, Austria, 2017-08-20 18:23 (2412 d 22:09 ago) – Posting: # 17725
Views: 27,272

Hi ElMaestro,

I don’t understand why you use vectors at all. What ’bout:

df <- Nps*2-2
if (!Is.St2) {
  q  <- qt(p=1-alpha1, df=df)
} else {
  df <- df-1
  q  <- qt(p=1-alpha2, df=df)
}


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
22,957 posts in 4,819 threads, 1,636 registered users;
104 visitors (0 registered, 104 guests [including 7 identified bots]).
Forum time: 15:32 CET (Europe/Vienna)

With four parameters I can fit an elephant,
and with five I can make him wiggle his trunk.    John von Neumann

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