Uploaded December 2023 | Updated September 2026, 2 weeks ago
The purpose of this video is to demonstrate how to carry out an analysis of panel data (i.e., a cross-section of cases with repeated observations) using generalized estimating equations (GEE) in Stata.
The example pivots off an article by Cui (2007), which can be accessed here: journals.sagepub.com/doi/10.1177/1536867X0700700205
journals.sagepub.com/doi/pdf/10.1177/1536867X0700700205
Although I give an example of how to obtain a copy of the dataset in the video, you can also obtain a copy here: drive.google.com/file/d/1uEzXHgndUaCZrhIU5Y7-_ALPM35js08B/view
You will still need to install the qic package to use its functions, however.
Files containing commands in video:
Do-file: drive.google.com/file/d/1VQyy9EeCa6ibtiNRfWLl1foNiOozqBYC/view
Text file: drive.google.com/file/d/1GxIoyB7TvHksGRltA6eZ6nSzjjHNmuoF/view
I have an RMarkdown document I created for a presentation on running GEE using RStudio that contains additional details you might find useful regarding GEE. You can access that document here: drive.google.com/file/d/1blZ9ywl93MBEwcreAeS_XyJavn6wl0Ib/view
Video demo using RStudio: youtu.be/0TbfIDSDlfE
The purpose of this video is to demonstrate how to carry out an analysis of panel data (i.e., a cross-section of cases with repeated observations) using generalized estimating equations (GEE) in Stata.
The example pivots off an article by Cui (2007), which can be accessed here: journals.sagepub.com/doi/10.1177/1536867X0700700205
journals.sagepub.com/doi/pdf/10.1177/1536867X0700700205
Although I give an example of how to obtain a copy of the dataset in the video, you can also obtain a copy here: drive.google.com/file/d/1uEzXHgndUaCZrhIU5Y7-_ALPM35js08B/view
You will still need to install the qic package to use its functions, however.
Files containing commands in video:
Do-file: drive.google.com/file/d/1VQyy9EeCa6ibtiNRfWLl1foNiOozqBYC/view
Text file: drive.google.com/file/d/1GxIoyB7TvHksGRltA6eZ6nSzjjHNmuoF/view
I have an RMarkdown document I created for a presentation on running GEE using RStudio that contains additional details you might find useful regarding GEE. You can access that document here: drive.google.com/file/d/1blZ9ywl93MBEwcreAeS_XyJavn6wl0Ib/view
Video demo using RStudio: youtu.be/0TbfIDSDlfE
![Using sem commands to mimic Hayes Process Model 4 in Stata
This video demonstrates how you can generate results in Stata that mimic output that would be generated using Hayes Process macro / Model #4. [Note: The regression coefficients using Hayes macro are computed using OLS regression, whereas those generated in this video rely on maximum likelihood estimation.]
A copy of the Stata data file used in this video can be downloaded here: https://drive.google.com/file/d/1OlDLZKljb2ITgQ3X6Lmjz9WX3V-RSVMI/view
A copy of the Do-file containing the code written in the video can be downloaded here: https://drive.google.com/file/d/1Ex7NJTUy_wZ1IgjhxcU-7dElB_YeIA26/view
[Commands can also be found in this text file: https://drive.google.com/file/d/1fsMoVlhL6zmvtsei62fA-drta07OisH0/view ]
Link to Powerpoint containing models and outputs generated in Stata and SPSS: https://drive.google.com/file/d/1bIAd3vLH3ucd3ILBCdIEPzdYluC1o-Lw/view
A copy of the SPSS data file used in the video can be downloaded here: https://drive.google.com/file/d/1yIDgXb5qI8pu-uNrY6SRMTGwDMHBhTZ5/view Using sem commands to mimic Hayes Process Model 4 in Stata](https://i.ytimg.com/vi/4xfxbqlvuTA/mqdefault.jpg)


![Three-level multilevel modeling using SPSS 28 (March 2022)
In this video I provide a walkthrough of steps and options available for carrying out multilevel modeling in SPSS when you have three levels. I pivot off an example and discussion by Hox et al. (2017) in their text, Hox, J.J., Moerbeek, M., & van de Shoot, R. (2017). Multilevel analysis: Techniques and applications (3rd ed). Routledge: New York. [https://www.taylorfrancis.com/books/mono/10.4324/9781315650982/multilevel-analysis-joop-hox-mirjam-moerbeek-rens-van-de-schoot]
The video presentation is not intended to be exhaustive of all aspects of multilevel analysis (or three-level models in particular). However, I do offer a general commentary throughout. Additional details with more complex discussion and interpretation is provided in the Supplemental Powerpoint I reference in the video.
Download SPSS data file here: https://drive.google.com/file/d/17qtev9RBzByj8ku8MySIDj_I2t6tR5hA/
Download Powerpoint here:
https://drive.google.com/file/d/1fMTyD7DyAhP9CzCM0SKcguaKkxQ_DJU4/ Three-level multilevel modeling using SPSS 28 (March 2022)](https://i.ytimg.com/vi/64mxcyeFPHE/mqdefault.jpg)






