waldts(object0, object1)
LORgee
".LORgee
".object0
and object1
must be nested.data(housing)
set.seed(1)
fitmod1 <- nomLORgee(y~factor(time)*sec,data=housing,id=id,repeated=time)
set.seed(1)
fitmod0 <- update(fitmod1,formula=y~factor(time)+sec)
waldts(fitmod0,fitmod1)
Run the code above in your browser using DataLab