mario.calc_X_from_w
- mario.calc_X_from_w(w, Y)#
Calculate the
Xtotal production vector fromwandY.\[X = w\,(Y\mathbf{1})\]- Parameters:
w (pandas.DataFrame) –
wLeontief inverse matrix.Y (pandas.DataFrame) –
Yfinal demand matrix.
- Returns:
Xtotal production vector computed fromwand total final demand fromY.- Return type:
pandas.DataFrame
Notes
Final demand is summed across its columns before multiplication. The returned single column is named
production.