R code quest [Regulatives / Guidelines]

posted by d_labes  – Berlin, Germany, 2010-02-25 17:34 (5554 d 17:19 ago) – Posting: # 4819
Views: 5,137

Dear ElMaestro,

❝ Lund <- function (Linmo, alpha, Verbose)

❝ {

❝ ...

❝ q=qr(model.matrix(Linmo))$rank

❝ n=length(residuals(Linmo))

❝ ...

why did you use this here? :ponder:
Is there any hidden secret behind?

I would do:
   summary(Linmo)$df[2]  # error degrees of freedom

   ...
   t <- qt((1-alpha/n/2),df-1)   
   isr2 <- df*(t^2)/(t^2+df-1) 
   ... 

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,671 registered users;
153 visitors (0 registered, 153 guests [including 5 identified bots]).
Forum time: 11:53 CEST (Europe/Vienna)

If you shut your door to all errors
truth will be shut out.    Rabindranath Tagore

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