Object Reference : Object View and Procedure Reference : Model
  
 
fliptype
Symbolically alter the model’s equations to specify a new set of endogenous variables.
Syntax
model_name.fliptype(options) variables [@lock fixed-variables] [@lockafs] [@lockinnovs]
The variables parameter is a list of endogenous and exogenous variables in any order. Group objects may be included in the list. An equal number of endogenous and exogenous variables must be specified. Each listed endogenous variable will be made exogenous and each listed exogenous variable will be made endogenous by rewriting a number of the model’s equations. The number of equations modified will be at least the number of endogenous/exogenous variables specified, e.g., flipping a set of three endogenous and three exogenous variables will require at least three equations to be modified. All modified equations will have any associated add factor or innovation variance dropped from their specification (see the af2exog option below). The optional @lock clause can be used to prevent the modification of any equation whose endogenous variable is listed in fixed-variables. Inclusion of the optional @lockafs or @lockinnovs tags indicates that all equations with either add factors or innovations variances, respectively, should not be modified.
Options
 
dest=name
Instead of altering the invoking model object, a copy of the model named name will be created and the flip applied to this new model.
noshift
Rewriting an equation may involve a shift in its lag structure (because endogenous variables must be specified at lag zero). For example, flipping the two variables in the single equation “y = x(-1)” produces “x = y(1)”. Such lag shifting is allowed by default, but can be prevented by including this option. Without lag shifting, EViews may have fewer potential ways to rewrite each equation, possibly resulting in a greater number of altered equations or even an inability to find any satisfactory set of rewrites.
af2exog [= suffix]
Add factor series that are dropped are instead converted to exogenous series and explicitly appear in the model’s equations. This allows the resulting model to remain numerically consistent with the original model. With the optional suffix specification, the new exogenous series are named as the add factor series followed by suffix, otherwise the original add factor series names are used.
Examples
mod1.fliptype var1 var2
will flip the endogenous/exogenous role of variables VAR1 and VAR2 in the model by rewriting the model’s equations. For example, if VAR1 is initially endogenous and VAR2 is initially exogenous, the procedure will rewrite the equations of the model so that VAR2 becomes endogenous (the first left-hand side variable of some equation) and VAR1 becomes exogenous (not the first left-hand side variable of any equation). The role of all other variables in the model is unchanged.
Cross-references
See “Solve Control for Target”. See “Models” for a general discussion of models.
See also Model::undoflip.