A Mixture Model for Longitudinal Data with Application to Assessment of Noncompliance