SEM Program Examples
Introduction
Anyone finding this web site is welcome to use the code, provided appropriate authorship credit is given.
Google Group
If you want, you can join the Google Group set up for the SEM class.
Web Addresses for Statistical Software
Mplus (note Mplus manual is freely available as a pdf here)
Mx (free Windows SEM software)
OpenMx (A free R-based SEM program)
(It's a little easier to use this if you also load Rstudio for your script writing environment)
lavaan (LAtent VAriable ANalysis- another free R-based SEM program)
sem (Another SEM package for r) John Fox wrote a brief intro
Some places to get Data
National Longitudinal Survey (NLS) Web investigator
The web investigator lets you pick which variables you'd like to assess interactively and builds its own data set for you.
HINTS data set. NIH health data set (SAS and SPSS)
Coronary Artery Risk Development in Young Adults (CARDIA) (looks like they have alcohol, substance use, and a lot of physiological measures)
Contact Info
Please email suggestions/corrections to: Phillipkwood@gmail.com.
File Outline
Example Regression Model as SEM
Examples from John Loehlin's Latent Variable Models (4th Ed.)
Power Analyses in MplusLoehlin2_10 for Examples considered in Figure 2.10
Chapter 3
Maruyama & McGarvey (1980). Evaluating causal models: An application of maximum likelihood analysis of structural equations. Psychological Bulletin, 87, 502-512.
McIver, J. P. Carmines, E. G., & Zeller, R. A. (1980). multiple indicators. Appendix in R.A. Zeller & E.G. Carmines, Measurement in the social sciences (pp. 162-185). Cambridge: Cambridge University Press.
Joreskog, K. G., & Sorbom, D. (1979). Advances in factor analysis and structural equation models. Cambridge, MA: Abt Books.
Bentler, P. M. & Lee, S.-Y. (1979). A statistical development of three-mode factor analysis. British Journal of Mathematical and Statistical Psychology, 32, 87-104.
Loehlin, J., Example of misleading partial correlation, Figure 3.8, page 108
Bentler, P. M. & Woodward, J.A. (1978). A head start reevaluation: Positive effects are not yet demonstrable. Evaluation Quarterly, 2, 493-510.
Duncan, O. D., Haller, A. O. & Portes, A. (1968). Peer influences on aspirations: A reinterpretation. American Journal of Sociology, 74, 119-137.
Kenny, D. A., & Judd, C. M. (1984). Estimating the nonlinear and interactive effects of latent variables. Psychological Bulletin, 96, 201-210.
Chapter 4
Tesser, A. & Paulhus, D. L. (1976). Toward a causal model of love. Journal of Personality and Social Psychology, 34, 1095-1105.
Bracht, G. H., Hopkins, K.D. (1972). Stability of educational achievement. in G. H. Bracht, K. D. Hopins, & J. C. Stanley (Eds.), Perspectives in educational and psychological measurement (pp. 254-258). Englewood Cliffs, NJ: Prentice-Hall
Judd C. M. & Millburn, M. A. (1980). The structure of attitude systems in the general public.: Comparisons of a structural equation model. American Sociological Review, 45, 627-643.
Loehlin, J. C. & Vandenberg, S. G. (1968). Genetic and environmental components in the covariation of cognitive abilitys: An additive model. in S. G. Vandenberg (Ed.), Progress in human behavior genetics (pp. 261-278). Baltimore: Johns Hopkins Press.
Loehlin, J. C., Willerman, L., & Horn, J. M. (1985). Personality resemblances in adoptive families when the children are late-adolescent or adult. Journal of Personality and Social Psychology, 48, 376-392.
Figure 4.6, page 139. Example of MultiGroup Factor Model with Means from Loehlin, J. C., Latent variable models (4th Ed.). Mahwah, NJ: Erlbaum.
Holohan, C. J. & Moos, R. H. (1991). Life stressors, personal and social resources, and depression: A 4-year structural model. Journal of Abnormal Psychology, 100, 31-38.
Willett, J. B., & Sayer, A. G. (1994). Using covariance structure analysis to detect correlates and predictors of individual change over time. Psychological Bulletin, 116, 363-381. (Analyses presented include those described on page 144 of Loehlin as well as other alternatives)
Chapter 5
Examples from Elazar Pedhazur's Multiple Regression in Behavioral Research. (3rd Ed.)
Chapter 11
Dummy Coded two group design (between groups t-test), Data from Table 11.1, page 343.
Dummy Coded three group analysis of variance. Data from Table 11.5, page 349.
Effect coded three group analysis of variance. Data from Table 11.6, page 361.
Orthogonal coding (Equal N's) three group analysis of variance. Data from Table 11.9, page 379.
Orthogonal coding, Unequal N's, three group analysis of variance. Data from Table 11.12, page 402
Chapter 12
Effect Coded two by two factorial design. Data from Table 12.1, page 414.
Chapter 18
Total and Specific indirect effects for Figure 9.3, 9.4, and 9.5 Pedhazur. Data from Table 9.1, page 250
Other Examples from Research Articles
Single Variable Two Group Behavior Genetics Example
Heath, A.C., Neale, M.C., Hewitt, J.K., Eaves, L.J., & Fulker, D.W. (1989). Testing structural equation models for twin data using LISREL. Behavior Genetics, 19, 9-36.
fMRI Study using Modification Indices
Gates, K. M., Molenaar, P. C. M., Hillary, F., Ram, N., & Rovine, M. (2010). Automatic search in fMRI connectivity mapping: An alternative to Granger causality using formal equivalences between SEM path modeling, VAR, and unified SEM. NeuroImage, 53, 1118-1125.
Model Comparisons (Growth Curve, HLM & Manova) of Children's Temperament
Wood, P. K. (2011). Developmental models for children’s temperament: Alternatives to chronometric polynomial curves, Infant and Child Development, 20, 194-212.
Mplus Example of Missing By Design Analysis and Experimental Design
Power for Growth Study (Back of Envelope calculation)
Example of Monte Carlo simulation
Mis-specified Growth Exploration
Examples of LGCA models with continuous and categorical variables.
Examples of GMM models (traditional specification)