pkgs <- c("lavaan","semTools","semPlot","tidyverse")
to_install <- pkgs[!pkgs %in% rownames(installed.packages())]
if(length(to_install)) install.packages(to_install)Structural Equation Modeling (SEM) • PhD Doctoral School
Welcome deck (today): logistics + course map + how we’ll work
Next deck (01): workflow + lavaan foundations (from Specify → Identify → Estimate → Evaluate → Revise/Report)
I am convinced that SEM is a fundamental tool for research in psychology and most, if not all, researchers in this area should know it. Indeed, it is key for many aspects of your research:
We will (hopefully) cover:
If you need something specific for your project, let me know: I’ll try to fit it into the right module.
Each morning is split into two 2-hour blocks including:
SEM-phd-course is a Quarto website + source files:
/slides/ revealjs decks (what you see in class)/labs/ hands-on labs (what you do)/extras/ self-study (or extra) modules/R/ helper functions (fit, plots, reporting)lavaan, semTools, semPlot, tidyverse, quartopsych, MASS, MVN, modsemNext deck (01): SEM foundations + workflow + lavaan basics
→ we start coding immediately.
Open the repo, run the package check, and make sure Quarto renders.