Structural equation modeling is a very flexible framework for modeling the relationship among (observed and latent) variables.