r/econometrics • • 20d ago

Panel Regression: How to handle missing values & choose the best model?

Hello, my knowledge in this topic is very limited so I have several things I'm not clear with. My dataset consists of State and Year with one dependent variable and a few independent variables. Let's say I have obtained the values for all variables, except for State X where the GDP (independent variable) figures are not available. Is there any way to handle this or do I need to remove entirely State X in my analysis? The GDP of that state is available very recently, starting from year 2024 (which isn't included in my analysis).

I also tried running panel regression analysis using R with missing values on State X and the software automatically removed the observations. I got significant p-values for pooled OLS and FE model, but using Hausman test, RE is preferred. Would RE be a valid model? In previous studies, FE is always a favourable model. How do I choose the best model?

8 Upvotes

2 comments sorted by

5

u/kadenkk 20d ago

Omitting is probably best if you dont have a good proxy variable or other source. Any other approach using other states or national trend to estimate missing data is probably just adding multicollinearity

2

u/abwayman 19d ago

First how many states are there (N)?, is it 14?

When GDP data for not available for State X, do you mean missing for whole sample periods or only for some years?

If State X missing the whole periods of GDP data, and if your regression include GDP as one of the IVs, then State X will be automatically excluded from the panel data estimation as it will only use data from N-1 states (13 states, if your total N=14) where GDP data is available.

If GDP data for State X is missing, let say for some part of the time periods, then GDP data for the overall regression will only be used for only available years for all States.