Giter Club home page Giter Club logo

pyeconomics's Introduction

Computational-Economics

Code for a computational economics course I am teaching at the University of Edinburgh. This year's curriculum consists of...

The Solow Model:

A discrete time version of Robert Solow's classic 1956 article entitled: A Contribution to the Theory of Economic Growth. In this lab students...

  • Explore some of the basic implications of the Cobb-Douglas production function using 3D graphics and contour plots.
  • Learn to write basic Python functions to code the key equations of the Solow model.
  • Solve for the steady state of the Solow model analytically and numerically.
  • Learn the basics of symbolic and numerical differentiation in order to assess the stability properties of the model's steady state.
  • Introduction to Object-Oriented Programming (OOP) and simulation using the Python class solowModel.
  • Analyze the response of the model to shocks to the key exogenous parameter model, the savings rate.

The Ramsey Model:

A discrete time version of Frank Ramsey's classic 1928 article entitled: A Mathematical Theory of Saving. In this lab students...

  • Explore some of the basic implications for inter-temporal optimization of the CRRA utility function using 3D graphics and contour plots.
  • Learn to write basic Python functions to code the key equations of the Ramsey model.
  • Solve for the steady state of the Ramsey model analytically and numerically.
  • More basics of symbolic and numerical differentiation in order to assess the stability properties of the model's steady state. Need to calculate the Jacobian and its eigenvalues/vectors!
  • More Object-Oriented Programming (OOP) and simulation using the Python class ramseyModel.
  • Solve for a linear approximation to the optimal policy function for consumption.
  • Solve for the full non-linear optimal policy function for consumption using the forward-shooting algorithm.
  • Compare the linear approximation with the full non-linear optimal policy to discover how good the linear approximation actually is!
  • Some basic welfare analysis of the Ramsey model.
  • Finally, we consider the response of a Ramsey economy to a shock to the growth rate of technology.

A Real Business Cycles (RBC) model:

Basic RBC model from Chapter 5 of David Romer's Advanced Macroeconomics. In this lab students...

  • Explore some of the optimal trade-off between consumption and labor/leisure using 3D graphics and contour plots.
  • Explore some of the basic implications for inter-temporal optimization with two choice variables (i.e., consumption and labor supply!).
  • Solve for the steady-state of the RBC model numerically.
  • Solve for a linear approximation to the recursive equilibrium law of motion for the model using techniques from Uhlig (1997) implemented in the Python class RBC.
  • Generate and analyze impulse response functions and simulate data from the model to show that model correctly captures relative volatilities of investment, output, and consumption.

pyeconomics's People

Contributors

davidrpugh 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.