Hello
I am trying to perform a fixed effect analysis on student achievement gain scores. My data is nested panel data that is two-level data as I have gain scores of students within classrooms. I have 1-2 gain scores for students, and there are 20-30 students per classroom. My data is such that:
class_room student_id . gain_score gain_year
1 1 2 1
1 2 3 1
1 3 2 1
2 1 2 2
2 4 1 1
2 5 2 1
2 2 2 2
My data is unbalanced as I only have records for the students in the classrooms and they may proceed in these schools or drop-out. Additionally because the students are nested within the classrooms they would naturally be repeated measures within the classrooms. I used the code: xtset class_room gain_year and received the error: repeated time values within panel. I am not sure how best to proceed.Any suggestions would be greatly appreciated.
Related Posts with xtset with unbalanced nested panel data
Stata - reproducible research (in 2021)Stata's update to 17 is impressive and tempting (not least because of increased speed and improved i…
Error r(3900) while running Latent Class AnalysisHello STATALIST group Can anyone tell me why I am getting the following error while running Latent…
How to generate a local list with numbers in a simple wayHi all, I have a simple question. Say I want to process filenames or variable names with consecutive…
Percentile Calculation Panel DataHi I have a panel data set from 1987Q1 to 2016Q4. I want to assign each observation using deciles. B…
Finite Population specification for multi-level cross-classified models with repeated measuresHi all, I'm working with a three-level cross-classified model with repeated measures (i.e. multiple…
Subscribe to:
Post Comments (Atom)
0 Response to xtset with unbalanced nested panel data
Post a Comment