Hi, I have panel data and trying to run a DiD regression using the statistics command in stata. I have done it but an error message keeps appearing. This is the message:

Is this due to the potential dummy variable trap? Because I have dates for 1 month. Then the firm is either treated throughout the 30 days or not.
Currently, I am inputting:
xtdidregress (happy) (treat), group(firm) time(date) vce(robust)
Is this due to the potential dummy variable trap? Because I have dates for 1 month. Then the firm is either treated throughout the 30 days or not.
Currently, I am inputting:
xtdidregress (happy) (treat), group(firm) time(date) vce(robust)

Comment