Mixed equality and inequality restrictions

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

simonius
Posts: 2
Joined: Tue Jun 15, 2010 12:26 pm

Mixed equality and inequality restrictions

Postby simonius » Wed Jun 16, 2010 3:24 am

Hi,

Could anyone provide me some clues of what I'm doing wrong?

I'm trying to estimate an equation with the restriction that my coefficients are all non-negative and sum up to one. After reading several post and the user guide, I still don't get the solution.
I tried:
y = C(1)+(EXP(C(2))/(EXP(C(2))+EXP(C(3))))*x1+ (EXP(C(3))/(EXP(C(2))+EXP(C(3))))*x2
and
y =C(1)+(1/(1+EXP(C(3))))*x1+ (EXP(C(3))/(1+EXP(C(3))))*x2
(here I tried to apply the suggestion of Glenn, http://forums.eviews.com/viewtopic.php? ... aint#p1887 )
However, for both equation I get a this WARNING: Singular covariance - coefficients are not unique
I do want to have a constant in the regression.

To be sure, I added my workfile, where eq1 and eq2 are the estimated equations above respectively

Many thanks in advance, Simon
eviews 6 user
Attachments
us funds.WF1
(16.2 KiB) Downloaded 192 times

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

Re: Mixed equality and inequality restrictions

Postby startz » Wed Jun 16, 2010 6:51 am

You're just having bad luck. Reset the coefficient vector to zero and re-estimate the equation.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests