piecewise regression in Eviews

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

jmd
Posts: 2
Joined: Mon Jan 11, 2010 10:22 am

piecewise regression in Eviews

Postby jmd » Mon Feb 28, 2011 12:42 pm

Hi all,

I have consulted this forum's search function, google and quite some litterature, however I am yet to find a solution.

I would like to perform a piecewise linear regression as follows:

Rp - Rf = (1 - D)[Aml + Bml(Rm - Rf)] + (D)[Amh + Bmh * (Rm - Rf)]

Where
Rp = portfolio returns
Rf = risk-free rate
Rm = market return
A = alpha
B = Beta
D = treshold dummy (equal to one if market return greater than treshold, zero otherwise)
suffixes ml and mh denotes market high or market low, respectively

Also I would like a continuous line, so a restriction like Aml + Bml(Treshold) = Amh + Bmh(reshold) would probably be suitable
Can Eviews do this, and if so, what would I need to do in order to get it to comply?

I know a bit about EViews but almost NONE about programming it, anyone that would like to help, anything would be much appreaciated!

Rgds

Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests