Exercise - Growth Accounting

In this exercise, you will carry out a simple growth accounting exercise to calculate total factor productivity (TFP) for a number of countries, using data from the Penn World Table. (Who said there was no macroeconomics in core ERM?) Before you begin, read this extract from Aghion & Howitt (2009).

  1. Summarize the approach to calculating TFP described in Aghion & Howitt (2009).
  2. Install and load the pwt10 R package and read the help file ?pwt10.0. Provide a brief summary of this dataset, including an explanation of the variables country, year, isocode, rgdpna, rkna, and emp.
  3. Extract the variables listed in the preceding part from pwt10.0 for the countries in Table 5.1 of Aghion & Howitt. Include all observations from 1959 onwards. Using this information, calculate output per worker and capital per worker. Append them to your dataset.
  4. Consult ?scale_y_continuous() and then make a line plot of output per worker over time on the natural log scale for each country in your dataset.
  5. For a series that doesn’t grow too fast, the difference of natural logs of successive values provides a good approximation of the geometric growth rate. (This gives a percentage expressed as a decimal.) Consult ?lag() from dplyr. Using what you learn, compute the log growth rate of capital per worker and output per worker and append them to your dataset.
  6. Use Aghion and Howitt’s assumed value for the capital share \(\alpha\) to compute the “Solow residual” in each country and year and append it to your dataset.
  7. Based on your calculations from above, attempt to replicate the first two columns of Table 5.1 from Aghion and Howitt. Make sure to use the same time periods as they do. Your results will probably differ somewhat from Aghion and Howitt’s, but they should generally be in the ballpark.
  8. Repeat the preceding, but use data from after 2000. Broadly speaking, how do the TFP figures compare over time?