© Scott McDonald
GTAP Data in Social Accounting Matrix & for GLOBE Model
We welcome and appreciate suggestions about how these codes can be improved, especially if accompanied by code.
GTAP in a SAM
‘GTAP in a SAM’ was developed to overcome the difficulties many users had understanding the accounting relationships in the GTAP database. The method was documented in GTAP technical paper (#22): the 2nd most visited GTAP technical paper. A revised version of the Technical Paper is available here (GTAP declined to make a revised version available).
It was developed using with GTAP v5 and v6, and has since been updated with each release of the GTAP database. Since version 7 the codes have exported all the GTAP data in SAM and satellite account format. The data are saved as GDX files.
The code was developed using GAMS and all versions are available here as a GAMS User Model Library. The code in GTAPAgg, the programme that is used to distribute the GTAP databases, that produces a SAM was derived from the GAMS code.
The codes provided here work with GTAP v5 to GTAP v10 and convert the entire GTAP database to GDX in SAM and satellite account format . A User Guide is also supplied.
GLOBE Model Data
The code to generate SAMs and satellite data for the GLOBE models are integrated with the code to extract the GTAP database to GDX.
SAMGator, a Excel VBA interface, and ‘standard’ GAMS codes are provided to facilitate aggregation of the databases.
The codes for versions 5 to 10 of GTAP are supplied as a GAMS User Model Library
Deriving GLOBE SAMs
Notes on GTAP Data