Site icon Stata.Professor : Your Partner in Research

asdoc tabstat by country error | Stata Ms Word

I hope my email finds you well. I am a Ph.D. scholar from NUST Business School. I have a panel data of 30 countries containing ESG data. I want to create descriptive stat tables which give me the average value of ESG for all 30 countries separately in a table form. For this purpose, I used the following command of doc but it shows an error. The command and specific errors are given below. Please help me in this regard. Command
asdoc tabstat esg,stat(mean) by(country) replace
Error:  invalid name
(error in option by())
r(198);
Regards
Exit mobile version