michelleg06 / Educational_Outcomes_Ecuador

Educational and Labour Networks
2 stars 1 forks source link

modeling/RegressionAnalysis #7

Open AFbenHassine opened 3 years ago

AFbenHassine commented 3 years ago

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.