Hi,
I'm actually quite new at programming. To be honest, I don't know much about the subject. I am working on my dissertation at the moment and using a bit database.
For one of the steps I need to run regressions for a great amount of companies against a couple of indices and two more time series. I am trying to build a FOR loop that helps me do this at once and saves one of the coefficients on this new variable that I created.
I would really appreciate if anyone could help me with this.
My data has the dates on the first column and on the first row I have an identifier "firm_name of the companyX" the rest is filled with returns on each stock.
Could anyone tell me if this is anyhow closed to how my FOR should look like? Thanks!
For !columns = @columns(group1)
equation column(group1) c IndVariable1 IndVariable2 IndVariable3 IndVariable4 #Trying to regress each column with the other variables
----------how to save the coefficient from variable lets say 2 into a new series??
next
Notes: group1 - group with all the returns for all the firms analysed <-- is it correct to do that?
FOR Loop!
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: FOR Loop!
Have you read through the guide?
http://forums.eviews.com/viewtopic.php?f=5&t=1638
http://forums.eviews.com/viewtopic.php?f=5&t=1638
Who is online
Users browsing this forum: No registered users and 0 guests
