Analysis of ordered categorical data from repeated measurements assuming a quantitative latent variable