Skip to content

R code for segmented mixed models with random changepoints

1 message · vito muggeo

#
dear all,
hopefully it is of interest for someone..

I have written a set of functions to fit segmented mixed models, i.e. 
piecewise linear relationships with random changepoints in a 
likelihood/frequentist framework.

The functions seem to work reasonably well, although some bugs are 
expected.. :-)

Code (and an example dataset) along with some worked examples 
illustrating the functions are available on ResearchGate:

https://www.researchgate.net/publication/292986444 (code and data)

https://www.researchgate.net/publication/292629179 (examples 
illustrating the code)

Bugs, questions, doubts and feedbacks are welcome!

Thanks,
vito