<< model_setval Creation and simulation of macroeconometric models set_residuals2zero >>

grocer >> Creation and simulation of macroeconometric models > rhs_minus_lhs

rhs_minus_lhs

displays the absolute maximum value of model equations if it is above a threshold

CALLING SEQUENCE

rhs_minus_lhs(model,dbmat,boun,tol)

PARAMETERS

Input

* model = a model tlist

* dbmat= a tsmat, representing the database associated to the model

* boun = a [2 x 1] string vector, the bound over which to perform the calcualtions

* tol = a scalar, the tolerance criterion

Output

* nothing : results are displayed on screen

DESCRIPTION

For a model and an associated database calculates the rhs minus the lhs of each equation and displays the absolute maximum value if it is above a threshold.

EXAMPLE

global GROCERDIR;
// load the model small:
load(GROCERDIR+'\data\small.dat')
// load the database small_cale
load(GROCERDIR+'\data\small_cale.dat')
small_cale_db=small_cale('simulation results');
rhs_minus_lhs(small,small_cale_db,['1981q1';'2006q4'],1e-10)

AUTHOR

Éric Dubois 2019

Report an issue
<< model_setval Creation and simulation of macroeconometric models set_residuals2zero >>