Dear Professor,
When using the eventstudy2 Command in Stata 19.5, I encountered a core issue, as shown below. The version eventstudy2 is 3.2b, and I was attempting to run the basic event study example provided in the dataset "Earnings_surprises.dta." by copying the code from the help documentation. The problem occurs when the error message <invalid name> appears.
Could you please help me to solve the problem? Thanks a lot!

When using the eventstudy2 Command in Stata 19.5, I encountered a core issue, as shown below. The version eventstudy2 is 3.2b, and I was attempting to run the basic event study example provided in the dataset "Earnings_surprises.dta." by copying the code from the help documentation. The problem occurs when the error message <invalid name> appears.
Could you please help me to solve the problem? Thanks a lot!
