Hello,
i'm just working on a do-file and I'm struggeling to combine to variables.
The first variable is asking for support for democracy (0 no support to 10 strong support).
Than I have a second variable asking if someone sees free elections as a criteria for democracy (0 strongly disagree to 10 agree strongly).
Now I want to combine this two variables, if possible the scale should stay from 0 to 10.
I had in mind to add ore multiply but than I wasn't sure how to get the 0 to 10 scale back.
Does someone has an idea?
Thanks a lot in advance!
Hanna
Related Posts with Combining two variables
Birth CohortsHi statalist! I would like to make birth cohorts (5 years gap and above 25 years old adult). I have…
Calculating changes in a variable over irregular intervals when a condition is met in grouped dataI've been calculating changes in GDP in countries for adjacent quarters (gen ch_gdp =gdp_quart-gdp_q…
Estimate GARCH Model from Time SeriesHallo, I am a student and new to Stata. For a university course I have to model a GARCH model from …
Herfindahl-Hirschman Index, command ignores existing valuesHello! I am a PhD student in International Business and Economics. I am studying MNEs. I would like…
How to create dummy variable with condition that it needs to have 3 observation in 5 years?I have a question how to create a dummy variable with certain conditions. I know how to create a dum…
Subscribe to:
Post Comments (Atom)
0 Response to Combining two variables
Post a Comment