Quiz 2
Registry Synced

Mixed Effects Models

86 words
1 min read

Reading compass

Now · 9.1 Fixed vs. Random Effects

Mixed Effects Models

9.1 Fixed vs. Random Effects

Factor TypeLevelsInferenceExample
FixedAll levels in studyAbout specific levelsTreatment (drug A, B, C)
RandomSample of levelsAbout populationSubjects (random sample)

9.2 Random Intercept Model

yij=β0+b0i+β1xij+εijy_{ij} = \beta_0 + b_{0i} + \beta_1 x_{ij} + \varepsilon_{ij}
Where b0iN(0,σb2)b_{0i} \sim N(0, \sigma_b^2) is the random intercept for group ii.

9.3 Mixed Model in Matrix Form

y=Xβ+Zb+ε\mathbf{y} = \mathbf{X}\boldsymbol{\beta} + \mathbf{Z}\mathbf{b} + \boldsymbol{\varepsilon}
Where bN(0,G)\mathbf{b} \sim N(0, \mathbf{G}) and εN(0,R)\boldsymbol{\varepsilon} \sim N(0, \mathbf{R}). Join Discord PreviousLogistic RegressionNextModel Comparison
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.