For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.
5 posts • Page 1 of 1
I was having trouble with solving a Model for a non-baseline scenario that was based on a System where one of the exogenous variables was an expression ( d(exog)). I solved this by creating a workfile variable, say exogdif = d(exog), but I was wondering if there was a more efficient way to do this in the Model object. Wasn't sure if the Proc Make Graph Transformation option in the Scenario box would do this or not.
Thanks, Gareth. Sorry, the specific error was that the model would not solve for the endogenous variable who's equation contained the expression d(exog). When I created the new workfile variable exogdiff = d(exog) and replaced that in the system equations and re-linked, the model solved. So generally, when one has an expression-based exog vars in the system for estimation and then solves a model, and then constructs scenarios with overides, it seems like the expression-based exog doesn't "flow through". Could I have listed in the overides, "d(exog)_1" for scenario 1?
Seems to work for me:
Code: Select all
create u 100
series x1_1 = 0
m.scenario(a=_1, n) "alt" 'create a scenario
m.override x1 'set x1 as the override for the scenario.
m.solve 'solve. If x1 is being over-ridden, the solution for y_1 should be a constant value.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 0 guests