ECON 442: Quantitative Trade Models
Course Information
Time: 2:00–3:15pm Sun, Tues
Location: LA12
Website: http://rossbach.georgetown.domains/econ442.html
Office: 0D25
Contact: jack.rossbach@georgetown.edu
Lecture Notes & Slides
Setting Up and Using R
This class will use DataCamp to support learning R (DataCamp Blurb)
RStudio: Download and install this (requires R)
Basics of R Programming
Slides for In-Class Exercise
Understanding R Code Notes
Notes on Solving Systems of Equations with R (Newton's Method Examples, Solutions for Exercises)
Slides for In-Class Exercise
Basic Ricardian Models
Review of Graphical Ricardian Model
Formalization of Ricardian Model
Solving the Free Trade Equilibrium in Ricardian Model
Slides for Computing Autarky Equilibrium in R (Template R Code for Autarky; R Code for Autarky)
Free Trade Equilibrium Equations (Template R Code for 2X2 Case, Solution)
Midterm Guide
Trade Policy
Trade Costs and Many-Good Ricardian Models
Armington Trade Models
Data Sources
- Bilateral Trade Flows
- Comtrade: http://comtrade.un.org/ (personally prefer http://comtrade.un.org/db/dqQuickQuery.aspx)
- World Integrated Trade Solution (WITS): http://wits.worldbank.org/
- OECD's STAN Database for Structural Analysis: https://stats.oecd.org/Index.aspx?DataSetCode=BTDIXE
- Concordances: http://www.macalester.edu/research/economics/PAGE/HAVEMAN/Trade.Resources/TradeConcordances.html and http://unstats.un.org/unsd/cr/registry/regot.asp?Lg=1
- Bilateral Tariff and Gravity Data
- Trade Analysis and Information System (TRAINS), accessed through WITS: http://wits.worldbank.org/
- CEPII Gravity Dataset: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=8
- Country-level Data
- World Development Indicators: http://databank.worldbank.org/data/home.aspx
- OECD Databases: http://stats.oecd.org/ and http://www.oecd-ilibrary.org
- IMF's International Financial Statistics (IFS) and Other Databases: http://data.imf.org
- Penn World Table (PPP Data): http://www.rug.nl/research/ggdc/data/pwt/
- Total Economy Database (Hour Worked Data): https://www.conference-board.org/data/economydatabase/index.cfm?id=27762
- Integrated Public Use Microdata Series (IPUMS), International: https://international.ipums.org/international/
- Misc Data
- Wharton Research Data Service (WRDS): http://wrds.wharton.upenn.edu/ (Several databases that may be of interest, including information on stocks, bonds, and firm-level financials)
- World Bank Enterprise Surveys (firm level survey data): http://www.enterprisesurveys.org/data/survey-datasets
- World Input-Output Tables (WIOD): http://www.wiod.org/new_site/database/wiots.htm