GTAPinGAMS and GTAP-EG: Global Datasets for Economic Research and Illustrative Models


Thomas F. Rutherford and Sergey V. Paltsev 1

Department of Economics, University of Colorado 2

Working Paper

September 2000

Abstract

This paper documents a new version of the GTAPinGAMS package which includes two global economic datasets, GTAPinGAMS and GTAP-EG, corresponding illustrative models, and several ancillary programs for dataset management. The GTAPinGAMS is a dataset based on a general GTAPv4 dataset. The GTAP-EG is the energy-economy dataset adjusted for OECD International Energy Agency (IEA) statistics. The illustrative models of the GTAPinGAMS package have been implemented as a nonlinear complementarity problem in the GAMS programming language. Having the dataset in GAMS is helpful for researchers because of its open-architecture approach which permits to modify easily the dataset and the model for their own purposes. The document contains a description and directions for installing and using the GAMSinGAMS package.

List of Contents

1.    Introduction
2.    The GTAP Datasets
2.1.  The GTAPinGAMS Dataset
2.2.  The GTAP-EG Dataset
3.    Illustrative Models
3.1.  The GTAPinGAMS Model
3.2.  The GTAP-EG Model
4.    Using the Datasets
4.1   System Requirements
4.2   Download
4.3   The build routine BUILD.BAT
4.4   The build routine ASPEN.BAT
4.5   The Aggregated GTAPinGAMS Dataset: GTAP_SMALL.ZIP
4.6   The Aggregated GTAP-EG Dataset: ASPEN_SMALL.ZIP
4.7   The Aggregation Routine GTAPAGGR.BAT
4.8   The Recalibration Routine IMPOSE.BAT
4.9   The Benchmark Data Testing Routine CHKDATA.BAT
4.10   The Model Testing Routine RUNALL.BAT
4.11   Running the GTAP-EG Model
Appendix 1.   GTAP Identifiers
Appendix 2.   Aggregation of IEA regions into GTAP format
Appendix 3.   An aggregation of production sectors into GTAP-EG format
Appendix 4.   GTAP-EG: Basic statistics
Appendix 5.   MPSGE formulation of the GTAP-EG model
Appendix 6.   ASPEN_SMALL.SET
Appendix 7.   ASPEN_SMALL.MAP
References

Back to GTAPinGAMS Homepage


1  Introduction

The Global Trade Analysis Project (GTAP) is a research program initiated in 1992 to provide the economic research community with a global economic dataset for use in the quantitative analyses of international economic issues. The Project's objectives include the provision of a documented, publicly available, global, general equilibrium data base, and to conduct seminars on a regular basis to inform the research community about how to use the data in applied economic analysis. GTAP has lead to the establishment of a global network of researchers who share a common interest of multi-region trade analysis and related issues. The GTAP research program is coordinated by Thomas Hertel, Director of the Center for Global Trade Analysis at Purdue University. As Deputy Director of this Center, Robert McDougall oversees the data base work. Software development within the GTAP project has been assisted greatly by the efforts of Ken Pearson and other Australian researchers from Centre of Policy Studies, Monash University. (See Hertel [1997], McDougall [1998]. A list of applications based on the GTAP framework can be found at the GTAP home page: http://www.agecon.purdue.edu/gtap/.)

The standard programming language for GTAP data and modeling work has been GEMPACK (Harrison and Pearson [1996]). In the GEMPACK framework the model is solved as a system of nonlinear equations. The present paper describes a version of the GTAP datasets and illustrative models which have been implemented as a nonlinear complementarity problem in the GAMS programming language. This version of the GTAPinGAMS package combines two separate packages GTAPinGAMS (Rutherford [1998]) and GTAP-EG (Rutherford and Paltsev [2000]). Combination of the packages is done due to a development of the new build routine. In addition, users of both packages can save some space and avoid potential confusion with different versions of the programs because both datasets use some similar files. The previous separate versions of these packages can be found at http://debreu.colorado.edu/gtap/gtapgams.html.

Along with the datasets and illustrative models, several ancillary programs for dataset management are developed. These programs should be useful to economists who program in GAMS and wish to use GTAP in applied work. These programs include tools for translation of the GTAP files into GAMS readable form, GAMS programs for dataset aggregation, filtering and the imposition of alternative tax rates on trade or domestic transactions.

The GTAP version 4 database 3 represents global production and trade for 45 country/regions, 50 commodities and 5 primary factors. The data characterize intermediate demand and bilateral trade in 1995, including tax rates on imports and exports. Development of the separate energy-economic dataset is based on the fact that the GTAP data alone are unsuitable for assessing issues such as energy use or climate change (Babiker and Rutherford [1997]). In particular, the GTAP data is at variance with the energy statistics of the International Energy Agency (IEA). In addition, the GTAP database is expressed in terms of values, i.e. price times quantity. The IEA has data on energy quantities, where the energy balances are expressed in a common unit, tonnes of oil equivalent. Information on energy prices and taxes at the level consistent with the GTAP data has been collected by Babiker and Malcolm [1998]. However, since only two out of three variables (price, quantity, value) can be regarded as independent, it is problematic to incorporate both price and quantity data into the GTAP database. Special procedures have been developed in order to incorporate the energy data into the GTAP 4 database. The resulting dataset (called GTAP-EG) is a balanced set of economic accounts (expressed in value terms) which is calibrated to energy quantity and price data.

This paper consists of three sections following this overview. Section 2 describes the GTAP datasets. This section provides information about the data organization and differences between the GTAPinGAMS and GTAP-EG datasets. Section 3 presents the illustrative static models. It starts with a description of the GTAPinGAMS model using Mathiesen's format for the Arrow-Debreu model. This section provides notation and equations describing technology, preferences and equilibrium conditions. It also describes how the GTAPinGAMS model can be expressed in GAMS, either as an MPSGE model or as a system of algebraic equations. This material provides a short but complete overview of how the technology and preferences are calibrated along with GAMS code which performs this task. The GTAP-EG illustrative model, which differs by its energy representation, is also described.

Section 4 has a practical perspective with step-by-step instructions on how to install the GTAPinGAMS package. The intent of this material is to provide as short as possible a learning curve for economists who wish to perform calculations using the GTAP datasets.

This section also describes ancillary GAMS programs which have been developed for use with the GTAP 4 dataset. These include GAMS libinclude programs which read and write GTAP header-array files4; FILTER.GMS, a GAMS program which removes small trade flows and intermediate demands from a GTAP dataset to increase sparsity and provide improved computational performance in large scale models; IMPOSE.GMS, a GAMS program which permits arbitrary adjustment of benchmark tax rates with least-squares recalibration; and GTAPAGGR.GMS, a GAMS program which aggregates any GTAP dataset to a smaller number of goods, factors or regions.


Distribution files for the GTAPinGAMS package are located as follows:

An HTML document which describes the GTAPinGAMS package and provides an access to the distribution files is located at http://debreu.colorado.edu/gtap/gtapgams.html.


Next Section (Chapter 2)
Back to the list of contents
Back to the GTAPinGAMS Homepage


Maintained by Sergey Paltsev
Last Updated 01/20/01
rutherford@colorado.edu