Dear members

I am trying to export summary stata for my study key variables per country. I want the number of observations per country and the mean variable for the following variables CSR score, allindrawn, New_trust climt,volunerbi..
I used the following code but it gave errors such as the option stata ( )not allowed and error 503.
the code:bys Country: sum CSR _score allindrawn New_trust climt_volunerbi,statistics(mean) replace

thanks for your help