mario.calc_X_from_w(w, Y)#

Calculate the X total production vector from w and Y.

\[X = w\,(Y\mathbf{1})\]
Parameters:
  • w (pandas.DataFrame) – w Leontief inverse matrix.

  • Y (pandas.DataFrame) – Y final demand matrix.

Returns:

X total production vector computed from w and total final demand from Y.

Return type:

pandas.DataFrame

Notes

Final demand is summed across its columns before multiplication. The returned single column is named production.