Statistical analysis of repeated-measures data with missing values