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