Deviations from the planned protocol, i.e. imperfect adherence, can be modeled as a one- or two-coin model for missing doses and observations, and deviation from scheduled dose or observation time.