Mar 25, 2024
Quiz 04 - March 26 ~ 9am - March 28 at noon
Covers readings and lectures March 4 - 20
Longitudinal modeling, Chapter 9 of BMLR
Project 02
Final project - Round 1 submission (optional) due April 25
Write form of model for models with more than two levels
Interpret fixed and random effects at each level
See how three-level models are used in data analysis example
Let’s look at the study about the effect of sleep on quality of life indicators. The data follow a multilevel structure with 3 levels
Level Three: Household
Level Two: Individual
We will focus on three of the outcomes:
Life satisfaction (lfstat_OT
): “represents a stable assessment of general feelings about life and indicates a long-term attitude”
Wellbeing (wellbe_OT
): “captures a person’s emotional state and touches on their mental state”
Happiness (happy_OT
): a person’s current positive emotional condition
sleep duration (SDweek_OT
)
quality of sleep (slequal_OT
)
social jetlag (jetlag_OT
)
Recall the Modeling section in the lec-17
AE.
What are your conclusions about the effects of sleep on quality of life indicators?
What are some potential limitations of this study?
The data includes the price and characteristics for 918 houses sold between 1986 and 1991 in Southampton, England. The data were originally collected from a local real estate agency and were analyzed in Jones (1991). The primary variables of interest are
Note
You can access the paper on Canvas.The paper uses different symbols to represent parameters than what is in the textbook. The slides will follow the textbook.
\[ Y_{ijk} = \alpha_0 + \tilde{u}_i + u_{ij} + \epsilon_{ijk} \]
Level One (house within time)
\(Y_{ijk} = a_{ij} + \epsilon_{ijk}, \hspace{10mm} \epsilon_{ijk} \sim N(0, \sigma^2)\)
Level Two (time within district)
\(a_{ij} = a_i + u_{ij}, \hspace{10mm} u_{ij} \sim N(0, \sigma^2_u)\)
Level Three (district)
\(a_{i} = \alpha_0 + \tilde{u}_{i}, \hspace{10mm} \tilde{u}_{i} \sim N(0, \sigma^2_{\tilde{u}})\)
\(Y_{ijk}\): Price of house \(k\) in district \(i\) sold in time period \(j\)
\(\alpha_0\):
\(\epsilon_{ijk}\):
\(u_{ij}\)
\(\tilde{u}_i\):
\(\sigma\): Variance component describing house-to-house variability within a given time period
\(\sigma_{u}\): Variance component describing variability between time periods within a district
\(\sigma_{\tilde{u}}\): Variance component describing district-to-district variability
Interpret \(\hat{\beta}_0\) (this is \(\alpha_0\) in our model notation)
How does our understanding of the effect of bedrooms differ in this model compared to Model B?