discussion paper

GAMS code for estimating a Social Accounting Matrix (SAM) using cross entropy methods (CE)

by Sherman Robinson and
Moataz El-Said
Open Access

This paper documents the computer code implementing the CE-SAM estimation technique in GAMS (General Algebraic Modeling System). It defines the estimation problem in a deterministic setting; extends the approach to include a stochastic treatment of errors in control totals; summarizes the equations describing CE technique for estimating a consistent SAM starting from an inconsistent data set estimated with error; and provides the GAMS code.