Analysis of movement sequence