Skip to content

Commit

Permalink
Minor tweaks to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
llorracc committed Nov 9, 2023
1 parent ca3b9af commit a09fa3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This repository provides an analysis of the trend in forecast errors made by the Tealbook/Greenbook(GB) and the Survey of Professional Forecasters(SPF) for measures of the unemployment rate and real growth in personal consumption expenditures from 1982 to 2017. Below is a brief description of the main data and code used to produce the main results of this exercise.
This repository provides an analysis of the trend in forecast errors made by the Tealbook/Greenbook (GB) and the Survey of Professional Forecasters (SPF) for measures of the unemployment rate and real growth in personal consumption expenditures from 1982 to 2017. Below is a brief description of the main data and code used to produce the main results of this exercise.

The data on forecasts for unemployment and consumption made by the [federal reserve (Tealbook/Greenbook)](https://www.philadelphiafed.org/surveys-and-data/real-time-data-research/philadelphia-data-set) and the [mean across private forcasters](https://www.philadelphiafed.org/surveys-and-data/real-time-data-research/mean-forecasts) are provided by the Philidelphia Fed. Data on [realized values of the forecasted variables](https://fred.stlouisfed.org/) are provided by the St. Louis Fed. The subfolder "data" contains the raw and cleaned versions of each of these datasets.

The subfolder "code/main" performs the "main" tasks of this exercise using the cleaned data. First, the GB and SPF data are used to compute annual changes in the forecasts for the unemployment rate and real growth in personal consumption expenditures by comparing forecasts in a given period versus the forecast for up to four quarters ahead (depending on whether the measured variable is a *level* or *growth rate*). The same is done for the observed variables over the same horizon. From there, the absolute value of the difference between the annual changes in observed and forecasted values are computed. Lastly, standard statistical techniques are used to analyze the trend in these GB and SPF absolute forecast errors.
The subfolder "code/main" performs the "main" tasks of this exercise using the cleaned data. First, the GB and SPF data are used to compute a forecast for real growth in personal consumption expenditures starting in any given quarter. Next, the corresponding final measure of the same variable (PCE growth) is obtained from [FRED](https://fred.stlouisfed.org/). From there, the absolute value of the difference between the annual changes in observed and forecasted values is computed. Lastly, standard statistical techniques are used to analyze the trend in these GB and SPF absolute forecast errors.

The code file "reproduce.py" can be accessed to see the order in which these programs were run to produce the results. The code "reproduce.sh" will allow the user to reproduce the results from the terminal.

0 comments on commit a09fa3e

Please sign in to comment.