Results.gms (Outdated)
Results.gms
calculates aggregates, change in welfare and other other variables. These calculations are made for two geographical breakdown: the one used for all the simulations and another one more aggregated. Both are defined in Aggregation.xls
. See spreadsheet interface (Outdated) for more details. Make sure you have the file Definitions.gms
with the chosen aggregation in your MIRAGE directory.
You can change the files Indicateurs.gms
, Variations.gms
and Sorties.gms
if you want to add more variables to Excel output than by default. On the contrary, the files PrixX.gms
, PrixP.gms
, Exp.gms
, Imp.gms
, Var.gms
, Result_ini.gms
and Result_var
must not be changed.
Macroeconomic aggregates
Welfare measurement
Equivalent variation in a given year and a given country is defined as:
$$ EV_{r,t} = E\left(P_{r,t}^0,U_{r,t}\right)-E\left(P_{r,t}^0,U_{r,t}^0\right) $$
Welfare decomposition
Results extraction
Options
At the beginning of the file, you define the initial year used to display the initial level in Excel files.
$setglobal ini 2006 ! First year for results display
By default, for most of variables only the last year is extracted for Excel. You can add other years by changing the subset t_. Be aware that the files risk to be very big if you add too many years.
SET t_(Temps); t_(Temps)$card(Temps) = yes;
Files
Seven csv files per simulations are written in the subdirectory Results
. They have no specific name by default. You have two ways to define a name. Results.gms
expects as a name a control variable called simu
. You can define it on the command line like in MIRAGE.gms (Outdated) or inside Results.gms
with the following line:
$set simu example
When you have extracted all results, use the Excel Add-in TCD.xla
to get them in Excel pivot tables. See extraction of results (Outdated) for more details.