Text this: Latent variable modeling and applications to causality /