I've been trying to estimate a model where I have individual student data for years 2010, 2012, 2013. The problem is that it is not panel data at the individual level, because data is only available for the 10th grade for each year, which obviously presents different individual students each year (unless they don't pass 10th grade). So I'm trying to define a "panel" not at the individual level, but at the school level, because each school is repeated for the three considered years.
Because if I try to set the model using xtset student_id year, then student_id doesn't come up more than once (it's not really panel data). I know one way to do it would be to simply collapse the data at a school level and then set xtset school_id year, but I would like not to loose so much information. So is it possible to define a "grouped" panel data somehow? I mean, grouping all observations for a given school but not collapsing them. I hope I made myself clear.
Because if I try to set the model using xtset student_id year, then student_id doesn't come up more than once (it's not really panel data). I know one way to do it would be to simply collapse the data at a school level and then set xtset school_id year, but I would like not to loose so much information. So is it possible to define a "grouped" panel data somehow? I mean, grouping all observations for a given school but not collapsing them. I hope I made myself clear.
Comment