Page 1 of 1

Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 4:18 am
by SGarbrecht
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.

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 6:24 am
by startz
What value would you like EViews to use for the variable that is missing?

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 1:16 pm
by SGarbrecht
I would like EViews to ignore the missing value, i.e. treat it as if it was not there.

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 1:18 pm
by EViews Gareth
That's what it is doing. If the value is missing, the observation is not included (I.e. It isn't there)

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 1:58 pm
by SGarbrecht
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?

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 2:03 pm
by EViews Gareth
Because that's the way the math works. You can't NA out a single value without NAing out the entire observation (row).

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 2:05 pm
by startz
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.

Re: Unbalanced panel data - missing values problem

Posted: Mon Apr 20, 2015 2:25 pm
by EViews Gareth
Although imputting the missing prior to estimation is built in.

Re: Unbalanced panel data - missing values problem

Posted: Wed Apr 22, 2015 11:54 pm
by SGarbrecht
Many thanks!