Uploaded May 2022 | Updated September 2026, 2 weeks ago
In this video, I walk you through an approach for identifying and describing a quadratic functional relationship between a focal independent variable and the dependent variable in a linear regression that includes covariates. I discuss identification of non-linearity using residuals plots and an approach for graphing a quadratic functional relationship between the IV and DV while holding the covariates constant at their means.
The example is based around a discussion in Chapter 12 of Darlington & Hayes (2017) book: afhayes.com/regression-analysis-and-linear-models.html
Download a copy of the data used in the video here: drive.google.com/file/d/11LIpryp2MbGMG0C8aszUnjPM43sLcbdH
Supplemental powerpoint: drive.google.com/file/d/1cDTTe7VfuzZVwMt4tq5IIb__djBquF26
In this video, I walk you through an approach for identifying and describing a quadratic functional relationship between a focal independent variable and the dependent variable in a linear regression that includes covariates. I discuss identification of non-linearity using residuals plots and an approach for graphing a quadratic functional relationship between the IV and DV while holding the covariates constant at their means.
The example is based around a discussion in Chapter 12 of Darlington & Hayes (2017) book: afhayes.com/regression-analysis-and-linear-models.html
Download a copy of the data used in the video here: drive.google.com/file/d/11LIpryp2MbGMG0C8aszUnjPM43sLcbdH
Supplemental powerpoint: drive.google.com/file/d/1cDTTe7VfuzZVwMt4tq5IIb__djBquF26

![Multilevel path analysis using lavaan and RStudio (video 1: includes test of Level 2 mediation)
This video provides a demonstration of multilevel path analysis using an example from Heck and Thomas (2015) book, An introduction to multilevel modeling techniques: MLM and SEM approaches using MPLUS. [See my next video in the series here: https://youtu.be/mayQ79h_Dt8. ]
A copy of the .csv file containing the data can be downloaded here:
https://drive.google.com/file/d/1FU6kzwtPum6UHMqj-gdkpHpSq1yMQ1bd/view
You can download a copy of the basic syntax I use in this video here:
https://drive.google.com/file/d/1Yt7COMLa0uZzjfDNfDNcY_BpTDWAsMLy/view Multilevel path analysis using lavaan and RStudio (video 1: includes test of Level 2 mediation)](https://i.ytimg.com/vi/jaZtRgBJ_Tk/mqdefault.jpg)








