OLS Regression with restraints on coeffcients

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

thijs
Posts: 2
Joined: Sun Oct 19, 2008 7:28 am

OLS Regression with restraints on coeffcients

Postby thijs » Sun Oct 19, 2008 7:34 am

Hi,

I have a problem with Eviews to which I can't seem to find the answer in the help files.

I have the following OLS equation set up:

eq1.ls Y = c(1) + c(2)*A + c(3)*B + c(4)*D + c(5)*E + c(6)*F

Now I want to run this regression on my data, however with a constraint that c(2)+c(4)+c(5)+c(6) = 1.

How can I process this constraint?

Any help is much appreciated, thanks.

Thijs

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: OLS Regression with restraints on coeffcients

Postby startz » Sun Oct 19, 2008 8:23 am

thijs wrote:Hi,

I have a problem with Eviews to which I can't seem to find the answer in the help files.

I have the following OLS equation set up:

eq1.ls Y = c(1) + c(2)*A + c(3)*B + c(4)*D + c(5)*E + c(6)*F

Now I want to run this regression on my data, however with a constraint that c(2)+c(4)+c(5)+c(6) = 1.

How can I process this constraint?

Any help is much appreciated, thanks.

Thijs


EViews does not perform constrained regression. However, for linear constraints you can always impose the constraint by substitution. For example

Code: Select all

eq1.ls Y = c(1) + c(2)*A + c(3)*B + c(4)*D + c(5)*E + (1-c(2)-c(3)-c(4)-c(5))*F

thijs
Posts: 2
Joined: Sun Oct 19, 2008 7:28 am

Re: OLS Regression with restraints on coeffcients

Postby thijs » Mon Oct 20, 2008 1:31 am

ok thanks


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 22 guests