Skip to content

Macroeconomics

Monetary-policy rules

Taylor (1993 and 1999), balanced-approach, shortfalls, adjusted and first-difference rules, smoothed and floored, on a gap measured in output or unemployment, and over forecast paths.

Model id
macro.policy_rule, version 1
Domain
Macroeconomics
Evidence
practitioner
Cost class
instant: A closed-form calculation; a hosted run may take up to 2 seconds.

Formula

RT93=r∗+π+0.5(π−π∗)+0.5 yR^{\mathrm{T93}} = r^* + \pi + 0.5(\pi - \pi^*) + 0.5\,yy=k(u∗−u) or the output gapy = k(u^* - u) \text{ or the output gap}RT99=RBA=r∗+π+0.5(π−π∗)+1.0 yR^{\mathrm{T99}} = R^{\mathrm{BA}} = r^* + \pi + 0.5(\pi - \pi^*) + 1.0\,yRBAS=r∗+π+0.5(π−π∗)+1.0min⁡(y,0)R^{\mathrm{BAS}} = r^* + \pi + 0.5(\pi - \pi^*) + 1.0 \min(y, 0)RT93adj=max⁡(RT93−Z,ELB)R^{\mathrm{T93adj}} = \max(R^{\mathrm{T93}} - Z, \text{ELB})RFD=Rt−1+0.5(π−π∗)+0.5(yt−yt−4)R^{\mathrm{FD}} = R_{t-1} + 0.5(\pi - \pi^*) + 0.5(y_t - y_{t-4})R=max⁡{ρRt−1+(1−ρ)Rrule, ELB}R = \max\{\rho R_{t-1} + (1 - \rho) R^{\mathrm{rule}},\ \text{ELB}\}

Where

RT93R^{\mathrm{T93}}
The rate Taylor's 1993 rule prescribes
r∗r^*
The neutral real rate of interest neutral_real_rate
π\pi
Inflation over the last year inflation
π∗\pi^*
The inflation target inflation_target
yy
The resource gap: the output gap, or Okun's coefficient times the unemployment gap output_gap
kk
Okun's coefficient okun_coefficient
u∗u^*
The natural rate of unemployment natural_unemployment
uu
The unemployment rate unemployment
RT99R^{\mathrm{T99}}
The rate Taylor's 1999 rule prescribes
RBAR^{\mathrm{BA}}
The balanced-approach rule's rate, the same as Taylor's 1999 rule
RBASR^{\mathrm{BAS}}
The balanced-approach (shortfalls) rule's rate, which answers only to a gap below zero
RT93adjR^{\mathrm{T93adj}}
The adjusted Taylor 1993 rule's rate
ZZ
The cumulative shortfall of policy while the lower bound held cumulative_shortfall
ELB\text{ELB}
The effective lower bound on the policy rate lower_bound
RFDR^{\mathrm{FD}}
The first-difference rule's rate
Rt−1R_{t-1}
The policy rate of the quarter before previous_rate
yt−4y_{t-4}
The resource gap four quarters earlier output_gap_lagged
ρ\rho
The weight on the rate of the quarter before: the smoothing smoothing
RruleR^{\mathrm{rule}}
The rate the chosen rule prescribes before smoothing and the lower bound unconstrained_rate
RR
The prescribed policy rate prescribed_rate

Each symbol's field is named beside it; the inputs and outputs, with their units and bounds, are under Variables, and the citations give each formula's source.

Variables

Rates, returns and yields are decimals: 0.05 is five percent. Bounds in brackets include their end; in parentheses they exclude it.

Inputs

The Taylor (1993) rule (taylor_1993): 15 inputs
Inputs of the calculation taylor_1993
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound that floors the prescription
Resource weightresource_weightratio · [0, 4]Weight on the resource gap
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, r* plus the target (the SEP's longer-run rate)
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the rule's date, for smoothing
CalculationcalculationtextThe Taylor (1993) rule
The Taylor (1999) rule (taylor_1999): 15 inputs
Inputs of the calculation taylor_1999
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound that floors the prescription
Resource weightresource_weightratio · [0, 4]Weight on the resource gap
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, r* plus the target (the SEP's longer-run rate)
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the rule's date, for smoothing
CalculationcalculationtextThe Taylor (1999) rule
The balanced-approach rule (balanced_approach): 15 inputs
Inputs of the calculation balanced_approach
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound that floors the prescription
Resource weightresource_weightratio · [0, 4]Weight on the resource gap
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, r* plus the target (the SEP's longer-run rate)
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the rule's date, for smoothing
CalculationcalculationtextThe balanced-approach rule
The balanced-approach (shortfalls) rule (balanced_approach_shortfalls): 15 inputs
Inputs of the calculation balanced_approach_shortfalls
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound that floors the prescription
Resource weightresource_weightratio · [0, 4]Weight on a negative resource gap
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, r* plus the target (the SEP's longer-run rate)
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the rule's date, for smoothing
CalculationcalculationtextThe balanced-approach (shortfalls) rule
The adjusted Taylor (1993) rule (adjusted_taylor_1993): 16 inputs
Inputs of the calculation adjusted_taylor_1993
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]The effective lower bound the rule is floored at; the Board's is 12.5 basis points
Resource weightresource_weightratio · [0, 4]Weight on the resource gap
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, r* plus the target (the SEP's longer-run rate)
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the rule's date, for smoothing
CalculationcalculationtextThe adjusted Taylor (1993) rule
Cumulative shortfallcumulative_shortfallrate · [0, 1]Z: the sum of the rate's past excesses over Taylor (1993) prescriptions below the lower bound, still to be made up
The first-difference rule (first_difference): 16 inputs
Inputs of the calculation first_difference
NameDescription
Inflationinflationrate · [-0.2, 0.5]Inflation the rule answers: over the past four quarters, or a forecast
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the fields given
Output gapoutput_gaprate · [-0.3, 0.3]Output gap: real GDP over potential, less one
Unemploymentunemploymentrate · [0, 0.3]The unemployment rate
Natural unemploymentnatural_unemploymentrate · [0, 0.3]The natural (longer-run) rate of unemployment
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Smoothingsmoothingratio · [0, 1]Weight on the previous rate (the inertial form); 0 is none
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound that floors the prescription
CalculationcalculationtextThe first-difference rule
Resource weightresource_weightratio · [0, 4]Weight on the change in the resource gap
Previous rateprevious_raterate · [-0.1, 1]The policy rate a quarter earlier
Output gap laggedoutput_gap_laggedrate · [-0.3, 0.3]The output gap four quarters earlier
Unemployment laggedunemployment_laggedrate · [0, 0.3]The unemployment rate four quarters earlier
Natural unemployment laggednatural_unemployment_laggedrate · [0, 0.3]The natural rate four quarters earlier; the current one when left out
A rule over a forecast (path): 26 inputs
Inputs of the calculation path
NameDescription
CalculationcalculationtextA rule over a forecast
RuleruletextThe rule to apply at each horizon
Inflation pathinflation_pathrate (array) · length min 1, max 40; each [-0.2, 0.5]Inflation at each horizon
Inflation targetinflation_targetrate · [0, 0.1]The inflation objective
Gap measuregap_measuretextHow the resource gap is measured; left out, it follows the paths given
Output gap pathoutput_gap_pathrate (array) · each [-0.3, 0.3]Output gap at each horizon
Unemployment pathunemployment_pathrate (array) · each [0, 0.3]Unemployment at each horizon
Natural unemployment pathnatural_unemployment_pathrate (array) · each [0, 0.3]The natural rate of unemployment at each horizon
Output gap lagged pathoutput_gap_lagged_pathrate (array) · each [-0.3, 0.3]For the first-difference rule: each horizon's output gap four quarters back
Unemployment lagged pathunemployment_lagged_pathrate (array) · each [0, 0.3]For the first-difference rule: each horizon's unemployment four quarters back
Natural unemployment lagged pathnatural_unemployment_lagged_pathrate (array) · each [0, 0.3]For the first-difference rule: the natural rate four quarters back; the horizon's own when left out
Inflation low pathinflation_low_pathrate (array) · each [-0.2, 0.5]A low inflation forecast (a 25th percentile) for the band's lower edge
Inflation high pathinflation_high_pathrate (array) · each [-0.2, 0.5]A high inflation forecast (a 75th percentile) for the band's upper edge
Output gap low pathoutput_gap_low_pathrate (array) · each [-0.3, 0.3]A low output-gap forecast, for the band
Output gap high pathoutput_gap_high_pathrate (array) · each [-0.3, 0.3]A high output-gap forecast, for the band
Unemployment low pathunemployment_low_pathrate (array) · each [0, 0.3]A low unemployment forecast, for the band's upper edge
Unemployment high pathunemployment_high_pathrate (array) · each [0, 0.3]A high unemployment forecast, for the band's lower edge
Neutral real rateneutral_real_raterate · [-0.1, 0.1]The real neutral rate, r*, for a level rule
Neutral nominal rateneutral_nominal_raterate · [-0.1, 0.2]The nominal neutral rate, for a level rule
Okun coefficientokun_coefficientratio · [0.1, 4]Output-gap points per point of unemployment gap (Okun's law)
Inflation weightinflation_weightratio · [0, 4]Weight on the inflation gap
Resource weightresource_weightratio · [0, 4]Weight on the resource gap; the rule's own when left out
Smoothingsmoothingratio · [0, 1]Weight on the previous rate at each horizon
Previous rateprevious_raterate · [-0.1, 1]The policy rate before the first horizon
Lower boundlower_boundrate · [-0.1, 0.1]An effective lower bound; for the adjusted rule, 12.5 basis points when left out
Cumulative shortfallcumulative_shortfallrate · [0, 1]For the adjusted rule: the shortfall Z, held over the path

Outputs

The Taylor (1993) rule (taylor_1993): 6 outputs
Outputs of the calculation taylor_1993
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
Nominal neutral ratenominal_neutral_raterate · [-0.1, 0.2]The real neutral rate plus the target: the rate at no gaps
CalculationcalculationtextThe Taylor (1993) rule
The Taylor (1999) rule (taylor_1999): 6 outputs
Outputs of the calculation taylor_1999
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
Nominal neutral ratenominal_neutral_raterate · [-0.1, 0.2]The real neutral rate plus the target: the rate at no gaps
CalculationcalculationtextThe Taylor (1999) rule
The balanced-approach rule (balanced_approach): 6 outputs
Outputs of the calculation balanced_approach
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
Nominal neutral ratenominal_neutral_raterate · [-0.1, 0.2]The real neutral rate plus the target: the rate at no gaps
CalculationcalculationtextThe balanced-approach rule
The balanced-approach (shortfalls) rule (balanced_approach_shortfalls): 6 outputs
Outputs of the calculation balanced_approach_shortfalls
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
Nominal neutral ratenominal_neutral_raterate · [-0.1, 0.2]The real neutral rate plus the target: the rate at no gaps
CalculationcalculationtextThe balanced-approach (shortfalls) rule
The adjusted Taylor (1993) rule (adjusted_taylor_1993): 6 outputs
Outputs of the calculation adjusted_taylor_1993
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
Nominal neutral ratenominal_neutral_raterate · [-0.1, 0.2]The real neutral rate plus the target: the rate at no gaps
CalculationcalculationtextThe adjusted Taylor (1993) rule
The first-difference rule (first_difference): 5 outputs
Outputs of the calculation first_difference
NameDescription
Prescribed rateprescribed_raterate · [-20, 20]The policy rate the rule prescribes
Unconstrained rateunconstrained_raterate · [-20, 20]The prescription before the lower bound: the rule, smoothed
Inflation gap terminflation_gap_termrate · [-20, 20]The weight on inflation times its gap
Resource gap termresource_gap_termrate · [-20, 20]The weight on the resource gap times the gap
CalculationcalculationtextThe first-difference rule
A rule over a forecast (path): 7 outputs
Outputs of the calculation path
NameDescription
CalculationcalculationtextA rule over a forecast
RuleruletextThe rule applied at each horizon
Horizonhorizoncount (array) · length max 40; each [0, 40]Horizons after the first: 0, 1, 2, ...
Prescribed pathprescribed_pathrate (array) · length max 40; each [-500, 500]The prescribed rate at each horizon
Unconstrained pathunconstrained_pathrate (array) · length max 40; each [-500, 500]Each prescription before the lower bound
Lower pathlower_pathrate (array) · length max 40; each [-500, 500]The band's lower edge (low inflation, weak activity); empty with no band
Upper pathupper_pathrate (array) · length max 40; each [-500, 500]The band's upper edge (high inflation, strong activity); empty with no band

Calculator

Run the model on your own inputs, starting from its example. Rates are decimals: 0.05 is five percent. The run goes to the pyeconomics API on this site: your values travel only in the request, and nothing is stored.

Live data: some profiles run here, the rest on your own computer

On this site, "Live data" runs with the profiles Default (United States data), US output gap, US FOMC projections (us_sep), Euro area (ea), United Kingdom (gb) and Canada (ca).

The profile US forecasters' survey (us_spf) reads SPF median core PCE inflation, survey quarter and SPF median unemployment rate, survey quarter. Their source, Federal Reserve Bank of Philadelphia, lets pyeconomics read the data on your own computer but not serve them from this website.

For those, enter your own values, or bring them as a file with "Use my own data". To run this page with every profile's live data, install the local app and start it: pip install "pyeconomics[app]" then pyeconomics serve.

Loading the calculator…

Worked example

The Report's form: a weight of 1 on the unemployment gap.

Example taylor_1993_on_unemployment. Inputs:

{
  "calculation": "taylor_1993",
  "gap_measure": null,
  "inflation": 0.03,
  "inflation_target": 0.02,
  "inflation_weight": 0.5,
  "lower_bound": null,
  "natural_unemployment": 0.042,
  "neutral_nominal_rate": null,
  "neutral_real_rate": 0.01,
  "okun_coefficient": 2,
  "output_gap": null,
  "previous_rate": null,
  "resource_weight": 0.5,
  "smoothing": 0,
  "unemployment": 0.043
}

Outputs:

{
  "calculation": "taylor_1993",
  "inflation_gap_term": 0.004999999999999999,
  "nominal_neutral_rate": 0.03,
  "prescribed_rate": 0.044000000000000004,
  "resource_gap_term": -0.000999999999999994,
  "unconstrained_rate": 0.044000000000000004
}

Assumptions

  • Rates, inflation and gaps are decimals. The resource gap is in output-gap units: an Okun coefficient k (2 by default, the Board's conversion) times the unemployment gap, or an output gap.
  • Each rule's weights default to its published values (0.5 on the inflation gap; 0.5 or 1.0 on the resource gap) and may be overridden.
  • Smoothing blends the previous rate with the rule's prescription; the lower bound, when given, floors the smoothed rate. The adjusted rule is floored at 12.5 basis points unless told otherwise.
  • Profiles: default binds core PCE inflation, the unemployment rate, CBO's noncyclical rate, the HLW r* and the effective funds rate (and, for the first-difference rule, unemployment and the natural rate four quarters back); us_output_gap swaps in real GDP over CBO's potential GDP; us_sep reads the SEP medians for a meeting and year; us_spf the SPF's survey-quarter medians; ea, gb and ca each economy's inflation, OECD output gap, policy rate and, for ea and ca, the HLW r*.

Limitations

  • A prescription is the rule's arithmetic, not a forecast of policy or advice: the rules leave out most of what a central bank weighs, and the neutral rate and natural unemployment are estimated with wide uncertainty.
  • Taylor (1999) and the balanced approach share one formula; they are kept apart because the literature and the Board name them apart.
  • A path holds the adjusted rule's shortfall fixed, and a first-difference path accumulates its changes, so it can drift far from any level a central bank would set.
  • Only the default and us_output_gap profiles bind the first-difference rule's gap four quarters back; with any other, supply it.
  • The gb profile binds no neutral rate, because the New York Fed publishes none for the United Kingdom: supply neutral_real_rate. The New York Fed's r* files keep no dated vintages, so an as-of bind reads them as revised data and says so.

Evidence

Status: practitioner. A widely used rule of thumb or convention.

Every model declares one status: standard (textbook consensus), practitioner (a widely used convention), contested (under active debate), rejected (failed out of sample) or historical (a superseded methodology).

Syllabus

The 2027 CFA® Program's topic areas this model relates to, as factual tags. Each links to CFA Institute's page for its level; pyeconomics holds none of the curriculum's text.

Data

This model can read its data for you: each bound field names a data series, and the sources listed can fill it, in the order they are tried. This website reads only the sources whose terms let it serve their data (marked "hosted"); every source is available when you run pyeconomics on your own computer.

Profile: Default
FieldConceptRead asSources (licence class; hosted)
inflationCore PCE inflation, year over yearus.inflation.pce_core.yoylast observation on or before the date; real time: as published by the date
  • US Bureau of Economic Analysis (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
unemploymentUnemployment rateus.unemployment.ratelast observation on or before the date; real time: as published by the date
  • US Bureau of Labor Statistics (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
natural_unemploymentNoncyclical rate of unemploymentus.unemployment.noncyclical_ratethe observation of the period containing the date; real time: as published by the date
  • Congressional Budget Office (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
neutral_real_rateNatural rate of interest, Holston-Laubach-Williams (United States)us.neutral_rate.hlwlast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
previous_rateEffective federal funds rateus.policy_rate.effectivelast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
unemployment_laggedUnemployment rateus.unemployment.ratelast observation on or before the date; real time: as published by the datetransform lag(periods=12)
  • US Bureau of Labor Statistics (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
natural_unemployment_laggedNoncyclical rate of unemploymentus.unemployment.noncyclical_ratethe observation of the period containing the date; real time: as published by the datetransform lag(periods=4)
  • Congressional Budget Office (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
Profile: US output gap
FieldConceptRead asSources (licence class; hosted)
inflationCore PCE inflation, year over yearus.inflation.pce_core.yoylast observation on or before the date; real time: as published by the date
  • US Bureau of Economic Analysis (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
output_gapOutput gap, real GDP over potentialus.output_gap.real_potentiallast observation on or before the date; real time: as published by the date
  • derived (derived; hosted)
output_gap_laggedOutput gap, real GDP over potentialus.output_gap.real_potentiallast observation on or before the date; real time: as published by the datetransform lag(periods=4)
  • derived (derived; hosted)
neutral_real_rateNatural rate of interest, Holston-Laubach-Williams (United States)us.neutral_rate.hlwlast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
previous_rateEffective federal funds rateus.policy_rate.effectivelast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
Profile: US FOMC projections (us_sep)
FieldConceptRead asSources (licence class; hosted)
inflationSEP median core PCE inflationus.sep.core_pce_inflationlast observation on or before the date; real time: as published by the date
  • Federal Reserve Board (hosted-safe; hosted)
unemploymentSEP median unemployment rateus.sep.unemploymentlast observation on or before the date; real time: as published by the date
  • Federal Reserve Board (hosted-safe; hosted)
natural_unemploymentSEP longer-run unemployment rateus.sep.unemployment_longer_runlast observation on or before the date; real time: as published by the date
  • Federal Reserve Board (hosted-safe; hosted)
neutral_nominal_rateSEP longer-run federal funds rateus.sep.policy_rate_longer_runlast observation on or before the date; real time: as published by the date
  • Federal Reserve Board (hosted-safe; hosted)
previous_rateEffective federal funds rateus.policy_rate.effectivelast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
Profile: US forecasters' survey (us_spf)
FieldConceptRead asSources (licence class; hosted)
inflationSPF median core PCE inflation, survey quarterus.spf.core_pce.median_h0the observation of the period containing the date; real time: as published by the date
  • Federal Reserve Bank of Philadelphia (library-only; not hosted)
unemploymentSPF median unemployment rate, survey quarterus.spf.unemployment.median_h0the observation of the period containing the date; real time: as published by the date
  • Federal Reserve Bank of Philadelphia (library-only; not hosted)
natural_unemploymentNoncyclical rate of unemploymentus.unemployment.noncyclical_ratethe observation of the period containing the date; real time: as published by the date
  • Congressional Budget Office (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
neutral_real_rateNatural rate of interest, Holston-Laubach-Williams (United States)us.neutral_rate.hlwlast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
previous_rateEffective federal funds rateus.policy_rate.effectivelast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
  • FRED and ALFRED, Federal Reserve Bank of St. Louis (library-only; not hosted)
Profile: Euro area (ea)
FieldConceptRead asSources (licence class; hosted)
inflationHICP inflation, euro areaea.inflation.hicp.yoylast observation on or before the date; real time: as published by the date
  • Eurostat (hosted-safe; hosted)
  • European Central Bank (hosted-safe; hosted)
output_gapOutput gap, the euro areaea.output_gap.oecdthe observation of the period containing the date; real time: as published by the date
  • Organisation for Economic Co-operation and Development (hosted-safe; hosted)
neutral_real_rateNatural rate of interest, Holston-Laubach-Williams (euro area)ea.neutral_rate.hlwlast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
previous_rateCentral bank policy rate, the euro areaea.policy_rate.headlinelast observation on or before the date; real time: as published by the date
  • Bank for International Settlements (hosted-safe; hosted)
Profile: United Kingdom (gb)
FieldConceptRead asSources (licence class; hosted)
inflationCPI inflation, the United Kingdomgb.inflation.cpi.yoylast observation on or before the date; real time: as published by the date
  • Organisation for Economic Co-operation and Development (hosted-safe; hosted)
output_gapOutput gap, the United Kingdomgb.output_gap.oecdthe observation of the period containing the date; real time: as published by the date
  • Organisation for Economic Co-operation and Development (hosted-safe; hosted)
previous_rateCentral bank policy rate, the United Kingdomgb.policy_rate.headlinelast observation on or before the date; real time: as published by the date
  • Bank for International Settlements (hosted-safe; hosted)
Profile: Canada (ca)
FieldConceptRead asSources (licence class; hosted)
inflationCPI inflation, Canadaca.inflation.cpi.yoylast observation on or before the date; real time: as published by the date
  • Organisation for Economic Co-operation and Development (hosted-safe; hosted)
output_gapOutput gap, Canadaca.output_gap.oecdthe observation of the period containing the date; real time: as published by the date
  • Organisation for Economic Co-operation and Development (hosted-safe; hosted)
neutral_real_rateNatural rate of interest, Holston-Laubach-Williams (Canada)ca.neutral_rate.hlwlast observation on or before the date; real time: as published by the date
  • Federal Reserve Bank of New York (hosted-safe; hosted)
previous_rateCentral bank policy rate, Canadaca.policy_rate.headlinelast observation on or before the date; real time: as published by the date
  • Bank for International Settlements (hosted-safe; hosted)

Citations

  1. Taylor, J. B. (1993). Discretion versus Policy Rules in Practice. Carnegie-Rochester Conference Series on Public Policy, 39, 195-214. doi:10.1016/0167-2231(93)90009-L (The rule and its weights of one half, p. 202)
  2. Taylor, J. B. (1999). A Historical Analysis of Monetary Policy Rules. In J. B. Taylor (ed.), Monetary Policy Rules, pp. 319-341. University of Chicago Press. doi:10.7208/chicago/9780226791265.001.0001 (Chapter 7: the rule with a weight of 1.0 on the output gap)
  3. Reifschneider, D. and Williams, J. C. (2000). Three Lessons for Monetary Policy in a Low-Inflation Era. Journal of Money, Credit and Banking, 32(4), 936-966. doi:10.2307/2601151 (The rule that makes up past shortfalls at the zero bound)
  4. Orphanides, A. (2003). Historical Monetary Policy Analysis and the Taylor Rule. Journal of Monetary Economics, 50(5), 983-1022. doi:10.1016/S0304-3932(03)00065-5 (The rule in first differences)
  5. Board of Governors of the Federal Reserve System (2026). Monetary Policy Report, July 2026. Box 4, Monetary Policy Rules in the Current Environment. https://www.federalreserve.gov/monetarypolicy/files/20260710_mprfullreport.pdf (Box 4, table A and its notes, pp. 42-43)
  6. Board of Governors of the Federal Reserve System (2023). Monetary Policy Report, June 2023. Box, Monetary Policy Rules in the Current Environment. https://www.federalreserve.gov/monetarypolicy/files/20230616_mprfullreport.pdf (Table A, p. 44: the balanced-approach (shortfalls) rule)

Changelog

  • Version 1: First version.

Use it elsewhere

Documentation
The model's reference page
REST API
GET or POST /v1/models/macro.policy_rule/run
MCP tool
macro_policy_rule, or run_model with the model's id; both give the same result. Connect an assistant
Command line
pyeconomics models run macro.policy_rule --help

The worked example, from Python and from the command line:

Python
import pyeconomics

inputs = {
    "calculation": "taylor_1993",
    "gap_measure": None,
    "inflation": 0.03,
    "inflation_target": 0.02,
    "inflation_weight": 0.5,
    "lower_bound": None,
    "natural_unemployment": 0.042,
    "neutral_nominal_rate": None,
    "neutral_real_rate": 0.01,
    "okun_coefficient": 2,
    "output_gap": None,
    "previous_rate": None,
    "resource_weight": 0.5,
    "smoothing": 0,
    "unemployment": 0.043,
}
result = pyeconomics.run("macro.policy_rule", inputs)
print(result.to_json())
Command line
pyeconomics models run macro.policy_rule --inputs - <<'JSON'
{
  "calculation": "taylor_1993",
  "gap_measure": null,
  "inflation": 0.03,
  "inflation_target": 0.02,
  "inflation_weight": 0.5,
  "lower_bound": null,
  "natural_unemployment": 0.042,
  "neutral_nominal_rate": null,
  "neutral_real_rate": 0.01,
  "okun_coefficient": 2,
  "output_gap": null,
  "previous_rate": null,
  "resource_weight": 0.5,
  "smoothing": 0,
  "unemployment": 0.043
}
JSON