Panel 1 Code

Comparasion of retail gas prices and stock prices of oil and gas companies between 2000 and 2021


Month Wk1 Wk1P Wk2 Wk2P Wk3 Wk3P Wk4 Wk4P Wk5 Wk5P
Jul 3-Jul 3.643 10-Jul 3.663 17-Jul 3.676 24-Jul 3.711 31-Jul 3.869
Aug 7-Aug 3.940 14-Aug 3.962 21-Aug 3.984 28-Aug 3.931 NA NA
Sep 4-Sep 3.925 11-Sep 3.941 18-Sep 4.001 25-Sep 3.963 NA NA
Oct 2-Oct 3.930 9-Oct 3.814 16-Oct 3.706 23-Oct 3.660 30-Oct 3.600
Nov 6-Nov 3.520 13-Nov 3.473 20-Nov 3.414 27-Nov 3.363 NA NA

Overall, there seems to be a correlation between gas retail prices and U.S. oil and gas companies stock prices. Both the graphs follow a pretty similar distribution and have peaks and valleys at the same time. It is important to note that there is not one company whose stock prices appears to follow the retail prices more than the others, leading to the conclusion that one company does not have the power to set prices. From this, the assumption can be made that retail prices influence the stock prices of companies more than the company can influence retail prices.

The company who has the highest average stock prices between 2000 and 2021 is CVX, also known as the Chevron Corporation. The company with the lowest average stock price is MRO, also known as Marathon Oil Corporation.

Retail Prices appear to be more volatile than stock prices. Specifically, in June 2008, there is a massive drop off in retail prices for gas and while some of the oil and gas stock prices do react to this, its either to a smaller magnitude or it happens a couple months later.

Retail Diesel and Retail Premium gas switch off between what one is more expensive

Note that companies MPC and PSX don’t have any stock prices until 2011 and 2012, respectively, due to the fact that the companies spun off their parent companies in the early 2010’s and did not start trading on the stock exchange until then.

Data for the retail prices plot can be found here

Data for the oil and gas stock prices can be found here

Most recent retail price data can be found here


Panel2

Oil Companies Stock Prices by Middle Eastern Conflicts


The stocks of Exxon, Shell, and BP (British Petroleum) from 1993-2021 show how conflicts in oil producing countries effect trading. They hit a low right before the Arab Spring civil wars and conflicts. Had a low when President Obama negotiated the Iran Nuclear Deal for fear of oil becoming obsolete. Meanwhile, saw a high during the Yemeni Civil War, and a steady rise throughout America’s involvement in the Iraq War following the September 11th terrorist Attacks.

Stock Data

-BP Stock

-Shell Stock

-Exxon Stock

Event Data

-Iran Nuclear Deal, Operation Desert Storm, Iraq War, Arab Spring, Second Arab Spring, Arab Winter


Consumer Gas Prices 1993-2021


This graph shows the average consumer price from 1993 to 2021 for each of the five regions. The average gas price now is 36% higher than the 10yr average from 2011 to 2021.

Notice a steady rise through start of Iraq war; highs during the many 2012 Arab spring conflicts and 2014 during the Yemeni civil war. Though there is a low in 2016 with Iran nuclear deal.

-Gas Price Data



Map of America separated to the Petroleum Administration for Defense Districts (PADD)


Panel3

Impact of oil spills on consumer prices


There does not seem to be a ton of correlation between oil spills and the price of oil across any of the 4 analyzed products, regardless of the size of the spill. Given the size of the oil industry is so large, supply is not harmed by the lost supply in a spill. Demand for oil is also one that will be consistent regardless of a spill.

An exception to this is the BP Deep Water Horizon oil spill in the Gulf of Mexico in 2010. This event, however, left the realm of an oil spill to become a politically driven event.


Climate event’s impact on oil prices


The dygraph shows the price of all grades/formulations retail gas price over time with event markers listed at major natural disaster that are caused by climate change. This was done by filtering the natural disaster data sheet to include only events that could be caused by climate change (eliminating events like earthquakes and landslides since they are not direclty caused by climate change) and sorting the data by number of deaths.

There does not appear to be any direct correlation between the two variables as gas prices mainly rose/stayed stable following these events.


Volume Sold Compared to Highest Stock Price


The first high chart showcases the change of oil volume purchased over time and the second showcases the change of stock prices using the highest stock price of the day. Based on the slopes of each point, we can see on both charts that there does not seem to be drastic changes over time to both variables. However, in the volume graph, we can see a dramatic increase then decrease in volume in both October 2008 and March 2020. For the stock price, there is a steady increase in prices from January 2000 to July 2007 with a dramatic increase in highest stock price in June 2022.



According to this scatter plot, there does not seem to be any correlation between the amount of oil volume purchased compared to the highest stock prices of each day. However, we can see that when the volume purcahsed was at its highest in 2016, the stock price was at its lowest.