mario.calc_F
- mario.calc_F(f, Y)#
Calculate the
Ftotal (direct+indirect) environmental transaction flows matrix.\[F = f\,\operatorname{diag}(Y\mathbf{1})\]- Parameters:
f (pandas.DataFrame) –
ftotal (direct+indirect) environmental transaction coefficients matrix.Y (pandas.DataFrame) –
Yfinal demand matrix.
- Returns:
Ftotal (direct+indirect) environmental transaction flows matrix.- Return type:
pandas.DataFrame
Notes
Final demand is summed across its columns, then each column of
fis scaled by the corresponding total. The output keeps the accounts and production-node axes off; it does not keep the final-demand category columns ofY.