This zip folder includes source and example files relevant to the paper

Muggeo V.M.R., Atkins D.C., Gallop R.J., Dimidjian S. (2014) Segmented mixed models with random changepoints: a maximum likelihood approach with application to treatment for depression study. Statistical Modelling, to appear. DOI: 10.1177/1471082X13504721

The zip file includes:

*readME.txt: this file.

*sourceStatisticalModelling.r: the source file including the functions to fit segmented mixed models

*exampleStatistModelling.r: some example code

Please cite the aforementioned paper if you use this code. 
Also report questions and bugs to vito.muggeo@unipa.it

