Analysis of Longitudinal Data with Examples