Monday, August 30, 2021

How to see the frequency of a veriables in each country in a dataset ?

By the helps from others, I see that I can list the unique countries from a sample by using\

tab GEOGN

where GEOGN is a character variable standing for countries.

Now I want to know how many observation of variables called "firm_size" in each country, how should I set up the code to achieve it?

No comments:

Post a Comment