Application of latent variables in transport planning models