Hi,
I am running a panel data with 3000 observations and each student has two subjects recorded.
I would like to run both student and subject fixed effects.
My code was
xtset STU_ID subject
xtreg testscore i.STU_ID i.subject SubjGradeA, fe cluster(STU_ID)
However, stata omitted all the dummy variables for STU_ID due to collinearity.
Does that mean that I do not require i.STU_ID for student fixed effect?
Thanks
Related Posts with Student and Subject Fixed effects
Replacing values when duplicatesDear all, I struggled to find a proper title for the following issue. I have the following panel da…
DID with multiple periods and treatmentsDear all, I am analysing the impacts of dung beetles (treatment) on livestock productivity (outcome…
Graphical legendDear All, I have this graph: Array obtained by (Thanks to Nick Cox), Code: set scheme s1color bys…
Bivariate analysis in Stata 13Suppose I have 10 variables and I want to make a table like the picture below: Array How can I get…
Help on understanding Cross-sectional dependenceHello together, I need some help in understanding cross-sectional dependence regarding the use of D…
Subscribe to:
Post Comments (Atom)
0 Response to Student and Subject Fixed effects
Post a Comment