Project

General

Profile

Actions

Support #2181

open

Longitudinal weights , merging in wave files then cross wave

Added by Rehana Meeajan about 1 month ago. Updated about 1 month ago.

Status:
Feedback
Priority:
Normal
Category:
Data management
Start date:
11/19/2024
% Done:

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.

Actions #1

Updated by Understanding Society User Support Team about 1 month 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

Actions

Also available in: Atom PDF