UPDF AI

Structural Equation Modeling using Stata

Meghan K Cain

2021 · DOI: 10.35566/jbds/v1n2/p7
Journal of Behavioral Data Science · 43 Citations

TLDR

This tutorial will learn how to fit structural equation models (SEM) using Stata software using the sem command, and the gsem command will be demonstrated through a random-slope model and a logistic ordinal regression.

Abstract

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.