Project

General

Profile

Actions

Support #1951

open

Zero longitudinal weights

Added by Isabel Hopwood over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Category:
Weights
Start date:
08/08/2023
% Done:

100%


Description

Hi,
I am running some panel data regressions examining the change in mental health outcomes when an individual moves house. I have included longitudinal weights for this analysis. I am using the svydesign function in R to apply probability weights before I run the regressions. For the individuals that have zero weights, the probability weights are "INF" so when I run the regressions the p values are not defined. I have noticed that I can get round this issue by replacing the zero weights with a very small value such as "0.00000001". Will this make my analysis wrong if I do this?

Actions

Also available in: Atom PDF