Week Learning Objectives
By the end of this module, you will be able to
- Describe the similarities and differences between longitudinal data and cross-sectional clustered data
- Perform some basic attrition analyses
- Specify and run growth curve analysis
- Analyze models with time-invariant covariates (i.e., lv-2 predictors) and interpret the results
Task List
- Review the resources (lecture videos and slides)
- Complete the assigned readings
- Snijders & Bosker ch 15 (you can skip 15.1.3 and 15.1.4)
- Attend the Tuesday session to learn about
brms
- Attend the Thursday session and participate in the class exercise
- Complete Homework 7 (on materials for Week 8)
- Additional resources for learning MLM for longitudinal data analysis
Lecture
Slides
PDF version
In a research study, data were collected for a group of patients on symptoms of eating disorder on a weekly interval across 5 weeks. What type of data is this?
In the data set, at what level is
homecog
, which is a measure of mother’s cognitive stimulation at baseline?
Basic attrition analysis
In the spaghetti plot, what does the average trend line mean?
In a growth model, what does it mean when
?
Linear growth
In the videos, what is labelled as SDpost is the Bayesian analog of the standard error.
What is the advantage of having time to start at 0?
Piecewise linear growth
What should the coding of phase 1 and phase 2 be if the turning point is set at time
= 2?
In this example, the turning point was chosen mostly based on the spaghetti plot and was arbitrary. For your research, you should justify your choice.
If a piecewise growth model has an AIC of 23745, and a linear growth model has an AIC of 23650, which model should be preferred?
What does the coefficient for
phase1
mean when the model includes an interaction between
phase1
and
homecog9
?
Instead of using time
as the duration since a particular point in history (e.g., when the study started), one can use other ways of quantifying time, such as the duration since one is born (i.e., chronological age). See R code.
In the video below, recorded in 2021, I used the R package glmmTMB
for frequentist analyses. The results and interpretations using brms
are similar.