Latent variables in econometrics