[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
I want me to create a "liberal" variable and a "conservative" variable by
isolating the people who score in the top 25th percentile in a
composite personal freedoms variable and the bottom 25th percentile in
a capitalism variable, using various questions from NES.
One person told me to use
gen liberal = 1 if capitalism< pctx & personal > pctx
recode liberal .=0
where the x after pct (percentage) would be 75%
However, the pct command is not a function.
Do you know how I would get the result I wanted in stata?
* For searches and help try: