Hello all,
I am working on my first Stata project, and I have a question that might be simple to some of you. I have been asked to build the following table, but after a few days searching, I have not found a way to do so in this forum.
For the countries, I have a variable called Country. I gave the dependent and explanatory variables a generic name, in case it is easier to explain what I need to do. What I need is the mean value of these variables, for each country in my dataset. Would anyone know what command I can use?
Thank you so much in advance!!
I am working on my first Stata project, and I have a question that might be simple to some of you. I have been asked to build the following table, but after a few days searching, I have not found a way to do so in this forum.
N | Dependent variable | Main explanatory variable 1 | Main explanatory variable 2 | |
Australia | ||||
Austria | ||||
Belgium | ||||
Brazil | ||||
Canada | ||||
Chile | ||||
China | ||||
Denmark | ||||
Finland | ||||
France | ||||
Germany | ||||
Greece | ||||
Hong Kong | ||||
Hungary | ||||
India | ||||
Indonesia | ||||
Ireland | ||||
Israel | ||||
Italy | ||||
Japan | ||||
Korea, Rep. | ||||
Luxembourg | ||||
Malaysia | ||||
Mexico | ||||
Netherlands | ||||
New Zealand | ||||
Norway | ||||
Peru | ||||
Philippines | ||||
Poland | ||||
Portugal | ||||
Russia | ||||
Singapore | ||||
South Africa | ||||
Spain | ||||
Sweden | ||||
Switzerland | ||||
Thailand | ||||
Turkey | ||||
United Kingdom | ||||
United States | ||||
Total |
Thank you so much in advance!!
Comment