Solved – Longitudinal models in R and WINBUGS or JAGS

jagspanel datar

I've tried to use R to fit some longitudinal models, mostly via lmer and nlme packages. However, it seems that many standard models are lacking, such as antedependence models or factor analytic models for covariance matrices. These models are readily available in SAS.

Would anyone recommend other packages for the job in R? I don't really care if I use to work in a frequentist or bayesian world as long as I have more modeling flexibility. I would also be interested in doing that in WINBUGS/JAGS.

Best Answer

Longitudinal and mixed models in BUGS is talked about in Ch. 10 of Bayesian Ideas and Data Analysis. Below is a link to the book website which has some example code.

http://www.ics.uci.edu/~wjohnson/BIDA/BIDABook.html

Related Question