output.decomposition: Decomposition of Output Changes

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/output.decomposition.R

Description

Performs decomposition of output changes given two periods of data. You can decompose by origin over internal, external, or total and you can additionally decompose by changes due to final demand, technical change, or total. This follows the technique of Sonis et al (1996).

Usage

1
output.decomposition(io1, io2, origin = "all", cause = "all")

Arguments

io1

The first period InputOutput class object from as.inputoutput

io2

An InputOutput class object from as.inputoutput

origin

Character. Choosing to decompose changes to the sectors due to internal changes, external changes, and/or total

cause

Character. Choosing to decompose changes to the sectors due to changes in fianldemand (f), technical changes leontief (L), or total changes

Details

A superscript of f indicates changes due to final demand, l indicates changes due to the Leontief inverse, and no superscript indicates total. A subscript of s indicates changes in output originating internally of the sectors, n indicates externally, and no subscript indicates total. L is the Leontief inverse and f is aggregated final demand. Analysis is over changes from period 1 to period 2. The values are calculated as follows:

Originating: Total

Δ X^f = L_1Δ f

Δ X^l = Δ L f_1

Δ X = Δ L Δ f

Originating: Internal

Δ X_s^f = diag(L_1)Δ f

Δ X_s^l = diag(Δ L) f_1

Δ X_s = diag(Δ L) Δ f

Originating: External

Δ X_n^f = Δ X^f - Δ X_s^f

Δ X_n^l = Δ X^l - Δ X_s^l

Δ X_n = Δ X - Δ x_s

Value

The function always outputs a named row of some variant of delta.X. A prefix indicates the changes origin where total is blank. A suffix indicates the cause of the change where total is also blank.

int

A prefix for internal

ext

A prefix for external

f

A suffix for final demand

L

A suffix for technical or Leontief

Author(s)

John J. P. Wade, Ignacio Sarmiento-Barbieri

References

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)

Sonis, Michael & Geoffrey JD Hewings, & Jiemin Guo. Sources of structural change in input-output systems: a field of influence approach. Economic Systems Research 8, no. 1 (1996): 15-32.

See Also

as.inputoutput

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(toy.IO)
data(toy.IO2)
class(toy.IO)
class(toy.IO) == class(toy.IO2)

OD1 <- output.decomposition(toy.IO, toy.IO2)
OD1$Hogwarts

OD2 <- output.decomposition(toy.IO, toy.IO2, origin = "external", 
                            cause = c("finaldemand","leontief"))
OD2

ioanalysis documentation built on Jan. 13, 2021, 5:16 p.m.