We propose an extension of the Harezlak and Heckman (J. Comput. Graph. Statist. 2001; 10(4): 713-729) test for detecting local extrema to the longitudinal data setting. We use penalized spline regression techniques (Statist. Sci. 1996; 11:89-102) to provide a computationally efficient method of testing for relatively large data sets. We estimate the p-values of our test, LongCriSP, with a smoothed bootstrap. Our simulation studies indicate that the test is generally conservative and has power exceeding 70 per cent at the alpha = 0.1 nominal level in most considered settings. Finally, we apply our testing procedure to the longitudinal measurements of body mass index of former prisoners of war in Vietnam and conclude that the mean population curve exhibits non-monotone behaviour.
LongCriSP: a test for bump hunting in longitudinal data. Publishing Authors By Initials