mario.calc_b#
\[b = \operatorname{diag}(X)^{-1} Z\]
- mario.calc_b(X, Z)#
Calculate the
bintersectoral transaction direct-output coefficients matrix.- Parameters:
X (pandas.DataFrame) –
Xtotal production vector.Z (pandas.DataFrame) –
Zintersectoral transaction flows matrix.
- Returns:
bintersectoral transaction direct-output coefficients matrix. Rows ofZare scaled by inverse production.- Return type:
pandas.DataFrame