Converting Unbalanced panel data in Balanced

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Klea_Cicko
Posts: 1
Joined: Mon Dec 12, 2016 6:12 am

Converting Unbalanced panel data in Balanced

Postby Klea_Cicko » Mon Dec 12, 2016 10:03 am

Dear all,

i'm working on a panel dataset (including 11 variables, 16 countries from 1995 to 2013) for my master thesis, and i'm having some trouble with it.

Before estimating the regression for finding if and how fiscal variables affect the long run growth rate in an endogenous growth model, i am considering five different forms of panel data estimator: Pooled OLS, One-way (country dummies) fixed effects model, One-way random effect models, two-way (country and time effects) fixed effects model and two-way random effects model. In order to remove the effects of the business cycle, i proceed by taking a 5 year average. So EViews recognize it as Dated Panel with a frequency: multi-year, 5 year with country as Cross section ID series and year as Date series. I'm working with EViews 9 SV (student version). Please find in attachment my dataset.

The problem is, when i try estimate the two-way random effects model, i'll get the error saying "Two-way random effects not allowed with unbalanced data". This is the first time i'm working with panel data, and i'm not very familiar with it, but it seems that the problem is created by the N.A. values, which unfortunately i have no clue how to estimate, or forecast being at the beginning of the series.

So my question is, how do i convert the unbalanced panel data into balanced?

p.s. i manually tried to fill the n.a. values but in that case for the two-way random effects model i'll still get an error saying: "Random effects estimation requires number of cross sections>number of coefs for between estimator."

Thank you in advanced,
Klea
Attachments
5yd.1.year.xlsx
(18.51 KiB) Downloaded 490 times

jgpgibbon77
Posts: 1
Joined: Wed Mar 01, 2017 4:11 am

Re: Converting Unbalanced panel data in Balanced

Postby jgpgibbon77 » Thu Mar 02, 2017 5:56 am

Did you ever receive an answer to this question, I am having a very similar issue with my modelling for my dissertation?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Converting Unbalanced panel data in Balanced

Postby EViews Glenn » Fri Mar 03, 2017 6:05 pm

Looking at your data, it's not unbalanced. It's just sampled at five year intervals. How is your workfile structured? Is it specified as a multi-year (5)?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests