SMS dit: Latent variable models and factor analysis