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
Factor variables may not contain noninteger values (r452)Dear all, I have a longitudinal panel dataset and I am trying to add individual fixed effects to my…
Command for fixed effects ordered logitIs there a user-developed Stata command for fixed effects ordered logit? I know that xtologit does n…
HotDeck results not reproducibleHi everyone, I'm imputing data using HotDeck. gen income1 = income if treat == 0 hotdeck income1, …
Confusion About Reduced-Form EstimationI'm using Stata 14 for Mac and I'm exploring a data set. It was going well but I've hit a wall. The…
Delete Observations that have no partners in panel dataHello.. i am new in here i got some problem in using STATA i am trying to make panel data but not…
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