pymrio.calc_Z
- pymrio.calc_Z(A, x)
calculate the Z matrix (flows) from A and x
A = Z / x[None, :] => Z = A * x[None, :]
By definition, the coefficient matrix A is basically the normalized flows So Z is just derived from A by un-normalizing using the industrial output x
- Parameters
A (pandas.DataFrame or numpy.array) – Symmetric input output table (coefficients)
x (pandas.DataFrame or numpy.array) – Industry output column vector
- Returns
Symmetric input output table (flows) Z The type is determined by the type of A. If DataFrame index/columns as A
- Return type
pandas.DataFrame or numpy.array