Week 6 of the course presents concepts in latent structure and measurement models. We take a look at 3 possible ways of using latent structure to test theories:
In order to run the examples, please create a project directory and download all of the files to that project directory. When you run R, be sure to change the working directory ("Change Directory") to your project directory.
Note that each of the R scripts named *Sim.R were used to produce the simulated data used in the examples. The causal conclusions most of us would like to make based on the outcome of fitting these models do not necessarily match the way that the simulated data were constructed. It is your assignment as a student to find out what is right and what is wrong about each of the analyses. It is important to understand the limits of the conclusions you can draw from latent variable regression and mediation modeling!