Project

General

Profile

Actions

Support #2190

open

Weights wave 10,12, and 14

Added by Abdulaziz Majrashi about 1 year ago. Updated 2 days ago.

Status:
Resolved
Priority:
High
Category:
Weights
Start date:
01/06/2025
% Done:

100%


Description

Dear Understanding Society Team,

My name is Abdulaziz Majrashi, and I am pursuing a PhD in Economics at Newcastle University. My research primarily focuses on the labour market, specifically examining the impact of work-from-home arrangements on mental health, productivity, and other outcomes in the UK post-COVID-19. For this purpose, I am utilising data from waves 10, 12, and 14 of the Understanding Society dataset, mainly focusing on a restricted sample.
I am encountering some challenges with the application of weights in my analysis. I use the "jbflex7" variable to identify individuals working from home, and after data restrictions, my sample includes about 10,000 observations. However, when applying weights, I noticed a reduction to fewer than 3,000 observations, which is considerably lower than expected.
For my analysis, I have employed a difference-in-differences model using OLS with fixed effects in Stata, using the command: (xtreg Y treated time did i.year [pweight = inding2_xw], fe vce(cluster pidp))
This command has resulted in issues such as the error "weight must be constant within pidp," collinearity, or insignificant results with the drastically reduced sample size. I have attempted to use various weight variables but continue to face similar issues.
Could you please advise on the appropriate weight(s) to use for this longitudinal analysis involving multiple waves (10,12, and 14)? Should I be integrating multiple weights due to the multiple waves in my study, and if so, how should this be implemented effectively in Stata?
I would greatly appreciate any guidance or example Stata code you could share to help address these issues. Your expertise and insights would be invaluable to my research.
Thank you very much for your time and assistance. Let me know if you need more information

Best regards,
Abdulaziz Majrashi PhD Student

Actions

Also available in: Atom PDF