Description Usage Arguments Details Value Author(s) References Examples

Computes the Ghoshian (ouput) inverse. `ghosh.inv`

has inputs to invert a subset of all regions if desired. If not using an `InputOutput`

object from `as.inputoutput`

, the functionality is limited. See example for more details.

Caution: Inverting large matrices will take a long time. R does a computation roughly every 8e-10 second. The number of computations per matrix inversion is n^3 where n is the dimension of the square matrix. For n = 5000 it should take 100 seconds.

1 |

`Z` |
Either an object class of |

`X` |
Vector. Total production vector. Not required if Z is an object with |

`B` |
Matrix. Matrix of technical output coefficients. |

`RS_label` |
Matrix. A nx2 column matrix of labels for regions and sectors. The first column must be regions and the second column must be sectors. This is used to match with the intermediate transaction matrix. |

`regions` |
Character or Integer. Specific regions to be used. Can either be a character that exactly matches the name of the region in |

The Ghoshian inverse is derived from the input-output table A=[a_ij] where

*b_ij=z_ij/X_i*

where z_ij is the input from i required in the production of j. X_i is the corresponding input in each row. The Leontief inverse is then computed as

*(I-B)^{-1}*

Observe we result with the following system

*X'=V'G*

Therefore, the element *g_{ij}* is interpreted as the ratio of sector i's value added contributing to the total production of sector j.

Returns a matrix with the Ghoshian Inverse

Ignacio Sarmiento-Barbieri, John J. P. Wade

Ghosh, A. (1958). "Input-output Approach in an Allocation System," *Econometrica*, New Series, Vol. 25, No. 97 (Feb., 1958), pp. 58-64.

Nazara, Suahasil & Guo, Dong & Hewings, Geoffrey J.D., & Dridi, Chokri, 2003. *PyIO. Input-Output Analysis with Python*. REAL Discussion Paper 03-t-23. University of Illinois at Urbana-Champaign. (http://www.real.illinois.edu/d-paper/03/03-t-23.pdf)

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.