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
Combining multiple Excel files with <xls2dta> commandI am using the xls2dta command to combine multiple Excel files, which seems like a nifty, parsimonio…
lnGSDP (the squared values of the variable GSDP) dropped due to collinearity. What to do to avoid this situationxtabond2 lnSWG lnGSDP lnGSDP_SQ SWG_L1 Health_Exp TotExp_ULB Urban_rate lnPopdens Pol_Stability HDI …
New package srslogit on SSCThanks as always to Kit Baum, a new package srslogit is now available for download from SSC. In Stat…
questionDear All, I am running panel data regression and faced problem while to generate the regression resu…
Coefplot: Line PlotHi, After regressing w1 .......w30 individually on a set of variables x, y, and z. I want to plot th…
Subscribe to:
Post Comments (Atom)
0 Response to Student and Subject Fixed effects
Post a Comment