Multivariate regression models for discrete and continuous repeated measurements