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?
Related Posts with How to see the frequency of a veriables in each country in a dataset ?
Keeping observations within a daterange of a focal observation of interestDear all, I'm trying to keep observations that satisfy a relatively simple condition, but am unable…
three-year mean before an eventDear All, I found this question here (in Chinese). The data set is Code: * Example generated by -da…
Identify weekdays for the high and low points in time series analysisDear all, I have a question about how to identify the weekday of the high and low points in time se…
Marginal Effects of Simultaneous Equation Systems or IV-RegressionsHi All, I would like to post-estimate marginal effects by group after executing reg3 or xtivreg. Fo…
Why do I have missing categories from a newly created categorical variableI want to create a new variable with multlple categories based on an existing categorical variable i…
Subscribe to:
Post Comments (Atom)
0 Response to How to see the frequency of a veriables in each country in a dataset ?
Post a Comment