Search found 7 matches

by Billy1989
Fri Aug 03, 2018 7:13 am
Forum: Programming
Topic: Advanced/Simple Rolling Regression vs. Rolling Object
Replies: 0
Views: 3948

Advanced/Simple Rolling Regression vs. Rolling Object

Hello, I wrote a small program for running a rolling regression and it works okay. I am not the end-user. I wanted to check out my results with those of the Advanced or Simple Rolling Regression add-in now available with Eviews. The results are the same. However, when I compare the output using the ...
by Billy1989
Fri Jul 27, 2018 11:44 am
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Re: Rolling Regression-extracting only of the coefficients

Okay, got it. Did it in two steps like this !num_of_rows = @rows(coefmat_transpose) smpl @first @first+(!num_of_rows-1) But then I tried your suggestion of creating two series, adding them to a created group and then performing the MTOS. My two series came out with the right number of rows but the g...
by Billy1989
Fri Jul 27, 2018 10:00 am
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Re: Rolling Regression-extracting only of the coefficients

Gareth, pardon my lack of understanding. Unfortunately, I am more of a coder than a forecaster so I am having trouble understanding where or how I should use the @row(vector) function. Can you provide and example? I am really not sure which of my data elements is a vector.
by Billy1989
Fri Jul 27, 2018 8:25 am
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Re: Rolling Regression-extracting only of the coefficients

I was referring to using the hard coded number 1179 to indicate the number in my sample to do the MTOS (my question from the first post). I know it will change as I add new data. So here is what I did. 'set sample size for number of extracts smpl @first+!window @last With new data sets of different ...
by Billy1989
Thu Jul 26, 2018 7:52 pm
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Re: Rolling Regression-extracting only of the coefficients

Gareth, plugging in the number worked great for this run, but what if my sample size changes? I would like to not hard code it. Is there a way to do so? Using @last? And a few other questions: Second to clean up my workfile, can I delete the series (SER01, SER02) that are created when performing the...
by Billy1989
Thu Jul 26, 2018 1:04 pm
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Re: Rolling Regression-extracting only of the coefficients

Thank you, Gareth! It ran! Now, I have a few other questions. As I mentioned I want to run this 54 times. So far I have been asked to run it with a 2 year window. But that could change. If I have all my data in excel as one spreadsheet, can I have program it to read through the header names to get t...
by Billy1989
Thu Jul 26, 2018 11:43 am
Forum: Programming
Topic: Rolling Regression-extracting only of the coefficients
Replies: 10
Views: 9623

Rolling Regression-extracting only of the coefficients

Hello, I am a new user and normally do not perform analysis in EViews but I am helping out an ill co-worker. I am winging it so bear with me. I will need to run a rolling regression for 6 currencies against 9 commodities. Rather than using the add-in and performing the task 54 times and manually pul...

Go to advanced search