mario.calc_f_dis
- mario.calc_f_dis(e, w)#
Calculate a diagonalized representation of
f.\[f_{\mathrm{dis}} = \operatorname{diag}(e_k)\,w\]- Parameters:
e (pandas.DataFrame or pandas.Series) –
eenvironmental transaction coefficients to diagonalize.w (pandas.DataFrame) –
wLeontief inverse matrix.
- Returns:
Diagonalized representation of the
ftotal (direct+indirect) environmental transaction coefficients matrix, built asdiag(e) @ w.- Return type:
pandas.DataFrame
Notes
emust contain one account with one coefficient per production node. Rows identify contributing nodes and columns identify the receiving nodes. Summing the rows recovers that account incalc_f. For multiple accounts, usedb.f_ex(...).