Biproportion, whatever the algorithm used to solve it, is the following concept: Z, matrix Y and matrix X are known real nonnegative matrices of dimension n,m; the interior of Y is unknown and X is searched such that X has the same margins than Y, i.e. Xs=Ys and s'X=s'Y (s being the sum vector), and such that X is close to Z following a given criterion, the fitted matrix being of the form X=K(Z,Y)=PZQ, where P and Q are diagonal matrices. min \sum_i\sum_j x_{ij}\log(x_{ij}/z_{ij}) s.t.\sum_j x_{ij}=y_{i.}, ∀i and \sum_i x_{ij}=y_{.j}, ∀j. The Lagrangian is L=\sum_i\sum_j x_{ij}\log(x_{ij}/z_{ij})-\sum_i p_i(y_{i.}-\sum_j x_{ij})-\sum_jq_j(y_{.j}-\sum_i x_{ij}). Thus x_{ij}=z_{ij} \exp-(1+p_i+q_j), for ∀i,j, which, after posing P_i=\exp-(1+p_i) and Q_j=\exp-q_j, yields x_{ij}=P_i z_{ij} Q_j, ∀i,j, i.e., X=PZQ, with P_i=y_{i.}(\sum_j z_{ij}Q_j)^{-1}, ∀i and Q_j=y_{.j}(\sum_i z_{ij}P_i)^{-1}, ∀j. P_i and Q_j form a system that can be solve iteratively: P_i^{(t+1)}=y_{i.}(\sum_j z_{ij}Q_j^{(t)})^{-1}, ∀i and Q_j^{(t+1)}=y_{.j}(\sum_i z_{ij}P_i^{(t+1)})^{-1}, ∀j. The solution X is independent of the initialization chosen (i.e., we can begin by q_j^{(0)}=1, ∀j or by p_i^{(0)}=1, ∀i. If the matrix Z is “indecomposable”, then this process has a unique fixed-point because it is deduced from a program where the function is a convex and continuously derivable function defined on a compact set. In some cases the solution may not exist: see de Mesnard's example cited by Miller and Blair (Miller R.E. & Blair P.D. (2009) Input-output analysis: Foundations and Extensions, Second edition, Cambridge (UK): Cambridge University Press, p. 335-336 (freely available)). Some properties (see de Mesnard (1994)): Lack of information: if Z brings no information, i.e., z_{ij}=z, ∀i,j then X=PQ. Idempotency: X=K(Z,Y)=Z if Y has the same margins than Z. Composition of biproportions: K(K(Z,Y_1),Y_2=K(Z,Y_2); K(...K(Z,Y_1),Y_2)...Z_N)=K(Z,Y_N). Zeros: a zero in Z is projected as a zero in X. Thus, a bloc-diagonal matrix is projected as a bloc-diagonal matrix and a triangular matrix is projected as a triangular matrix. Theorem of separable modifications: if Z is premutiplied by a
diagonal matrix and/or postmultiplied by a diagonal matrix, then the solution is unchanged. Theorem of "unicity": If K^{q} is any non-specified algorithm, with \hat{X}=K^{q}(Z,Y)=UZV, U and V being unknown, then U and V can always be changed into the standard form of P and Q. The demonstrations calls some above properties, particularly the Theorem of separable modifications and the composition of biproportions. == Algorithm 1 (classical IPF) ==