In the analysis of longitudinal data it is of main interest to investigate the existence of group and individual effects under correlated observations across time. In this paper, we develop a nonparametric two-step procedure that enables us to estimate group effects under a very general form of correlation across time. Moreover, we propose several methods to estimate the bandwidth and show their asymptotyc optimality. Since the asymptotic distribution is untractable, we develop a randomization test that is suitable for testing the group effects. Finally, we apply the estimation procedure, the bandwidth selection criteria and the randomization test to the data from the Iowa Cochlear Implant Project.This work was supported by Dirección General de Enseñanza Superior del Ministerio Español de Educación y Cultura and Universidad del País Vasco (UPV/EHU) under research grant PB95-0346