Unbalanced SUR estimation

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

lsym
Posts: 11
Joined: Thu Mar 04, 2010 3:11 am

Unbalanced SUR estimation

Postby lsym » Tue Nov 05, 2013 6:55 am

Hello,

I am trying to estimate a SUR system (seemingly unrelated regressions) using an unbalanced number of observations. I would like to know whether EViews uses all observations and adjusts for the missing data or it just truncates the larger series to estimate with a balanced sample. Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Unbalanced SUR estimation

Postby EViews Gareth » Tue Nov 05, 2013 9:02 am

It uses all the observations. The easiest way to see this is to simply try it, and see how many observations EViews reports :D

marthaluff
Posts: 8
Joined: Tue Sep 13, 2011 3:23 am

Re: Unbalanced SUR estimation

Postby marthaluff » Mon May 09, 2016 1:15 pm

Hi Gareth, if I start with an unbalanced dataset, is it possible to do a balanced data SUR regression?
i.e. can Eviews truncate the larger dataset for me?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Unbalanced SUR estimation

Postby EViews Gareth » Mon May 09, 2016 1:16 pm

Put all series in a group and then use the @robs function in the estimation sample.

marthaluff
Posts: 8
Joined: Tue Sep 13, 2011 3:23 am

Re: Unbalanced SUR estimation

Postby marthaluff » Mon May 09, 2016 1:33 pm

thanks for your reply. How do I use @robs exactly? When I create a system of 2 equations for the SUR, do I add it in then? Tried that but it doesn't work...

marthaluff
Posts: 8
Joined: Tue Sep 13, 2011 3:23 am

Re: Unbalanced SUR estimation

Postby marthaluff » Mon May 09, 2016 2:51 pm

I figured it out - for anyone else who wants to know....

1. put all your variables into a group and name it g
2. Select 'Object, New, Sample', in the top box, enter your dates (or leave as @all). In the bottom box enter @robs(g)=g.@count. You will now have a sample called smpl1.
3. Estimate your equation as you would have otherwise done, but at the bottom where it says sample and would usually have dates, instead enter smpl1. Now the regression will only use datapoints where there is a observation for all of the variables in your group.

You have turned an unbalanced sample into a balanced sample.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests