<< deleq Creation and simulation of macroeconometric models find_in_equations >>

grocer >> Creation and simulation of macroeconometric models > delsym

delsym

remove variables from a model

CALLING SEQUENCE

model2=delsym(model,arg1,...,argn)

PARAMETERS

Input

* model = a model typed list created by the function create_model

* arg1,...,argn =

   - a number of paired arguments with the following sequence: 'type of variable', vector_of_variables_names with 'type of variable' = 'endogenous', 'exogenous' or 'residuals'

   - 'notransf' if the user does not want to transform for estimation and simulation

Output

* model2 = the new model, with the new endogenous, exogenous and residuals and coresponding fields adjusted

DESCRIPTION

Remove variables in one of the possible lists (endogenous, exogenous or residuals).

EXAMPLE

global GROCERDIR;
// load the model small:
load(GROCERDIR+'\data\small.dat')
// in model small, change to exoegnous the statute of variable tc_d5_s14e3:
small2=changesym(small,'exogenous','tc_d5_s14e3')

AUTHOR

Éric Dubois 2018

Report an issue
<< deleq Creation and simulation of macroeconometric models find_in_equations >>