Easy way to run multiple regressions at the same time

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

eaghdasi
Posts: 3
Joined: Mon Aug 01, 2011 9:18 am

Easy way to run multiple regressions at the same time

Postby eaghdasi » Mon Aug 01, 2011 9:22 am

I'm using Eviews 7.1 with the web interface. Is there a quick way to run a handful of least-squares regressions in a single step? Or do I really have to open up a new object for every regression I want to run? I'm sure there's an answer already posted somewhere for this but I couldn't find anything. Thanks very much to anyone who can help.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Easy way to run multiple regressions at the same time

Postby EViews Gareth » Mon Aug 01, 2011 9:36 am

Could you define what you mean by "using EViews 7.1 with the web interface"?

eaghdasi
Posts: 3
Joined: Mon Aug 01, 2011 9:18 am

Re: Easy way to run multiple regressions at the same time

Postby eaghdasi » Mon Aug 01, 2011 11:00 am

Sorry, I meant Eviews version 7.1, which has a WINDOWS (not web) interface. (I'm new to Eviews and not sure what type of interface previous versions had.)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Easy way to run multiple regressions at the same time

Postby EViews Gareth » Mon Aug 01, 2011 11:07 am

ok. Well, I'm still not 100% certain I understand what you're asking...

But if you want to estimate a handful of new regressions (as opposed to re-estimating existing ones), the quickest way to do it would be in a program. Although, of course, that would require learning the EViews programming language.

A second method would be to use the command window and type the regressions one at a time, which is still quicker than using the mouse. The command for a least-squares regression is something like:

Code: Select all

ls y c x1 x2
where Y is the dependent variable, C is the constant and X1, X2 are independent variables.

damien
Posts: 1
Joined: Tue Aug 16, 2011 7:56 am

Re: Easy way to run multiple regressions at the same time

Postby damien » Tue Aug 16, 2011 8:10 am

Hi,

I think I understand Eaghdasi's problem as I have the same issue. I'm using Eviews 7 and I am analysing 40 portfolios using Fama-French. I think the question is: how can I run the 40 simple linear regression without typing 40 times the equation for the 40 portfolios? Is there any way to program that? Is this the so called rolling regression???

Thanks a lot in advance for your answers!

Cheers

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Easy way to run multiple regressions at the same time

Postby EViews Gareth » Tue Aug 16, 2011 8:12 am

Yes, you can program it. Check out the programming guide for a good start:
http://forums.eviews.com/viewtopic.php?f=5&t=1638

alexma
Posts: 1
Joined: Thu Oct 24, 2013 12:15 pm

Re: Easy way to run multiple regressions at the same time

Postby alexma » Thu Oct 24, 2013 12:34 pm

I am having the same problem, and i have came up with a possible solution, simple but seemed to work out just fine.

What if I open all portfolios I am analysing and make estimates using the respective independent variables as "equation specifics coeficients", as opposed to using fixing the same coefficients for the same equations?

I dont know if there is any computacional limitations, but for the number of portfolios I am using seemed to work just fine.

Is there any mistake in this approach?

Appreciate any comments!

Rgds from Brazil.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Easy way to run multiple regressions at the same time

Postby EViews Gareth » Thu Oct 24, 2013 1:18 pm

I presume you're talking about in a Pool object.

That works fine, as long as all you are interested in is the portfolio specific coefficients and standard errors. If you want to know more things about each individual estimation, such as the individual R-squareds, you're out of luck in a pool.

SA1
Posts: 1
Joined: Thu Oct 02, 2014 12:49 am

Re: Easy way to run multiple regressions at the same time

Postby SA1 » Thu Oct 02, 2014 12:53 am

Hi alexma,
Could you please elaborate further on how to run this simultaneously on a pool? I'm a novice here, and would appreciate if you could give me some specifics!! Thanks!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests