Longitudinal analysis of pig weights