Cross-section effects with period GLS weights not allowed?

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

eng2010
Posts: 3
Joined: Tue Aug 17, 2010 8:18 am

Cross-section effects with period GLS weights not allowed?

Postby eng2010 » Tue Aug 17, 2010 8:32 am

I tried to estimate a panel data model with fixed effects. The panel consists of 39 cross-sections and 32 time series. In the Panel Options, I chose Cross-section: Fixed. Then in the GLS Weights options, I chose Period SUR. Then I got an error message: Cross-section effects with period GLS weights not allowed? Please advise why there is an error message? Is this a numerical limitations in Eviews or a theoretical limitations in the first place?

Thanks,
Eric

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

Re: Cross-section effects with period GLS weights not allowed?

Postby EViews Glenn » Tue Aug 17, 2010 10:00 am

It's a computational issue. Applying the period weights means that the simple projection matrices that we use to rid the estimates of the fixed effects no longer are valid.

You should be able to estimate the model in your case by adding

@expand(c, @crossid)

as a variable to the regression and dropping the cross-section fixed effect. This will do the brute-force fixed effects estimation.

eng2010
Posts: 3
Joined: Tue Aug 17, 2010 8:18 am

Re: Cross-section effects with period GLS weights not allowed?

Postby eng2010 » Tue Aug 17, 2010 12:27 pm

Thanks for your suggestions. But I would like to point out that there is a restriction on the maximum number of cross-section dummies. Once the number of cross-section dummies is greater than 14, there will be an error message saying that "Near singular matrix".

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

Re: Cross-section effects with period GLS weights not allowed?

Postby EViews Glenn » Tue Aug 17, 2010 1:47 pm

There are no restrictions on the number of dummies. That's a singularity. Do you have a full set of dummies and a constant?

serkansans
Posts: 1
Joined: Fri Jun 06, 2014 12:43 am

Re: Cross-section effects with period GLS weights not allowe

Postby serkansans » Fri Jun 06, 2014 1:22 am

Hello,

I'm trying to replicate the study of Konya (2006) "Exports and growth: Granger causality analysis on OECD countries with a panel data approach," appearing in Economic Modelling 23 (2006) pp. 978–992. this model tests the null hypothesis within each cross-section within a SUR context. This means I think error terms of different cross sections show contemporaneous shocks. However, I could not imagine how to do it in eviews 7. I have run the CD test and it shows me to run SUR. Could you please show mo how to do it? I am confused witt how to do it in eviews. Thank you for your help in advance.

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

Re: Cross-section effects with period GLS weights not allowe

Postby EViews Glenn » Sat Jun 07, 2014 9:55 am

Without looking at the paper, I can say that in EViews, contemporaneous correlation SUR is handled using the Cross-section SUR option.

heidi
Posts: 5
Joined: Wed Aug 13, 2014 5:09 am

Re: Cross-section effects with period GLS weights not allowe

Postby heidi » Wed Aug 13, 2014 5:23 am

Dear Eviews-Users?

I wanted to do cross-section fixed together with period sur and tried to enter the command specified by Glenn.
Unfortunately it says insufficient number of observations.
I have panel-data for 15 companies and for 5 years and 14 regressors.

When I excluded all regressors, but one I still got the error message.

Thank you very much for your help.

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

Re: Cross-section effects with period GLS weights not allowe

Postby EViews Gareth » Wed Aug 13, 2014 7:45 am

We'd need to see the workfile.

heidi
Posts: 5
Joined: Wed Aug 13, 2014 5:09 am

Re: Cross-section effects with period GLS weights not allowe

Postby heidi » Wed Aug 13, 2014 7:53 am

Here is the workfile

I entered
ls C_gri c _01_indb _02_dual _03_meet _04_sizeb _05_Sizebsq _06_fem _08_inv _09_size _11_Profit _12_liqui _13_lever _14_beta "wgt =persur" @expand (c, @crossid)
Attachments
heidi.wf1
(117.37 KiB) Downloaded 730 times

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

Re: Cross-section effects with period GLS weights not allowe

Postby EViews Glenn » Wed Aug 13, 2014 7:53 am

Your command syntax is wrong. You want the period SUR to be an option on the ls command.

ls(wgt=persur) C_gri c _01_indb _02_dual _03_meet _04_sizeb _05_Sizebsq _06_fem _08_inv _09_size _11_Profit _12_liqui _13_lever _14_beta @expand (c, @crossid)

That said, I think you are still going to have problems. Based on your description of the problem (without looking at the workfile) if you are doing period SUR, you should have at least as many time series observations as cross-sections (which you don't have) for the relevant covariance matrix to be non-singular. It's akin to having fewer observations than number of regressors in a standard regression problem. Note that the period SUR estimator is a feasible GLS estimator requires asymptotics in the time series dimension.

heidi
Posts: 5
Joined: Wed Aug 13, 2014 5:09 am

Re: Cross-section effects with period GLS weights not allowe

Postby heidi » Wed Aug 13, 2014 7:58 am

ok, thank you. it makes sense now.

How do I then determine the right GLS weight methods? Or when do I know to leave it at no weights.

I cannot find any further instructions on this in the handbook.

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

Re: Cross-section effects with period GLS weights not allowe

Postby EViews Glenn » Wed Aug 13, 2014 9:41 am

That's really an econometric question. I will note that you've got relatively few observations to be doing any kind of GLS.

heidi
Posts: 5
Joined: Wed Aug 13, 2014 5:09 am

Re: Cross-section effects with period GLS weights not allowe

Postby heidi » Fri Aug 15, 2014 2:29 am

What possibility do I have then to handle existing serial correlation as indicated by the Durbin-Watson statistics? If I just include an AR(1), how can I then figure out if autocorrelation still exists, since what I learned from the discussion board, the typical autocorrelation do not exist for panel data?

stungaro
Posts: 2
Joined: Mon May 22, 2017 8:03 am

Re: Cross-section effects with period GLS weights not allowed?

Postby stungaro » Mon May 22, 2017 2:51 pm

Hi, I am in a situation similar to the one described at the beginning of this thread.
After not being allowed to use cross-section fixed effects with period GLS weights I tried to "brute force" the fixed effects estimation as suggested by Glenn, but now I have another error message: "Near singular matrix in calculation of SUR weights."
I cannot look for correlations, as they do appear only when EViews calculates SUR weights, and not before.
Have you got any idea on what I could do? Thank you so much
Stefano

stungaro
Posts: 2
Joined: Mon May 22, 2017 8:03 am

Re: Cross-section effects with period GLS weights not allowed?

Postby stungaro » Tue May 23, 2017 2:33 am

The same type of error ("Near singular matrix in calculation of SUR weights.") appears when I keep the same specification (without fixed effects) but I run the regression only in a sub-period.
Thank you so much for your support
Stefano


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests