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
-elabel- updated on SSCThanks to Kit Baum, an updated version of the elabel commands is now available from the SSC. In Stat…
How to generate dataset to test different mixed logit specifications using Monte Carlo experimentDear Statalist, I want to replicate the results of the Monte Carlo experiments reported in Chang an…
x-axis scale for metanHi all, I am trying to create a forest plot using metan with a standardized scale of -24, 0, 1, 2, 5…
How to Perform Functions within groups in a dataset?In my data set, I have a variable called "STATEID" which identifies the state to which the responden…
Rolling growth rate in panel dataHi I have a panel data set with T=30 and N=15 I want to calculate rolling growth rate for 5 years I…
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