Displaying 1 result from an estimated 1 matches for "pharmac2".
Did you mean:
pharmacy
2011 Mar 18
1
PREDICTIONS from a PIECEWISE LINEAR (mixed) MODEL: THEY AIN'T LINEAR BETWEEN BREAK POINTS!!
...not straight at all,
instead behaves like if it was a hig order polynomial or something
similar!!!!
I attach the codes below, hoping someone can point me the mistake....
I sincerely express many thanks in advance ......
Federico Bonofiglio
frame3<-data.frame(id,chol,cd4,rt,sex,age,
nadir,pharmac2,hbs,hcv,resp2,
hivbl,switch)
# I run a model specifing the function
(t-t*)+ = 0 if t<=t*
AND
(t-t*)+ = t if t>t*
with the following syntax, emulating MJ Crawley (The R book 2007, Wiley),
# rt+rt*(rt>15)
I run the model, is a mixed effect one.......
PCWISE<-lme(chol~rt+rt*...