Giter Club home page Giter Club logo

solowpy's Introduction

solowPy

Build Status Coverage Status Codacy Badge GitHub License Latest Version Downloads DOI

Library for solving, simulating, and estimating the Solow (1956) model of economic growth.

Quick summary of Solow (1956)

The following summary of the Solow model of economic growth largely follows Romer (2011).

The production function

The Solow model of economic growth focuses on the behavior of four variables: output, Y, capital, K, labor, L, and knowledge (or technology or the "effectiveness of labor"), A. At each point in time the economy has some amounts of capital, labor, and knowledge that can be combined to produce output according to some production function, F.

Y(t) = F(K(t), A(t)L(t))

where t denotes time.

The evolution of the inputs to production

The initial levels of capital, K_0, labor, L_0, and technology, A_0, are taken as given. Labor and technology are assumed to grow at constant rates:

\dot{A}(t) = gA(t)
\dot{L}(t) = nL(t)

where the rate of technological progrss, g, and the population growth rate, n, are exogenous parameters.

Output is divided between consumption and investment. The fraction of output devoted to investment, 0 < s < 1, is exogenous and constant. One unit of output devoted to investment yields one unit of new capital. Capital is assumed to decpreciate at a rate 0\le \delta. Thus aggregate capital stock evolves according to

\dot{K}(t) = sY(t) - \delta K(t).

Although no restrictions are placed on the rates of technological progress and population growth, the sum of g, n, and delta is assumed to be positive.

The dynamics of the model

Because the economy is growing over time (due to exogenous technological progress and population growth) it is useful to focus on the behavior of capital stock per unit of effective labor

k \equiv K/AL.

Applying the chain rule to the equation of motion for capital stock yields (after a bit of algebra!) an equation of motion for capital stock per unit of effective labor.

\dot{k}(t) = s f(k) - (g + n + \delta)k(t)

That's it! The Solow model of economic growth reduced to a single non-linear ordinary differential equation.

Installation

Assuming you have pip on your computer (as will be the case if you've installed Anaconda) you can install the latest stable release of solowPy by typing

pip install solowpy

at a terminal prompt.

Example notebooks

There are a number of example notebooks that demonstrate how to use the solowPy library to solve, simulate, and estimate generic Solow models of economic growth.

solowpy's People

Contributors

davidrpugh avatar

Stargazers

 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.