Dear Statalist users,
I am applying Propensity Score Matching in my research and I face problem when I apply firm fixed effects models after the matching command:
First, I have run the following matching command and the results appear normally
Then I have run firm fixed effects regressions as follwos:
But I have got the following error:
Can any body help please on how to solve this problem as I need to run xtreg after the matching command. Thank you.
I am applying Propensity Score Matching in my research and I face problem when I apply firm fixed effects models after the matching command:
First, I have run the following matching command and the results appear normally
Code:
psmatch2 BOARD_DIV_Dummy BoardSize LogTotalAsset $Y $I $C , out(IO_Total) n(4) ai(4) logit
Code:
xtreg BOARD_DIV L.( IO_Total $X $Y)[aweight=_weight],fe robust cluster (CompanyID)
Code:
weight must be constant within CompanyID