Maximum number of equations in a system

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

leah
Posts: 35
Joined: Tue Jul 16, 2013 2:29 pm

Maximum number of equations in a system

Postby leah » Fri Oct 09, 2015 9:36 am

Is there a limit to the number of equations you can add to a system? I get a " near singular matrix" error when I try to estimate a system using SUR and more than 100 equations.

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

Re: Maximum number of equations in a system

Postby EViews Gareth » Fri Oct 09, 2015 9:40 am

There isn't a limit per se, but if you add too many variables, you'll eventually hit a maximum number of elements in a matrix for EViews to handle. This will be a function of workfile size, number of equations and number of variables. But, for example, I can create a SUR with 200 equations without hitting that limit fairly easily:

Code: Select all

create u 1000 !n =200 system s coef(!n ) alpha coef(!n ) beta for !i=1 to !n series y!i=nrnd series x!i=nrnd s.append y!i=alpha(!i) + beta(!i)*x!i next s.sur
Your singularity problem is more likely to be caused by a true singularity.

leah
Posts: 35
Joined: Tue Jul 16, 2013 2:29 pm

Re: Maximum number of equations in a system

Postby leah » Fri Oct 09, 2015 9:48 am

Yup, that was it -- my sample had exactly 100 observations. Thanks for your help!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests