In my data there is a variable called class. There is lower, middle and upper class. I would like to know what share of people are part of each class for every country in each year. How can I do this?
Related Posts with how to create variable showing the percent of rows with a variable with a certain value
ivreghdfe's error: virtual Factor::drop_singletons() not foundDear Statalists, I'm trying to run ivreghdfe but run across an error that I failed to find any onli…
How to superimpose grid on a mapHello Everyone I am trying to superimpose grid on my map in stata. I could not find proper way of do…
Combining graphs from a loopHi, I am making histograms using the following command that I want to loop for 122 countries, Code…
custom xline value per group in xtlineHi. I'm trying to produce a graph for each US state using -xtline- and the -xline- option (Stata 15.…
Rotating category axis labels and reversing scale using catplotHi everyone, I am using catplot from SSC in Stata 17 on Windows. I am using the following code to c…
Subscribe to:
Post Comments (Atom)
0 Response to how to create variable showing the percent of rows with a variable with a certain value
Post a Comment