Statistics for Detection of atypical response trajectories in biomedical longitudinal databases