Generalized Latent Variable Modeling