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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2008-10-16 13:20 (6088 d 21:45 ago) – Posting: # 2541
Views: 21,856

dear martin,

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?

Thanks.

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


All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

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

Truth and clarity are complementary.    Niels Bohr

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