A Latent Transition Model With Logistic Regression