Jump to content

RAS algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hanzzoid (talk | contribs) at 16:11, 3 July 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The RAS algorithm proposed by Bacharach (1965) estimates a nonnegative matrix from its marginals[1], a task frequently arising in input-output analysis. RAS is similar to the Iterative Proportional Fitting Procedure (IPFP). Both algorithms iteratively apply interchanging row and column fitting steps to achieve entropy minimization and maximum-likelihood estimation under certain distributional assumptions.

RAS generates a matrix similar to the intial matrix , that is, small elements of are small in . This is the property of structure conservation. Assuming an underlying multinomial distribution, the estimated matrix is the most probable one given the specified marginal constraints.

The Problem

Let be the initial matrix with nonnegative entries, a vector of specified row marginals (e.i. row sums) and a vector of column marginals. We wish to compute a matrix similar to A in the sense of structure conservation and with the given marginals, meaning

and

Algorithm

Define the diagonalization operator , which produces a (diagonal) matrix with its input vector on the main diagonal and zero elsewhere. Then, for , set

where

Finally, we obtain .

Notes

  1. ^ Bacharach, M. (1965). "Estimating Nonnegative Matrices from Marginal Data". International Economic Review. 6: 294–310. JSTOR 2525582.