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
Panel data and regression with vs. without clustering standard errorsI am using panel data for a difference-in-difference model in which I attempt to see the affect the …
censored data tobit regressionI am trying to complete a tobit regression with censored data. This is because i am looking at expen…
predict versus margins after mepoissionI'm using mepoisson to model county-level cancer diagnoses using county population as the exposure a…
First Differences and Lagged VariablesHello Statalists, Is it possible to take both the first difference and a lag of the same variable u…
Correct Functional Form SelectionI have been asked to verify the effect of water and sanitation on the mortality of children under th…
Subscribe to:
Post Comments (Atom)
0 Response to Student and Subject Fixed effects
Post a Comment