Okun’s Law
Get Okun’s law of a variety of countries: how many percentage points the unemployment rate moves for each percentage point of real GDP growth, and the growth at which it stays unchanged.
Okun (1962) found that US unemployment rose by about a third of a point for every point output grew less than its potential. Ball, Leigh and Loungani (2017) estimate the difference version of the law, the change in the unemployment rate on the growth of real GDP, for twenty advanced economies and find it holds in every one of them, with coefficients from about -0.15 (Japan) to -0.85 (Spain) that differ with the labour market institutions of each country. The growth at which the unemployment rate is unchanged is an estimate of the potential growth of the economy.
The formula is as follows, with Unemployment Change the change in the unemployment rate, bar(Unemployment Change) its average over the T periods and Error_t the residuals:
\[\text{Unemployment Change} = \text{Intercept} + \text{Okun Coefficient} \cdot \text{Real GDP Growth} + \text{Error}\] \[\text{Potential Growth} = -\frac{\text{Intercept}}{\text{Okun Coefficient}}\] \[\text{R Squared} = 1 - \frac{\sum_{t=1}^{T} \text{Error}_{t}^{2}}{\sum_{t=1}^{T} \left(\text{Unemployment Change}_{t} - \overline{\text{Unemployment Change}}\right)^{2}}\]Both changes are over a year: on quarterly data the change of the unemployment rate and the growth of real GDP on the same quarter a year earlier (overlapping, as Ball, Leigh and Loungani’s annual changes measured every quarter), on yearly data on the year before. The coefficients are the ordinary least squares estimates on the periods both series have within the date range. Quarterly data comes from get_unemployment_rate (the OECD) and get_gross_domestic_product_growth (year over year), yearly data from the Global Macro Database (the unemployment rate and real GDP).
Also known as: Okun’s coefficient, Okun’s law, unemployment-output relationship, growth-unemployment trade-off.
Example · United States, Germany, Japan, Spain · 2000 to 2019
Install the Finance Toolkit with pip install financetoolkit -U, then call get_okuns_law:
from financetoolkit import Economics
economics = Economics(start_date='2000-01-01', end_date='2019-12-31')
economics.get_okuns_law(countries=['United States', 'Germany', 'Japan', 'Spain'], period='yearly')
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
How much did unemployment change with economic growth in the United States, Germany, Japan and Spain from 2000 to 2019, by Okun's law on yearly data?
Which returns:
| Item | Okun Coefficient | Intercept | Potential Growth | R Squared | Observations |
|---|---|---|---|---|---|
| United States | -0.5892 | 0.0124 | 0.0211 | 0.6689 | 20 |
| Germany | -0.1601 | -0.0006 | -0.0035 | 0.2569 | 20 |
| Japan | -0.1282 | 0.0000 | 0.0000 | 0.4795 | 20 |
| Spain | -0.8619 | 0.0152 | 0.0176 | 0.7144 | 20 |
4 rows
Parameters
get_okuns_law accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
countries | list[str] | str | None | The countries to include in the data. Defaults to None. | ["United States", "Germany"] |
period | str | None | The frequency of the data. Options are: “quarterly” (quarterly data), “yearly” (yearly data). Defaults to None, which is quarterly. | "weekly" |
window | int | None | The number of periods of a rolling regression, which estimates the law at every period from the window of periods up to it. Defaults to None, which estimates it once from every period in the date range. | 20 |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Economics class. | 2 |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
References
- Paper Okun, A. M. (1962). “Potential GNP: Its Measurement and Significance.” Proceedings of the Business and Economic Statistics Section of the American Statistical Association, 98-104.
- Paper Ball, L., Leigh, D., & Loungani, P. (2017). “Okun’s Law: Fit at 50?” Journal of Money, Credit and Banking, 49(7), 1413-1441.
- Source OECD, Infra-annual labour statistics, unemployment rate (DSD_LFS@DF_IALFS_UNE_M, UNE_LF_M)
- Source Eurostat, GDP and main components, quarterly, chain linked volumes (namq_10_gdp, B1GQ)
- Source Office for National Statistics, GDP quarter on quarter growth, chained volume measures (IHYQ)
- Source Office for National Statistics, GDP year on year growth, chained volume measures (IHYR)
- Source OECD, Quarterly GDP growth, expenditure approach (DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_OECD, B1GQ)
- Source Global Macro Database, Unemployment rate and real GDP (unemp, rGDP)