Generalized RAS, matrix balancing/updating, biproportional method
PURPOSE: estimate a new matrix X with exogenously given row and column totals that is a close as possible to a given original matrix X0 using the so-called Generalized RAS (GRAS) approach.
Open the directory where gras.m is saved, write in the MATLAB editor
>> help gras
and you will easily understand how to use this function.
All the details of the GRAS approach are described in Temurshoev, U., Miller R.E. and M.C. Bouwmeester (2013), A note on the GRAS method, Economic Systems Research, 25:3, pp. 361-367. If you use this program and publish the results in the form of working/discussion papers, journal articles etc., you are kindly asked to cite the mentioned paper (its web Appendix includes the current code).
Cite As
Umed Temurshoev (2026). Generalized RAS, matrix balancing/updating, biproportional method (https://www.mathworks.com/matlabcentral/fileexchange/43231-generalized-ras-matrix-balancing-updating-biproportional-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
