wwz2kww function

Koopman-Wang-Wei from Wang-Wei-Zhu Decomposition

Koopman-Wang-Wei from Wang-Wei-Zhu Decomposition

This function by default returns a disaggregated version of the the Koopman-Wang-Wei (KWW) decomposition breaking up sector-level gross exports into 9 value added terms, from an already computed and more detailed (16 term) Wang-Wei-Zhu decomposition of sector-level gross exports. An aggregation option also allows obtaining the aggregate KWW decomposition.

wwz2kww(x, aggregate = FALSE)

Arguments

  • x: a data frame with the WWZ decomposition obtained from wwz. Alternatively a 'decompr' class object from load_tables_vectors can be supplied, which will toggle calling wwz() first.
  • aggregate: logical. TRUE aggregates the KWW decomposition to the country level, giving exactly the same output as kww. FALSE maintains the sector level decomposition in KWW format.

Returns

A data frame with exports decomposed into 9 components (columns), see the table above and kww for a shorter description of the 9 terms.

Details

The mapping of the 16 terms in the WWZ decomposition to the 9 terms in the KWW decomposition is provided in table E2 in the appendix of the WWZ (2013) paper. The table is reproduced here using the term naming conventions followed in this package.

WWZ TermsKWW TermDescription
DVA_FINDVA_FINDomestic VA in final goods exports.
DVA_INT, DVA_INTrexI1DVA_INTDomestic VA in intermediate exports absorbed by direct importers. WWZ separates VA in final goods produced and consumed by direct importer from VA used by direct importer to produce intermediate exports for production of domestically consumed final goods in third countries (i.e. the VA is absorbed by the direct importer, but it may be exported to third countries as intermediates first before returning to direct importer as final goods).
DVA_INTrexF, DVA_INTrexI2DVA_INTrexDomestic VA in intermediate exports reexported to third countries and absorbed there. WWZ separates VA in final goods exports of direct importer to third countries from VA in intermediate exports from direct importers to third countries (that is ultimately absorbed in third countries).
RDV_FIN, RDV_FIN2RDV_FINDomestic VA in intermediate exports that returns home via final imports. WWZ separates final imports from the direct importer and third countries.
RDV_INTRDV_INTDomestic VA in intermediate exports that returns via intermediate imports (i.e. is used to produce a locally consumed final good).
DDC_FIN, DDC_INTDDCDouble counted Domestic Value Added in gross exports. WWZ separates double counting due to final and intermediate exports production.
MVA_FIN, OVA_FINFVA_FINForeign VA in final goods exports. WWZ separates FVA from direct importer and from third countries.
MVA_INT, OVA_INTFVA_INTForeign VA in intermediate exports. WWZ separates FVA from direct importer and from third countries.
MDC, ODCFDCDouble counted Foreign Value Added in gross exports. WWZ separates FDC from direct importer and from third countries.

Note

If both WWZ and KWW decompositions are required, it is computationally more efficient to call wwz2kww(x, aggregate = TRUE) on an already computed WWZ decomposition, than to call kww on a 'decompr' object.

Examples

# Load example data data(leather) # Create intermediate object (class 'decompr') decompr_object <- load_tables_vectors(leather) # Perform the WWZ decomposition WWZ <- wwz(decompr_object) # Obtain a disaggregated KWW decomposition KWW <- wwz2kww(WWZ) # Aggregate KWW wwz2kww(WWZ, aggregate = TRUE) # Same as running KWW directly, but the former is more efficient # if we already have the WWZ kww(decompr_object)

References

Koopman, R., Wang, Z., & Wei, S. J. (2014). Tracing value-added and double counting in gross exports. American Economic Review, 104(2), 459-94.

Wang, Zhi, Shang-Jin Wei, and Kunfu Zhu (2013). Quantifying international production sharing at the bilateral and sector levels (No. w19677). National Bureau of Economic Research.

See Also

wwz, kww, decompr-package

Author(s)

Sebastian Krantz