Dear Sir or Madam,
I have facing difficulties with EViews when running a panel regression. I have unbalanced panel data (6 independent variables, 9 control variables). For some of my control variables, there are a few values missing. Moreover, one of my control variable only covers 4 out of my 7 sample years. Unfortunately, EViews excludes all observations for which a have missing value, resulting in a small sample in my regression. Do you know how I can get EViews to include these observations?
Thanks for your help,
S.
Unbalanced panel data - missing values problem
Moderators: EViews Gareth, EViews Moderator
-
SGarbrecht
- Posts: 4
- Joined: Mon Apr 20, 2015 4:13 am
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Unbalanced panel data - missing values problem
What value would you like EViews to use for the variable that is missing?
-
SGarbrecht
- Posts: 4
- Joined: Mon Apr 20, 2015 4:13 am
Re: Unbalanced panel data - missing values problem
I would like EViews to ignore the missing value, i.e. treat it as if it was not there.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Unbalanced panel data - missing values problem
That's what it is doing. If the value is missing, the observation is not included (I.e. It isn't there)
-
SGarbrecht
- Posts: 4
- Joined: Mon Apr 20, 2015 4:13 am
Re: Unbalanced panel data - missing values problem
But why is the entire observation excluded if only one single value is missing over the entire sample period out of every independent variable I have?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Unbalanced panel data - missing values problem
Because that's the way the math works. You can't NA out a single value without NAing out the entire observation (row).
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Unbalanced panel data - missing values problem
What EViews does is called "listwise deletion." It's the standard approach to missing data.
Think of it this way. Suppose you are regressing Y on X and Z and you have 2 million observations...but the first half are missing the X observations and the second half are missing the Z observations. You don't have any observations with which to take account of the correlation between X and Z.
There are imperfect ways of adjusting for missing data. These include imputing missing values and using dummy variables to control for missings. None of these are perfect and none of these are built into EViews.
Think of it this way. Suppose you are regressing Y on X and Z and you have 2 million observations...but the first half are missing the X observations and the second half are missing the Z observations. You don't have any observations with which to take account of the correlation between X and Z.
There are imperfect ways of adjusting for missing data. These include imputing missing values and using dummy variables to control for missings. None of these are perfect and none of these are built into EViews.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Unbalanced panel data - missing values problem
Although imputting the missing prior to estimation is built in.
-
SGarbrecht
- Posts: 4
- Joined: Mon Apr 20, 2015 4:13 am
Re: Unbalanced panel data - missing values problem
Many thanks!
Who is online
Users browsing this forum: No registered users and 2 guests
