Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73268

generate variable which is calculating percentage

$
0
0
Hello guys,

im relatively new to Stata and im stuck with an assignment. It goes like this:
Use the variable “womenpar” to calculate the percentage of men in parliament (tip: use the generate command for this). Make a new variable called “menpar” reporting this.

Im unsure whether i can do this with only one variable(womenpar) or if i should find another variable in the dataset. I was looking for a relevant variable but did not find anything.
I hope you have a suggestion to a proper command, thanks.

Viewing all articles
Browse latest Browse all 73268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>