<< changeq Creation and simulation of macroeconometric models create_emptymodel >>

grocer >> Creation and simulation of macroeconometric models > changesym

changesym

change the status of variables to a model

CALLING SEQUENCE

model2=changesym(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' or '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

Changes the status of some variables in a model.

EXAMPLE

global GROCERDIR;
// load the model small:
load(GROCERDIR+'\data\small.dat')
small2=changesym(small,'exogenous','tc_d5_s14e3')

AUTHOR

Éric Dubois 2018

Report an issue
<< changeq Creation and simulation of macroeconometric models create_emptymodel >>