Comparing baseline and longitudinal measures in association studies