Giter VIP home page Giter VIP logo

feenstra_chap2's Introduction

Feenstra 2016, chapter 2: The Heckscher-Ohlin model.

My aim here is to create versions of the .do files for the empirical exercises accompanying chapter 2 of Feenstra (2016) in R, which will then allow me to complete them.

Note that this is a work in progress, and will be updated as I complete the various components.

The original files for the empirical exercises can be found here.

Downloading and then unzipping the .zip for Chapter 2 will give you a directory containing the following:

  • compute_pi.do
  • Documentation_Ch2.doc
  • Empirical_Exercise_Ch2.doc
  • hov_pub.csv
  • hov_pub.do
  • sign_rank_1.do
  • sign_rank_2.do

For this replication/translation work I have copied the .csv with the underlying data across. However, I have not copied the .doc files, as mixing git and binary files like .doc is not recommended.

"Empirical_Exercise_Ch2.doc" describes the empirical exercises for the chapter and is not reproduced here. For convenience, documentation of the data is copied from "Documentation_Ch2.doc" below:

"The file "hov_pub.csv" is an Excel (comma delimited) file containing the data for Trefler (1993, 1995). There are eight variables without labelling. The first column is the character variable COUNTRY, second is the character variable FACTOR. The rest are FACTOR CONTENT OF TRADE (AT), ENDOWMENT (V), GDP (Y) and TRADE BALANCE (B), GDP PER-CAPITA (YPC) and POPULATION (POP). All data pertain to 1983.

There are 33 countries in the sample. The variable FACTOR CONTENT OF TRADE is equal to A*T in Trefler's paper, which is calculated using U.S. technology matrix. ENDOWMENT includes 9 factors: Capital, Labour endowment in professional/technical, Labour endowment in clerical, Labour endowment in sales, Labour endowment in services, Labour endowment in agriculture, Labour endowment in production, Cropland, and Pasture. Capital endowments were converted into dollars using PPP-adjusted exchange rates. Cropland was measured in hectares. GDP and TRADE BALANCE were converted into dollars."

feenstra_chap2's People

Contributors

lachlanblain avatar

Watchers

James Cloos avatar  avatar

Forkers

sanguovbobo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.