Search found 17 matches
- Mon May 07, 2012 1:27 pm
- Forum: Programming
- Topic: clearerrs/setmaxerrs
- Replies: 6
- Views: 7566
Re: clearerrs/setmaxerrs
I can post the .prg file, however I create a new workfile from datasets given in excel format each time. I have 246 excel files about 300kb each, altogether 68mbs. Is there a way to upload a folder of that size?
- Mon May 07, 2012 1:16 pm
- Forum: Programming
- Topic: clearerrs/setmaxerrs
- Replies: 6
- Views: 7566
Re: clearerrs/setmaxerrs
I do not think I have changed anything since I last ran the code. I can set maxerrors manually after clicking run which allows it to loop through a couple files, I get errors on each line using those two statements.
- Mon May 07, 2012 1:08 pm
- Forum: Programming
- Topic: clearerrs/setmaxerrs
- Replies: 6
- Views: 7566
Re: clearerrs/setmaxerrs
I am using eviews 7, the same version as before. I use it through an online server (citrix), they make updates occasionally but I am not sure if this would cause the problem.
Mike
Mike
- Mon May 07, 2012 12:57 pm
- Forum: Programming
- Topic: clearerrs/setmaxerrs
- Replies: 6
- Views: 7566
clearerrs/setmaxerrs
I have a code I wrote and successfully used a few weeks ago that estimates VAR/VEC for 246 datasets depending on whether the variables are cointegrated or not. I use setmaxerrs and clearerrs in multiple parts of the code to deal with errors I know can occur. Like I said everything worked fine a few ...
- Fri Mar 16, 2012 9:10 am
- Forum: Programming
- Topic: Problem Saving Estimated VAR Coefficients
- Replies: 3
- Views: 5244
Re: Problem Saving Estimated VAR Coefficients
Would you be willing to look at the entire program? Could I send it to you as a text file? If not, no problem I will continue looking for the problem and I appreciate you checking that small snippet of code.
Mike
Mike
- Fri Mar 16, 2012 8:53 am
- Forum: Programming
- Topic: Problem Saving Estimated VAR Coefficients
- Replies: 3
- Views: 5244
Problem Saving Estimated VAR Coefficients
Hi, I am looping through many files, running a VAR or VEC based on whether there is a cointegrating relation. I am currently trying to properly store all estimated coefficients and standard errors. I have referred to the help files and figure what I am attempting is the most efficient way. I have in...
- Thu Feb 23, 2012 9:03 am
- Forum: Programming
- Topic: Rounding a scalar to the nearest whole number (eviews 7)
- Replies: 2
- Views: 3856
Re: Rounding a scalar to the nearest whole number (eviews 7)
Thank you Gareth!
- Thu Feb 23, 2012 8:58 am
- Forum: Programming
- Topic: Rounding a scalar to the nearest whole number (eviews 7)
- Replies: 2
- Views: 3856
Rounding a scalar to the nearest whole number (eviews 7)
Hi, I have a loop that fills a vector with scalar values from a pre-estimated table (5 values in total). Then what I would like to do is to take an average of these 5 values to use in a formula later on. However the formula requires that the inputted value be a whole number. Therefore I would like t...
- Wed Feb 22, 2012 5:52 pm
- Forum: Programming
- Topic: Saving Coefficients from an estimated VAR (eviews 7)
- Replies: 2
- Views: 4135
Re: Saving Coefficients from an estimated VAR (eviews 7)
Sorry, I read it probably 5 times I do not know how I misread it repeatedly, must be too tired for this. Thanks for pointing that out though.
- Wed Feb 22, 2012 5:13 pm
- Forum: Programming
- Topic: Saving Coefficients from an estimated VAR (eviews 7)
- Replies: 2
- Views: 4135
Saving Coefficients from an estimated VAR (eviews 7)
Hi, I am running a few VAR and VEC models. I am trying to store the VAR estimated coefficients in a table defined earlier in the program. Tables are defined one at a time, however to save space the following loop gives the idea (probably could have just used to the loop but did not think of it when ...
- Mon Feb 20, 2012 3:11 pm
- Forum: Programming
- Topic: Matrix to Series (Eviews 7)
- Replies: 5
- Views: 11473
Re: Matrix to Series (Eviews 7)
Sorry for wasting your time, I realized a much easier way to do this simply using @errorcount function. setmaxerrs 6 for !j = 9 to 14 !old_count = @errorcount g1.add s!j freeze(coint_test!j) g1.coint(s) g1.drop s!j !new_count = @errorcount if !new_count > !old_count then table(16,8) coint_test!j end...
- Mon Feb 20, 2012 2:45 pm
- Forum: Programming
- Topic: Matrix to Series (Eviews 7)
- Replies: 5
- Views: 11473
Re: Matrix to Series (Eviews 7)
What I am trying to do is to deal with a problem I am having when running a cointegration test on pairs of variables. I am looping through many files, I run all tests on the open page 'i', copy output tables to results page, close the page 'i', move to next page 'i'. I was trying to look at the freq...
- Mon Feb 20, 2012 1:16 pm
- Forum: Programming
- Topic: Matrix to Series (Eviews 7)
- Replies: 5
- Views: 11473
Matrix to Series (Eviews 7)
Hi, I am trying to look at some statistics of a common sample of a few variables. What I have been trying to do is to first group the two variables of interest, then create a matrix that contains only common observations and finally convert back to a group in order to run a couple tests. I have been...
- Thu Feb 16, 2012 10:55 am
- Forum: Programming
- Topic: Freezing Cointegration test
- Replies: 2
- Views: 5317
Re: Freezing Cointegration test
Thanks Gareth!
- Thu Feb 16, 2012 10:37 am
- Forum: Programming
- Topic: Freezing Cointegration test
- Replies: 2
- Views: 5317
Freezing Cointegration test
Hi I am trying to freeze a cointegration test contained in a loop to access the test values. When I simply run the test without the freeze command I get the results without any errors. However when I try to freeze it I get an illegal lag or index specification error. I cannot seem to figure out what...
