Displaying 1 result from an estimated 1 matches for "mzk8utvgkzp4rtr".
2013 Oct 26
2
Problems with lme random slope+intercept model
...ause data suggests both slope and
intercept (for y ~x1) might differ between individuals, I'd want to compare
model fit for a saturated model with random intercept only, against that of
a model with random slope + intercept. Data are available in full from this
link:
https://www.dropbox.com/s/mzk8utvgkzp4rtr/data.txt
The random intercept model seems to function appropriately:
data<-subset(data,data$id!='id225' & data$id!='id237' & data$id!='id233')
m1.lme<-with(data,lme(y~x1+x2+x3+factor,random=~1|id,na.action=na.omit))
However, fitting the random slope+intercept...