pymrio.calc_B

pymrio.calc_B(Z, x)

Calculate the B matrix (coefficients) from Z and x.

B is a normalized version of the industrial flows of the transpose of Z, which quantifies the input to downstream sectors.

Parameters
  • Z (pandas.DataFrame or numpy.array) – Symmetric input output table (flows)

  • x (pandas.DataFrame or numpy.array) – Industry output column vector

Returns

Symmetric input output table (coefficients) As The type is determined by the type of Z. If DataFrame index/columns as Z

Return type

pandas.DataFrame or numpy.array