560
Views
8
CrossRef citations to date
0
Altmetric
Software Review

Piecewise Random-Effects Modeling Software Programs

, &
 

Abstract

In this software review, we provide a brief overview of four different functions to fit a piecewise random-effects model with unknown changepoints (knots). Specifically, the four functions are: FitPMM from the R routine developed by (Zopluoglu, Harring, & Kohli, 2014), PROC NLMIXED from SAS, BayesPGM from the BayesianPGMM package in R developed by (Lock, Kohli, and Bose, 2018), and stancode_randomchangecorr function developed by (Brilleman, Howe, Wolfe, & Tilling, 2017) implemented to interface with Stan from R using the rstan package. We illustrate the estimation of the piecewise random-effects model using each of these functions by using a sample dataset. We provide appropriate commented code for the four functions, and briefly discuss the strengths and weaknesses of each function.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.