Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

concordance (version 1.6)

getSigma: getSigma

Description

getSigma is used to return trade elasticities (import demand elasticities) for a given product.

Usage

getSigma(sourcevar, origin, continuous=TRUE, verbose=FALSE)

Arguments

sourcevar

Codes to be converted

origin

Coding scheme of origin (name enclosed in quotes "")

continuous

Logical. If 'TRUE', returns a numeric value. If 'FALSE', returns one of 'low', 'medium', 'high', where 'low' is less than 33th percentile (differentiated), and 'high' is above 66th percentile (substitutable).

verbose

If 'TRUE', displays verbose messages for debugging purposes

Details

Supports the following classifications: HS, NAICS

The following strings can be used as arguments for origin: "hs" (for HS Combined), "naics".

References

C. Broda and D. Weinstein, "Globalization and the Gains from Variety," Quarterly Journal of Economics Volume 121, Issue 2 - May 2006

Examples

Run this code
# NOT RUN {
getSigma("1111", "naics")

# }

Run the code above in your browser using DataLab