Page 1 of 1

752 is not a valid index for vector-series-coefficient C

Posted: Mon Apr 26, 2010 6:57 am
by jan
Hey,

I am using EViews 6 and I want to run OLS regressions as well as binary analysis. My sample consists of 3000+ observations and I have 789 dummy variables plus ~ 10 other independent variables. Every time I want to open an equation I get the error message "752 is not a valid index for vector-series-coefficient C". Is there a limit on independent variables that can be used or what error am I doing?

I hope this is an easily solvable question, as I am new to Eviews.

Thanks,

Jan

Re: 752 is not a valid index for vector-series-coefficient C

Posted: Mon Apr 26, 2010 8:20 am
by EViews Gareth
You've hit the maximum size for the C vector.

You can still estimate your equation, but it takes a bit more work. The first thing you should do is make your own coefficient vector that is big enough. To do this type:

Code: Select all

coef(1000) beta

in the EViews command window.

Then, the easiest thing to do is to use a system object to help create an expression for your equation. Create a system object, then click on proc->define system. Then in the box that opens, enter in your dependent variable, and in the "equation specific coefficients" enter in your regressors, including the dummies. Finally change the "coefficient name" box to be your newly created coefficient vector, "beta".

When you hit ok, the system specification will have been filled out with an equation specification. You can select that text and copy it into an equation object's specification.
system1.png
system1.png (60.1 KiB) Viewed 6779 times

system2.png
system2.png (177.26 KiB) Viewed 6779 times

system3.png
system3.png (44.09 KiB) Viewed 6778 times

Re: 752 is not a valid index for vector-series-coefficient C

Posted: Mon Apr 26, 2010 9:39 am
by jan
Thanks a lot! That solved my problem.

Re: 752 is not a valid index for vector-series-coefficient C

Posted: Tue May 03, 2011 6:14 am
by ghpow1
Further to this, if you have not defined your dummies you can use the @expand(dummy_var_col) in the "equation specific coefficients" field to automatically create your equation. Very useful