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
only keep observations used in lagged regressionHello, I want to perform xtreg, fe on a panel dataset with lagged independent variables (1, 2 and 3…
Instrumental variable Probit regression using the cmp commandHi everyone, I want to investigate the effect that Financial Knowledge (FK, mesaured as the number …
Stata 15 graph editor - strange behaviour on recordingGood afternoon! I would like to know if some of you experimented the same bug as me about graph edi…
Problem with data cleaning some variablesHi Stata Forum, This post died in the forum about some days ago, so here's again. I am having a pro…
Regression Discontinuity validity issuesI have tried to do a regression discontinuity design on my data for my dissertation. I am trying to …
Subscribe to:
Post Comments (Atom)
0 Response to xtset with unbalanced nested panel data
Post a Comment