I have longitudinal data of employees' attitudes, and I wish to run a latent class growth analysis on different types development curves, which I have managed.
However, I have a few onset variables which represent an event that employees' experience, and I wish each employee's attitude trajectory to start when this variable has the value 1. This onset variable goes from 0-10. For some it stops earlier, depending on how far out in the trajectory they experience the event. Thus, an employee who experiences a change event at time 3, will have the value 1 there, and then end at 7.
Is this possible in Mplus? Which example can I read for understanding how to prepare the syntax?