Hi,
I have data from a survey.
There are three different questions, that figures as three different variables (v1, v2, v3). I have to attach different weights to these variables and then I should create a new variable formed by these three variables.
This is the concept of what stated above:
Negative reciprocity = 0.6261938/2 × Will. to punish if oneself treated unfairly (v1) + 0.6261938/2 × Will. to punish if other treated unfairly(v2) + 0.3738062 × Will. to take revenge(v3)
So, how should I do it? I have to attach firstly weights to my three variables and then "put" them in a single new variable. Or can I do everything at once?
Thank you!
Related Posts with How to create a new variable which must contains two o three different weighted variables of my dataset
writing a program within a foreach loop in STATA : avoiding error r(1)Hi all, I am trying to run a program to generate bootstrapped indirect effects from an SEM model in…
Panel VARX questionHello, I have a question about panel VARX model estimation. I am estimating a simple panel VAR mode…
psmatch2 and matching treatment with two different yearsI would greatly appreciate your advice regarding using psmatch2 for matching treatment from two diff…
Changing date formatDear Statalist, I'm trying to change the format of my date variables which is currently a string va…
marginal effect not consistent with odd ratioHi. I am trying to examine the likelihood of migrants live in different regions. my reference catego…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a new variable which must contains two o three different weighted variables of my dataset
Post a Comment