Dear All
I am new to this forum and will be greatful if you can help.
I have a panel dataset over 8 year. I have a categorical variable (school) in the dataset which denotes 334 schools in a state ( from 1 to 334). I need to drop low-frequency schools in a particular year. for example, I want to drop school 1 in the year 2007 if it had less than 50 students. similarly, drop any school which had less than 50 admissions in 2008 and so on... so essentially I need to drop any school which had less than 50 admissions in a particular year during the study period.
Thank you
I am new to this forum and will be greatful if you can help.
I have a panel dataset over 8 year. I have a categorical variable (school) in the dataset which denotes 334 schools in a state ( from 1 to 334). I need to drop low-frequency schools in a particular year. for example, I want to drop school 1 in the year 2007 if it had less than 50 students. similarly, drop any school which had less than 50 admissions in 2008 and so on... so essentially I need to drop any school which had less than 50 admissions in a particular year during the study period.
Thank you
Comment