Hi,
I am working with a large dataset of student grades and am trying to create a regression model that shows the effect of each school on a certain grade.
The regression model should be something like this:
grade = school1 + school2 + school3 + ... + schooln
Each schooln variable is a binary dummy that equals 1 if the observed student belongs to schooln.
I have over 800 schools, so creating such a model manually is not an option.
I understood that the autocovariance function may be related to this issue, but seems to be designed for time series data.
Is there any way to run this regression model automatically without specifiying each school group variable?
Thanks.
I am working with a large dataset of student grades and am trying to create a regression model that shows the effect of each school on a certain grade.
The regression model should be something like this:
grade = school1 + school2 + school3 + ... + schooln
Each schooln variable is a binary dummy that equals 1 if the observed student belongs to schooln.
I have over 800 schools, so creating such a model manually is not an option.
I understood that the autocovariance function may be related to this issue, but seems to be designed for time series data.
Is there any way to run this regression model automatically without specifiying each school group variable?
Thanks.

Comment