Using randomization techniques to analyse behavioural data