Lin, Haiqun, Ling Han, Peter N. Peduzzi, Terrence E. Murphy, Thomas M. Gill, and Heather G. Allore. "A dynamic trajectory class model for intensive longitudinal categorical outcome." Statistics in medicine 33, no. 15 (2014): 2645-64.