Contribution

I-O Table Submission
Notes on procedures
Format specifications
Concordances
Utilities
Problem areas
Documentation
What to send us?
What do we check?

GTAP Data Bases: Utilities Available to Contributors

An exercise book containing easy to use Gempack programs which assist contributors with the manipulation of simple IO/SAM data into the GTAP format is available. We strongly encourage contributors to go through these exercises.

PDF File Exercises in Contributing I-O Tables to the GTAP Data Base
      by Horridge, Mark, Robert McDougall, Badri Narayanan and Terrie Walmsley

We also distribute a number of small utilities to help contributors produce GTAP-ready I-O tables, some of which are already included in the exercises above.

Download link Description
Zip FileBalance check We check that the table satisfies the sectoral balance condition, that in each sector total sales are equal to total costs.

If the balance condition is not satisfied, but the imbalances are very small, we modify the table ourselves, making adjustments to changes in stocks so as to achieve balance. If the imbalances are not small, we return the table for further work.

To obtain more information about how to run this program please view the readme file. This readme file will also assist you with getting the other programs below to work. If you do not have a version of GEMPACK which uses the Fortran compiler an alternative STI file (contained in a zip file), referred to in the readme, will help you to edit your STI files.

This program runs using GEMPACK. The zip file contains:
  • balchk.tab - program which must be run through tablo and ltg
  • balchk.sti - stored input file for running the program. Open file in editor and ensure that inputs are correctly named. Then under run TG program (in Wingem) select run using sti file from the options.
  • maxbal.dat - input file containing the thresholds allowed
  • common.har - sets common to all checks
  • sec.har - list of sectors in your data. If you have less than 57 sectors you will need to edit this file
  • Io.har - your data in the new unified format. You will need to create this file yourself or use the IO table conversion program below to convert the old format to this format.
Sign checkSign check Checks that the sign conditions are met:
  1. All pre-tax commodity usage values (except changes in stocks) are non-negative,
  2. Where pre-tax commodity usage values are strictly positive, post-tax values are also strictly positive, and
  3. All factor usage values are non-negative.

This program runs using GEMPACK. The readme file explains how to run the Balance check program - the same instructions apply here. The zip file contains:
  • signchk.tab - program which must be run through tablo and ltg
  • signchk.sti - stored input file for running the program. Open file in editor and ensure that inputs are correctly named. Then under run TG program (in Wingem) select run using sti file from the options.
  • maxsign.dat - input file containing the thresholds allowed
  • common.har - sets common to all checks
  • sec.har - list of sectors in your data. If you have less than 57 sectors you will need to edit this file
  • Io.har - your data in the new unified format. You will need to create this file yourself. Or use the IO table conversion program below to convert the old format to this format.
Tax checkRidiculous tax check This program checks for tax rates that exceed 200%. We examine these because often high tax rates reflect problems in balancing procedures (although sometimes they do simply reflect high tax rates in the country). This program runs using GEMPACK. The readme file explains how to run the Balance check program - the same instructions apply here. The zip file contains:
  • taxchk.tab - program which must be run through tablo and ltg
  • taxchk.sti - stored input file for running the program. Open file in editor and ensure that inputs are correctly named. Then under run TG program (in Wingem) select run using sti file from the options.
  • maxtax.dat - input file containing the thresholds allowed
  • common.har - sets common to all checks
  • sec.har - list of sectors in your data. If you have less than 57 sectors you will need to edit this file
  • Io.har - your data in the new unified format. You will need to create this file yourself. Or use the IO table conversion program below to convert the old format to this format.
ConversionI-O Table Conversion To convert I-O tables from the original format into the new unified format. The output from this file is that used by the above 3 programs. This program runs using GEMPACK. The zip file contains:
  • unify.tab - program which must be run through tablo and ltg
  • unify.sti - stored input file for running the program. Open file in editor and ensure that inputs are correctly named. Then under run TG program (in Wingem) select run using sti file from the options.
  • common.har - sets common to all checks
  • sec.har - list of sectors in your data. If you have less than 57 sectors you will need to edit this file
  • IOold.har - your data in the old format. You will need to create this file yourself.
Other toolsOther tools Supplied by Mark Horridge. These utilities were developed to help produce I-O tables for the 7 Southern African countries in v.5 of the GTAP Data Base.
Other toolsGAMs program Supplied by Dario Debowicz. This is a GAMS program utilized to contribute the Pakistan SAM in the GTAP 8 Data Base (original SAM included).
DAGG DAGG is a command-line program for aggregating, disaggregating and RASsing data on header array files (with lengthy instruction document and FORTRAN source). DAGG was developed by Mark Horridge.
Representative table The representative table is a weighted sum of tables for primary GTAP regions (not including composite regions). The weights are such as to ensure that each region is represented in proportion to its GDP. To construct the representative table we use tables on hand from the last version of the data base. Please contact Angel Aguiar.