I am trying to understand how the linear mixed models output from the lmer function maps to the statistical notation for these models.
Lets assume to have a categorical (with 3 levels) fixed effect, a continuous fixed effects, the interaction between them and a random effect for the individual.
This is the equation i am used to see for linear mixed models, although i know there is also a matrix notation:
$y_{ij} = \beta_0 + \beta _1 CATG_{ij} + \beta _2 CONT_{ij} + \beta _3 CATG\cdot CONT_{ij} + b_i+\epsilon_{ij}$
The output of lmer would give me estimates for the following:
$Intercept$
$Level2$
$Level3$
$Slope$
$Level2:Slope$
$Level2:Slope$
I do understand what they mean, just can't map it to the equation as it seems that the categorical covariate is encoded in dummy variables both for the intercept and for the slope.
Any thoughts?