
Structural Equation Modeling using Stata
Author(s) -
Meghan K. Cain
Publication year - 2021
Publication title -
journal of behavioral data science
Language(s) - English
Resource type - Journals
eISSN - 2575-8306
pISSN - 2574-1284
DOI - 10.35566/jbds/v1n2/p7
Subject(s) - structural equation modeling , mediation , computer science , software , logistic regression , statistics , mathematics , programming language , political science , law
In this tutorial, you will learn how to fit structural equation models (SEM) using Stata software. SEMs can be fit in Stata using the sem command for standard linear SEMs, the gsem command for generalized linear SEMs, or by drawing their path diagrams in the SEM Builder. After a brief introduction to Stata, the sem command will be demonstrated through a confirmatory factor analysis model, mediation model, group analysis, and a growth curve model, and the gsem command will be demonstrated through a random-slope model and a logistic ordinal regression. Materials and datasets are provided online, allowing anyone with Stata to follow along.