Latent variable modelling of cognitive processes in transitive reasoning door