Maximum number of equations in a system
Moderators: EViews Gareth, EViews Moderator
Maximum number of equations in a system
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: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Maximum number of equations in a system
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:
Your singularity problem is more likely to be caused by a true singularity.
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
Re: Maximum number of equations in a system
Yup, that was it -- my sample had exactly 100 observations. Thanks for your help!
Who is online
Users browsing this forum: No registered users and 2 guests
