mario.calc_b#

\[b = \operatorname{diag}(X)^{-1} Z\]
mario.calc_b(X, Z)#

Calculate the b intersectoral transaction direct-output coefficients matrix.

Parameters:
  • X (pandas.DataFrame) – X total production vector.

  • Z (pandas.DataFrame) – Z intersectoral transaction flows matrix.

Returns:

b intersectoral transaction direct-output coefficients matrix. Rows of Z are scaled by inverse production.

Return type:

pandas.DataFrame