Hello everyone,

I ran the following regression :

xi: areg Y X1 X2 X1_X2 $x i.year, absorb(firm_id) cluster(firm_id)
estimates store reg1



both X1 and X2 are dummy variables (equal either 1 or 0), with year and firm fixed effect and SE clustered on firm level.

my question is how to interpret the results of this regression ?
I ran a wald t test as follow to test whether B1+B3 was statistically different from zero.

test X1+X1_X2==0

my research question would be what's the effect of X1 on Y when X2=1.
am I doing it correctly or is there a better way to interpret the interaction term coefficient?


Thank you