This issue is used to connect all the modeling questions related to the regression-based model we will use to study the data.
I used lme4 in R to create a mixed model, so that I could incorporate random effects at various cluster levels (to model how being part of a specific neighborhood may affect years of schooling attained, for example) as well as fixed effects (to model how age or sex affects years of schooling similarly across the dataset).
At the moment, I am unsure how to create a mixed model (so both random effects and fixed effects) in Python.
This issue is used to connect all the modeling questions related to the regression-based model we will use to study the data.
I used lme4 in R to create a mixed model, so that I could incorporate random effects at various cluster levels (to model how being part of a specific neighborhood may affect years of schooling attained, for example) as well as fixed effects (to model how age or sex affects years of schooling similarly across the dataset).
At the moment, I am unsure how to create a mixed model (so both random effects and fixed effects) in Python.