Exploratory Data Analysis on Gold Rates

Posted on May 1, 2022

The skills the author demonstrated here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Introduction

When I came across the data on Kaggle, I remember reading about how gold hit its highest point during the pandemic and wanted to explore how gold reacted during the past economic crisis.

The Data

The data I used for this project is called gold rate (1985-present) and it includes two sets of CSV files. 

One is for annual prices from 1978, and the other is for daily prices from 1985. Both include six currencies. 

But by looking at the percent change graph, we can see the similarity they share in the time period. The following correlation graph explains the data better.

From the 80s, I picked eight notable economic crises that best represent its decade to look at how gold rates were affected. 

Dataset Information

First is Black Monday, and we see that on Oct 19th, 1987, the price of gold rose around 34% to $481, while the average for the month was about 465. 

 

During the early 90s recession, we see that the price of gold was very reactionary, with the biggest increase being 38% and its biggest dip being around -60% on Jan 17th, 1991. The extreme range can be seen for the Euro during black Wednesday. During September of 1992, The price of gold ranged from 222Euros to 254euros, with the highest daily change percentage being around 51%.  

Data during the Great Recession

Starting from the great recession, we see distinct trend of price of gold going up during an economic crisis. We see that the range has significantly increased, this one being from 608 dollars to 1212 dollars.

Moving on to the early 2010s, we see the continuous upward graph of the rate in Euros during the European Debt Crisis. The standard deviation has doubled during this period from the great recession, reaching 233. This graph is a bit different from the rest in its fluctuations. 

Covid is when we saw gold reach its highest point at $2067.15 on Aug 6th, 2020. As seen in the graph, New variant discoveries caused a couple of sudden rate changes. While gold has reached its highest point, the standard deviation has calmed down to 97. 

The Russian Financial Crisis is the current event that we are experiencing. In regards to gold, we see the first significant peak on Feb 24th when Russia invaded Ukraine. 

data

Conclusion

From what I’ve seen from the data, I can see why the news and people start talking about gold when the economy starts to stumble. While I do not agree with the statement that gold is stable, I agree with the opinion that gold is a good choice of investment. A fun takeaway we can get from this data is to use the weekly price chart of gold instead of taking the time to read the news to see if anything is happening economy-wise. 

Next Steps

As for things I wish I could have done more with this data and hopefully work on in the future with further learning, I would like to use machine learning to see how the rates would change in the future and look at sharp increases/decreases to possible predict future economic event.

About Author

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI