Religious sample across all waves
I am looking to see the politics module questions broken down by religion (x_oprlg1) across all 6 waves. However, given that this information is only asked of respondents when they first take the survey, I'm wondering how to access this information once I want to look at the data for the subsequent waves.
Apologies if the answer to this is glaringly obvious!
Updated by Alita Nandi over 5 years ago
- Status changed from New to In Progress
- Assignee set to Andrew Barclay
- % Done changed from 0 to 90
- Private changed from Yes to No
You will first have to pick up this variable from every wave, merge those files together and then create a new variable which picks up OPRLG1 from the different waves where it has been answered. We may provide this combined variable as a derived variable in the future. Here is an example of the Stata code to do this exercise for two waves (you can extend it to 6 waves):
use pidp a_oprlg1 using a_indresp, clear
merge 1:1 pidp using b_indresp, keepusing(b_oprlg1)
generat religion=a_oprlg1 if a_oprlg1>=2 & a_oprlg1<=97
replace religion=b_oprlg1 if b_oprlg1>=2 & b_oprlg1<=97 & religion==.
Please note that in Wave 6, the values of OPRLG1 for the IEMB sample are incorrect. These should be recoded by adding 1 (so the codes 1-15 will be converted to 2-16). The Stata code for that is as follows:
replace f_oprlg1=f_oprlg1+1 if f_oprlg1>=1 & f_oprlg1<=15 & f_hhorig==8
A revised version of the data file will be released soon.
If you require further information or clarification please let us know.