The current study analyzed the relationships between explanatory variables such as socioeconomic status (SES), migration background (MB), and formal teacher competence, aggregated grades in Swedish lower-secondary school context by using municipality data from 2013, 2018, 2019. SES indicators had larger effect sizes when different years were merged outcome variable was changed to an alternative...