getSigma
is used to return trade elasticities (import demand elasticities) for a given product.
getSigma(sourcevar, origin, continuous=TRUE, verbose=FALSE)
Codes to be converted
Coding scheme of origin (name enclosed in quotes "")
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).
If 'TRUE', displays verbose messages for debugging purposes
Supports the following classifications: HS, NAICS
The following strings can be used as arguments for origin
: "hs" (for HS Combined), "naics".
C. Broda and D. Weinstein, "Globalization and the Gains from Variety," Quarterly Journal of Economics Volume 121, Issue 2 - May 2006
# NOT RUN {
getSigma("1111", "naics")
# }
Run the code above in your browser using DataLab