The following equation is estimating a difference in difference model for a panel data.
Y=a+b*Group+c*time+d *(Group*time)+error, where d is the treatment effect. My hypothesis says that the treatment effect is negative.
I use :
xtreg y Group time Group*time, fe
I found that the coefficient for Group*time is positive.
To make a cross check, when I just use
reg y Group time Group*time
I found that the treatment effect is negative. I don’t know what would be right command.
Again, when I use xi: reg y Group time Group*time
I found that the treatment effect is negative. To be honest, I don’t know the exact meaning of xi: reg command.
Y=a+b*Group+c*time+d *(Group*time)+error, where d is the treatment effect. My hypothesis says that the treatment effect is negative.
I use :
xtreg y Group time Group*time, fe
I found that the coefficient for Group*time is positive.
To make a cross check, when I just use
reg y Group time Group*time
I found that the treatment effect is negative. I don’t know what would be right command.
Again, when I use xi: reg y Group time Group*time
I found that the treatment effect is negative. To be honest, I don’t know the exact meaning of xi: reg command.
Comment