Giter VIP home page Giter VIP logo

feenstra-eaton-and-kortum's Introduction

Feenstra-Eaton-and-Kortum

Applies Feenstra's (1994) estimation method to simulated data from Eaton and Kortum (2002) model.

This code (i) estimates the structural parameters for the EK(2002) modelfrom a gravity regression (ii) simulates micro level prices and shares from the EK (2002) model and (iii) performs the Feenstra (1994) (I closely follow the presentation in his 2010 Prodcut Variety and Gains from Trade book). The results from this code were presented in the appendix of working paper versions of SW(2014).

Key finding: Feenstra's method estimates the elasticity of substitution across goods. NOT THE ELASTICITY OF TRADE. This has the implication that IF the data generating process is of the EK model, then Feenstra's method is not estimating a welfare relevant parameter.

Stucture of code: "run_feenstra.m" is the driver file. It first calls "stata_to_tau_to_trade.m" and "gravity_run.do" to estimate the structural paramters from bilateral trade flows. The file "gen_feenstra_data_estimate.m" then simmulates micro level data from the EK(2002) model and then applies Feenstra's method to the data.

NOTE: in "gravity_run.do" you need to change the directory name.

feenstra-eaton-and-kortum's People

Contributors

mwaugh0328 avatar

Watchers

James Cloos avatar  avatar

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.