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
Summary Statistics with Esttab: Don't display valuesHi. I am making a simple table with summary statistics where I want to show the mean and median for…
Predict y using a different set of dataDear Statalist members, If I regress y on x1 x2 x3, is there a way I can use the estimated values t…
Randomizing years and statesHi , I have a variable of interest which is an indicator variable (LAW) that equals 1 if a firm is …
destringDear Statalist experts, I have the following dataset, all variables are strings, my question is, how…
Two stage least squareHello, please I need the command to make 2SLS . …
Subscribe to:
Post Comments (Atom)
0 Response to Combining two variables
Post a Comment