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

posted by Helmut Homepage – Vienna, Austria, 2017-08-20 14:23  – Posting: # 17725
Views: 23,469

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)
}


Cheers,
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

Activity
 Admin contact
20,237 posts in 4,258 threads, 1,396 registered users;
online 5 (0 registered, 5 guests [including 4 identified bots]).
Forum time (Europe/Vienna): 05:32 UTC

Nothing shocks me. I’m a scientist.    Harrison Ford (as Indiana Jones)

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