Object Reference : Object View and Procedure Reference : Model
  
 
adjust
Prepare a variable for editing in the current scenario and/or update its values using an array expression.
Syntax
model_name.adjust(options) ser [array expression]...
The adjust proc allows you to adjust the values of the series ser in the current scenario. If the series is an exogenous variable, it will be added to the override list. If the series is an endogenous variable it will be added to both the excluded list and the override list.
If an array expression is provided, the overridden series will be modified according to the expression specification. Note that a transform may optionally be provided as part of the variable name using the syntax: transform(varname).
If you use an array expression which applies an operator to existing series values the overriden series must already exist in the workfile, unless the init option is used.
Options
 
init[=scenario]
Initialize the overridden variable with values from the specified scenario before applying any adjustment. If no scenario name is provided, the variable is initialized with values from the base scenario.
Examples
mod1.adjust gdp
simply sets the variable GDP as an overriden variable in the current scenario. If GDP is endogenous, it is also added to the exclude list.
mod1.scenario(a=_1) "sim1"
mod1.adjust gdp =+10
sets the current scenario as “SIM1”, with an alias of _1, and then overrides the variable GDP, setting the override series, GDP_1, equal to the previous values in GDP_1 plus 10.
mod1.scenario(a=_1) "sim1"
mod1.adjust(init="sim2") gdp =+10
performs the same operation, but rather than using the previous values in GDP_1 for the array expression, the values in GDP_2 (corresponding to the scenario SIM2) are used.
Cross-references
See “Models” for a discussion of specifying and solving models in EViews. See also, the discussion in “Specifying Scenarios”.
See Model::scenario and Model::compare.