Skip to content

solowPy/solowPy

Repository files navigation

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, K0, labor, L0, and technology, A0, are taken as given. Labor and technology are assumed to grow at constant rates:


(t) = gA(t)(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 ≤ δ. Thus aggregate capital stock evolves according to


(t) = sY(t) − δ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 ≡ 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.


(t) = sf(k) − (g + n + δ)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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages