摘要: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.