Support #2181
openLongitudinal weights , merging in wave files then cross wave
60%
Description
Hello,
I was wondering if some R sample code may be available for longitudinal weighting. I am merging variables from w_indresp and w_child, each with different weight variables, then analysing trends across 4 waves. The in-wave files are merged by hidp and selected for w_rapno8 (adult responding to breastfeeding questions). 
I am assuming I must weight the data within its original file before merging.
For example, 
in j_child, the weight I need is j_psnenui_lw.
and in j_indresp: j_indscui_lw.
Many thanks for any advice.
      
      Updated by Understanding Society  User Support Team 12 months ago
      
      
    
    - Category set to Data management
 - Status changed from New to Feedback
 - % Done changed from 0 to 60
 - Private changed from Yes to No
 
Dear Rehana,
You can check the code included in exercise 6 of our Moodle Introduction to Understanding Society course: https://www.understandingsociety.ac.uk/help/training/introduction-to-understanding-society-self-paced-moodle/
Best wishes,
UKHLS User Support