Tuesday , February 18 2020
Home / Brad Delong, Berkeley / Simulating the Solow Growth Model

# Simulating the Solow Growth Model

Summary:
How does an economy well-approximated by the Solow growth model—one that has a constant labor-force growth rate n and labor-efficiency growth rate g; a constant savings-investment share of production s and capital deprecation rate δ; and a constant elasticity θ of production Y with respect to the economy's capital intensity κ, where capital intensity is defined as κ = K/Y, the quotient of the economy's capital stock K and its production level Y—behave? What does it do? How are you—if you are a student—to understand it? And to use it? Standard explanations often focus on graphs like: which are often unhelpful. With this class I would like—if I can get it working—to take another tack. If you have a Berkeley CalNet account, click on this link:

Topics:
Bradford DeLong considers the following as important: , , ,

This could be interesting, too:

Bradford DeLong writes Study Questions: Pre-Commercial Revolution Economies

Bradford DeLong writes After World War I, 1917-1930

Bradford DeLong writes Empire and War, 1870-1919

Bradford DeLong writes Malthusian Agricultural Economies

How does an economy well-approximated by the Solow growth model—one that has a constant labor-force growth rate n and labor-efficiency growth rate g; a constant savings-investment share of production s and capital deprecation rate δ; and a constant elasticity θ of production Y with respect to the economy's capital intensity κ, where capital intensity is defined as κ = K/Y, the quotient of the economy's capital stock K and its production level Y—behave? What does it do? How are you—if you are a student—to understand it? And to use it?

Standard explanations often focus on graphs like:

With this class I would like—if I can get it working—to take another tack. If you have a Berkeley CalNet account, click on this link: https://datahub.berkeley.edu/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fbraddelong%2Flecture-support-2020&urlpath=tree%2Flecture-support-2020%2F. If you have access to another Jupyter notebook server, go to https://github.com/braddelong/lecture-support-2020. In either case, then open the file: lecture-support-solow-2020-01-23.ipynb. You should then have, open, my Solow Growth Model Simulator. In the second code cell—the one whose first line is—"# SET PARAMETERS, INITIAL CONDITIONS, AND SCENARIO LENGTH IN THIS CELL"—either accept defaults or change the variable assignment statements (those with no "#" in the first column and an "=" sign in them to set values for thje model parameter:

• n = 0.01 # the labor-force L proportional growth rate
• g = 0.02 # the labor-efficiency E proportional growth rate
• s = 0.12 # the share of production Y that is saved and invested
• δ = 0.03 # the capital depreciation rate
• θ = 1.09 # the elasticity of production Y with respect to capital intensity κ

Then choose starting values L_0, E_0, and κ_0 for the initial values as of time 0 for the labor force, labor efficiency, and capital intensity:

• L_0 = 1
• E_0 = 1
• κ_0 = 8

Then choose the length of time for which the simulation will run:

Go up to the top of your environment, and in the "Kernel" drop down menu click on "Restart Kernel and Run All Cells"

Then scroll down the webpage. If all has gone well you should see, interspersed among the code, ten graphs showing how each of and some combinations of the model variables behave over time.

Note what looks interesting. Then go back to the top, and change something in the second code cell. Once again, go up to the top of your environment, and in the "Kernel" drop down menu click on "Restart Kernel and Run All Cells". What has changed? What strikes you as interesting? Take notes.

Repeat until you think you have an understanding of how an economy that happened to be well-modeled by the Solow growth model would behave.

Lecture Notes: The Solow Growth Model https://www.bradford-delong.com/2020/01/lecture-notes-the-solow-growth-model-the-history-of-economic-growth-econ-135.html:

The Python code in the nbViewer displays of the notebooks that are my Solow growth model lecture notes is static: it has been executed. But the best way to understand what is going on in the Python code—in the Solow growth model—is for you to play with the code and so conduct what-if simulation experiments with the model yourself.

In the last cell of each notebook there is a datahub link, something like: http://datahub.berkeley.edu/user-redirect/interact?account=braddelong&repo=long-form-drafts&branch=master&path=solow-model-4-using.ipynb. If you have a Berkeley CalNet id, clicking on that link should send you to a Jupyter Notebook server authenticated by your CalNet account in which you can edit and play with the Python code—and thus with the model descriptions and simulations—to gain a deeper and better kind of knowledge. I strongly encourage you to do so.

``````#berkeley #economicgrowth #highlighted #teaching #teachinggrowth #2020-01-24