Skip to content

Lionta/Project-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Impact of Interest Rates on Recession, Inflation and the Global Economy

The Most Interesting Team: Armann Andaya, Kenan White, Michelle Owino, Riley Unverferth and Justin Dean


image

Background

Recently, the Federal Reserve, the US central bank has been increasing the interest rates to stabilize the economy. Since March of 2022 the rate change (bps) has been increased 8 times. The Fed was created to help the United States economy run smoothly by monitoring several economic indicators, such as inflation, unemployment, consumer prices, and gross domestic product (GDP). The increasing rates are affecting all of us. Rate hikes generally mean higher credit card rates, higher interest on car and loans, and even mortgages.

Our goal for this project is to analyze how interest rate hikes and drops impact the economy.

Methodology

For this analysis we used FRED to extract data. Data was from 1940s to 2022. FRED is short for Federal Reserve Economic Data. It’s an online database consisting of hundreds of thousands of economic data time series from scores of national, international, public, and private sources.

Analysis

Interest Rate vs GDP

mergeddf

This graph is of the two data frames merged (interest rate and GDP) from 1940s to 2022. GDP is trending upward. Interest rates fluctuates throughout the years. It was the highest in the 1980s at around 19%. At first glance it seems as though there is no relationship between the two variables but as we look closer, we notice that between 1940s to 1990 GDP was growing at a slower rate when compared to 1990 to 2022. At the same time interest rates grew significantly from 1940s to 1990s and then started decreasing. The average GDP annual growth rate from 1962 to 1981 was 1%. While the average GDP annual growth rate from 1982 to 2021 was 8%.

In contrast, the average interest rates from 1962 to 1981 was 6.59%. While the average interest rate from 1982 to 2021. The data suggest that when the Feds started aggressively decreasing the interest rates the GDP grew at a higher rate.

scatterplot

To see how closely the two variables relate to one another we performed a linear regression. The correlation coefficient r is 0.5. This supports the conclusion that there is a weak to moderate linear relationship between GDP and interest rates. Higher interest rates can slow down the economy.

Interest Rate vs Inflation

Economic forces, both intentional and unforeseen, are constantly impacting the US economy. In the US, the inflation rate is one metric used to determine the health of the economy. A higher inflation rate means that consumers are generally spending more on goods and services. A lower inflation rate means that consumers are generally spending less on goods and services. In times of high inflation, the Fed will raise the interest rate to curb inflation.

image

The inflation rate in the US from 1954 - 2022 (shown above) has certianly fluctuated with its peak in the 1980s.

image

The above graph shows that the interest rate follows inflation. This make sense considering the main tool the FED uses to slow inflation is raising the interest rate.

image

The r-value is 0.710. The represents a strong correlation between inflation and interest rate. This strong correlation indicates that raising the interest rate by the fed is a working solution to combat rising inflation.

Interest Rate vs Unemployment Rate

image

image

The Global Impact of the US Federal Interest Rate

To see if the Federal Interest Rate had an impact on the economies of other countries, we chose three countries: one with an economy close in size to ours, one with an economy around the bottom of the list of the 50 biggest economies, and a developing country. The countries are China, Finland, and Sudan respectively, and were chosen because they all had complete data of their GDPs as early as the 1960s on FRED.

int_vs_china_gdp_line int_vs_fin_gdp_line int_vs_sudan_gdp_line

Using the data pulled from the FRED API, we were able to assemble a DataFrame and create graphs that put the Federal Interest Rate against the GDPs of each country. In order to more clearly see the GDP trajectories, the Fed Interest Rate was multiplied by 1,000,000, 20,000, and 10,000 for China, Finland, and Sudan, respectively.

int_vs_china_gdp_plot int_vs_fin_gdp_plot int_vs_sudan_gdp_plot

After plotting a linear regression, we found only moderate or weak negative correlations between the two. This generally proves a null hypothesis: the Federal Interest Rate does not have a strong impact on the economies of other countries.

Interest Rate vs Other Economic Factors

image

image

Dependancies

  • import pandas as pd
  • import numpy as np
  • import requests
  • import json
  • import matplotlib.pyplot as plt
  • from datetime import datetime
  • from pprint import pprint
  • from scipy.stats import linregress
  • import scipy.stats as st
  • import matplotlib.dates as mdates
  • from config import fred_key

Conclusion

The strong correlation between interest rates and inflation suggests that raising the interest rate is a working solution to combat rising inflation.

Interest rate and unemployment rates are related, but rising interest rates don't necessitate low unemployment rates.

There is a weak to moderate linear relationship between GDP and interest rates. Higher interest rates can slow down the economy.

Rises and falls of the Federal Interest Rate do not affect the Global Economy.

There is no definitive economic indicator that can predict the next recession.

Retail sales, real personal income, and the industrial production index outperform interest rate in correlation to GDP.

Data Source

"https://api.stlouisfed.org/fred/series/observations?"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5