Hi
I'm wondering whether there is a easy way to establish a zero lower boundary in an endogenous model
variable, e.g. interest rates cannot go below zero?
I tried to work in the equation with the function @recode, but I always got an error message.
Thanks for any hints.
Imposition of zero lower boundary in endogenous variable
Moderators: EViews Gareth, EViews Moderator
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Imposition of zero lower boundary in endogenous variable
For some purposes you might try modeling log(y).Hi
I'm wondering whether there is a easy way to establish a zero lower boundary in an endogenous model
variable, e.g. interest rates cannot go below zero?
I tried to work in the equation with the function @recode, but I always got an error message.
Thanks for any hints.
Re: Imposition of zero lower boundary in endogenous variable
Hello,
You could add an equation creating a new variable x as :
x = y *(y>0)
and use x as the endogenous.
Take care,
Jean Louis Brillet.
Actually, the problem is when your model uses the logarithm of the variable. In this case it needs to be strictly positive, and probably different enough from zero (to avoid large derivatives). The problem lies with the "enough".
You could add an equation creating a new variable x as :
x = y *(y>0)
and use x as the endogenous.
Take care,
Jean Louis Brillet.
Actually, the problem is when your model uses the logarithm of the variable. In this case it needs to be strictly positive, and probably different enough from zero (to avoid large derivatives). The problem lies with the "enough".
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Imposition of zero lower boundary in endogenous variable
If you do this, you may need to think about estimation with a Tobit rather than a standard regression model.Hello,
You could add an equation creating a new variable x as :
x = y *(y>0)
and use x as the endogenous.
Take care,
Jean Louis Brillet.
Actually, the problem is when your model uses the logarithm of the variable. In this case it needs to be strictly positive, and probably different enough from zero (to avoid large derivatives). The problem lies with the "enough".
Re: Imposition of zero lower boundary in endogenous variable
I thought you meant in a model identity. Of course if the equation was estimated the problem is different.
But if you want the variable to be positive it is probably that it should be so by nature (like the nominal interst rate, or GDP), which means it is positive on the sample period.
But if you want the variable to be positive it is probably that it should be so by nature (like the nominal interst rate, or GDP), which means it is positive on the sample period.
Who is online
Users browsing this forum: No registered users and 2 guests
