Hi there!
I'm trying to exclude an endogenous variable from the model object so that it can then be used as a control variable. When I use the "model.exclude" command, the variable comes up in the model object's exclusion list, but when I go to calculate the control variable (as part of a targeting process), the program throws an error saying that the control variable is still endogenous.
Any thoughts on why it is still endogenous?
Excluding variables from model solve
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Excluding variables from model solve
Can you provide more precise detail on what you're doing?
Follow us on Twitter @IHSEViews
Re: Excluding variables from model solve
We have a set of equations used for forecasting economic variables. For some of these equations, we have values we want to target. To target these values, we want to use other equations within this set as controls. To use these equations as controls, we need to exclude them from the model solve (i.e. make them exogenous). When using the "exclude" command, this places the equation that we want as the control into the exclusion list of the scenario, but doesn't comment it out of the text in the model object. Hence when we try to target a variable using the excluded variable as a control (e.g. m.control invest gdp gdp_target), the solver is still saying that the control variable (invest) is still endogenous.
Is the right command/approach for what we are trying to do?
Is the right command/approach for what we are trying to do?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Excluding variables from model solve
Ah, that is currently not possible the way you're doing it.
You could remove the investment equation, although you'll have to figure out if that breaks other interactions you're interested in.
You could remove the investment equation, although you'll have to figure out if that breaks other interactions you're interested in.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 23 guests