您好。我的命令是
reg Y X1 X2 X1*X2 Control if Group=0
est store a
reg Y X1 X2 X1*X2 Control if Group=1
est store b
suest a b,vce(cl IndYear)
test [a_mean = b_mean]
但是STATA总是报错variables differ between equations(to test equality of coefficients in common, specify option common)
Group的分组并不是按中位数进行分组的,所以两组数量并不一致。
请问如何解决这种问题,感谢回答!