modified function for selection of time points [🇷 for BE/BA]

posted by Aceto81 – Belgium, 2008-10-16 14:09 (6092 d 21:45 ago) – Posting: # 2542
Views: 21,796

❝ Do you think that we need to take the absolute value for AIC (extractAIC) here? :confused: AICs can be negative and the smallest is the best, as far as I can remember. I know that these codes were written by Ace previously. What do you think about this?

return(cbind((nrow(dat)-m+1),abs(extractAIC(lm(log(conc)~time,dat[m:nrow(dat),])))[2],summary(lm(log(conc)~time,dat[m:nrow(dat),]))$adj.r.squared))


Maybe a bit of clarification for the abs() value:
I took the example from a thread, mentioned before, and get the same AIC values, except that they were negative. So that's the reason why I used the abs() value.

Ace

Complete thread:

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

Medical researches can be divided into two sorts:
those who think that meta is better and those
who believe that pooling is fooling.    Stephen Senn

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