<< addeq Creation and simulation of macroeconometric models bounds_db4model >>

grocer >> Creation and simulation of macroeconometric models > addsym

addsym

add a variable to a model

CALLING SEQUENCE

model2=addsym(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 simulation

Output

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

DESCRIPTION

Add new variables in one of the possible lists (endogenous, exogenous, residuals).

EXAMPLE

global GROCERDIR;
// load the model small:
load(GROCERDIR+'\data\small.dat')
// load the database small_db:
small2=addsym(small,'endogenous','cb')

AUTHOR

Éric Dubois 2018

Report an issue
<< addeq Creation and simulation of macroeconometric models bounds_db4model >>