Dear all,
I am working on cleaning my data set, but have been troubels with relabeling some of my variables.
1. First of all, I wanted to relabel some variables to create a more intutive scale. I wanted to go from 3 "Strongly Agree" 2 "Agree" 1 "Disagree" 0 "Strongly Disagree" to 0 "Strongly Agree" 1 "Agree" 2 "Disagree" 3 "Strongly Disagree" which I tried to do as followed (see below). This did not work, as the labels were redefined but the count of responses was not correct anymore, as it seemed that the labels did indeed change but the response count did not. So it seemed that now the label Strongly Disagree was connected to the beneficiaries whom answered strongly agree. See my steps below.
2. Next to that, I tried to combine some value labels as I wanted to create 3 answer options instead of 4 by combining two answer options under one label. Under the original value label there were 4 options 1 myself and my husband 2 my husband 3 myself and 4 someone else in the household. I want to create 1 "Someone else in the family " 2 "My husband " 3 "Myself" 3 "Myself and my husband jointly" however this does not seem to work. I did the below.
I am working on cleaning my data set, but have been troubels with relabeling some of my variables.
1. First of all, I wanted to relabel some variables to create a more intutive scale. I wanted to go from 3 "Strongly Agree" 2 "Agree" 1 "Disagree" 0 "Strongly Disagree" to 0 "Strongly Agree" 1 "Agree" 2 "Disagree" 3 "Strongly Disagree" which I tried to do as followed (see below). This did not work, as the labels were redefined but the count of responses was not correct anymore, as it seemed that the labels did indeed change but the response count did not. So it seemed that now the label Strongly Disagree was connected to the beneficiaries whom answered strongly agree. See my steps below.
Code:
label define likertnew 0 "Strongly Agree" 1 "Agree" 2 "Disagree" 3 "Strongly Disagree" label values male_stypes1 likertnew label values male_stypes2 likertnew label values male_stypes3 likertnew label values male_stypes4 likertnew *I had the same relabeling problem with creating new labels for stereotypes female which is connected to the same value label. I tried the following label values wea_stypes1 likertnew label values wea_stypes2 likertnew label values wea_stypes3 likertnew label values wea_stypes4 likertnew
Code:
label define decisionnew 1 "Someone else in the family " 2 "My husband " 3 "Myself" 3 "Myself and my husband jointly"
Comment