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
Ommited because of collinearity even though 'collin' and 'vif' commands show no correlation.Dear all, I have a challenge that I cannot understand or deal with. When I run my regression I get a…
Very large t-statisticsDear all, I am performing cluster robust WLS and fixed effects models on a relatively small dataset…
overlapping labels on the same pointHi all, I saw many related problems to the following but, as far as I have understood, such issues …
Reshape command with quarterly dataI would like to reshape my data from wide to long format. My headers are dates every quarter so 31-1…
No observation error in areg using variables within a rangeHello there, have created three variables represing three classes (discrete) of travel times, naley…
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