How to apply the restriction c(2) = c (3)?

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

Samster
Posts: 2
Joined: Thu Jun 08, 2017 11:53 am

How to apply the restriction c(2) = c (3)?

Postby Samster » Thu Jun 08, 2017 2:52 pm

Greetings. The Wald test results accept the null hypothesis of c(2) = c(3). How do I run a regression imposing said restrictions on the coefficients ?

The following options work in that the coefficients (in the regressions with the restrictions) are indeed equal to each other. However, there are differences in the coefficients depending on which of the following is used.

(c(2) > c(3))*X1

or (c(2) >= c(3))*X1

or (c(2) > c(3))*X1 + (c(3) > c(2))*X2

Thanks for your time.

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

Re: How to apply the restriction c(2) = c (3)?

Postby EViews Gareth » Thu Jun 08, 2017 3:14 pm

What on earth are you trying to do?

If you want to impose the restriction that c(2)=c(3), then just use c(2) for both regressors.

Code: Select all

y=c(1)+c(2)*x+c(2)*z
Follow us on Twitter @IHSEViews

Samster
Posts: 2
Joined: Thu Jun 08, 2017 11:53 am

Re: How to apply the restriction c(2) = c (3)?

Postby Samster » Thu Jun 08, 2017 7:14 pm

Thank you very much man.

However, surely your response could have been more professional. "The what on earth" this non-expert Eviews user, non-expert Econometrician, was doing actually yielded coefficients that were identical up to 4 decimal places (see attachment). However, the approach seemed "unstable" so I sought clarity. Indeed, I could not use the equal sign so I tried something else. Next time I will simply bother you, instead of trying to think outside the box.

Do have a pleasant day/evening.

eviews.pdf
(106.4 KiB) Downloaded 257 times

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

Re: How to apply the restriction c(2) = c (3)?

Postby EViews Gareth » Thu Jun 08, 2017 7:21 pm

Criticism accepted
Follow us on Twitter @IHSEViews

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: How to apply the restriction c(2) = c (3)?

Postby EViews Glenn » Mon Jun 12, 2017 12:09 pm

An even easier one is to modify the regressor to enforce the restriction

Code: Select all

y c z (x1+x2)


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 18 guests