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
Ordered Probit with 2 continuous interaction termHello all, I am doing an ordered probit regression as follows: Y takes the value from 1 to 10 X is a…
marginal effects in hurdle modelDear All I'm fitting a hurdle model (with the command churdle linear) and use the margin (margins, …
Interaction terms on robust standard errors result in no F-stat and p-valueHi all, I am currently experiencing some difficulties with my model, and I hope you will be able to …
Merging dataDear all, I want to merge data from two different datasets. The first has only one observation per …
Intra-Day Data DifferencesHi, I am working with the following intra-day data. Code: * Example generated by -dataex-. To ins…
Subscribe to:
Post Comments (Atom)
0 Response to Student and Subject Fixed effects
Post a Comment