about · email me · subscribe
Spurious correlation #1,338 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of Breweries in the United States and the second variable is Amazon.com's stock price (AMZN).  The chart goes from 2002 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of breweries in the United States increased, so did the demand for unique and specialized beer products. This led to a surge in online sales of craft beers and beer-related merchandise on Amazon.com. As a result, Amazon's overall revenue and market share in the alcohol industry saw a hoppy, frothy rise, prompting investors to raise a glass to the company's success and driving up its stock price. Cheers to the unexpected connection between beer production and e-commerce dominance!

Model: dalle-3
Prompt: Generate an image of a futuristic high-tech visualization featuring a vibrant map of the United States. The map should be filled with clusters of dynamic and colorful beer bottles, each representing the abundance of breweries in each state. Next to the map, there should be a large, sleek digital display presenting a live stock price from Amazon.com, with a visually striking green and red graph reflecting the stock's fluctuating movements. The overall composition should convey a cutting-edge and visually arresting portrayal of data, blending the traditional with the contemporary. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: "Crafty Brews and Soaring Stocks: The Secret Link Between Beer and Billionaires Revealed!". Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: Cybernetic art Symbolism High-tech a Polaroid photo Charcoal
ChatGPT: High-tech

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that prominently depicts both The number of Breweries in the United States and Amazon.com's stock price Keep the description simple.
ChatGPT: Imagine a colorful map of the United States with clusters of beer bottles representing the number of breweries in each state. Beside the map, there is a large digital display showing Amazon.com's stock price ticking up and down, with a green and red graph fluctuating, reflecting the changes.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ High-tech ] and depicting this scene: Imagine a colorful map of the United States with clusters of beer bottles representing the number of breweries in each state. Beside the map, there is a large digital display showing Amazon.com's stock price ticking up and down, with a green and red graph fluctuating, reflecting the changes. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a futuristic high-tech visualization featuring a vibrant map of the United States. The map should be filled with clusters of dynamic and colorful beer bottles, each representing the abundance of breweries in each state. Next to the map, there should be a large, sleek digital display presenting a live stock price from Amazon.com, with a visually striking green and red graph reflecting the stock's fluctuating movements. The overall composition should convey a cutting-edge and visually arresting portrayal of data, blending the traditional with the contemporary.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in The number of Breweries in the United States caused Amazon.com's stock price (AMZN) to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

The Journal of Quirky Econometrics

Jan 2024

Reminder: This paper is AI-generated. Not real!
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You write titles and abstracts of goofy academic research papers.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, and add unexpected twists in your writing.

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, just make it sound clever.

Your research team used data from Brewers Association and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8982364 and p < 0.01 for 2002 to 2022.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the introduction section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the introduction section of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between seemingly unrelated phenomena has long captivated the curiosity of researchers, economists, and ale enthusiasts alike. In this study, we embark on a frothy exploration of the relationship between the number of breweries in the United States and the stock price of Amazon.com (AMZN). While one may question the rationality behind such an investigation, we cannot overlook the demand to tap into unconventional sources of insight, especially when it comes to the ever-fluctuating and effervescent world of financial markets.

Beyond the hops and barley, there exists an undercurrent of economic significance. The craft brewing industry, with its fermenting expansion and foamy delight, has carved out a distinct niche within the market. At the same time, Amazon.com, the titan of e-commerce, has brewed up its own recipe for success. The intertwining of these two seemingly distinct symbols of modernity and enterprise propels us to scrutinize the intricate dance of supply, demand, trends, and perhaps a pinch of whimsy that underpins the march of capitalism.

The genesis of this curious endeavor lies in the often unexpected congruence of market patterns that reveal themselves when one gazes beyond the foam of everyday transactions. The motivation to delve into this peculiar juncture is not merely to satiate a thirst for unconventional analysis but to render a clearer perspective on the capricious currents of economic influence. Breweries, synonymous with creativity and local enterprise, stand as champions of flavor and variety, whereas Amazon, with its steadfast growth, stands as a titan of innovation and convenience. The intertwining of these two disparate worlds in the arena of market forces prompts us to question whether there is something more than mere coincidence, perhaps a pint of correlation, that binds them.

As the socioeconomic landscape continues to evolve, it is paramount to draw on our sorghum of knowledge to ferment fresh perspectives on the market dynamics. This illuminates a core truth - that in the frothy cauldron of market trends, unconventional indicators may reveal themselves to be surprisingly prescient. As we embark on this journey through the frothy ale-leyways of economic analysis, let us raise a glass to both the earnest pursuit of knowledge and the whimsical nature of economic correlations.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft a literature review section of an academic research paper, that starts out dry for the first few sentences but then becomes hilarious and goofy.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a literature review section of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Speak in the present tense for this section (the authors find...), as is common in academic research paper literature reviews. Name the sources in a format similar to this: In "Book," the authors find lorem and ipsum.

Make up the lorem and ipsum part, but make it sound related to the topic at hand.

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between seemingly unrelated phenomena has long captivated the curiosity of researchers, economists, and ale enthusiasts alike. In this study, we embark on a frothy exploration of the relationship between the number of breweries in the United States and the stock price of Amazon.com (AMZN). While one may question the rationality behind such an investigation, we cannot overlook the demand to tap into unconventional sources of insight, especially when it comes to the ever-fluctuating and effervescent world of financial markets.
Beyond the hops and barley, there exists an undercurrent of economic significance. The craft brewing industry, with its fermenting expansion and foamy delight, has carved out a distinct niche within the market. At the same time, Amazon.com, the titan of e-commerce, has brewed up its own recipe for success. The intertwining of these two seemingly distinct symbols of modernity and enterprise propels us to scrutinize the intricate dance of supply, demand, trends, and perhaps a pinch of whimsy that underpins the march of capitalism.
The genesis of this curious endeavor lies in the often unexpected congruence of market patterns that reveal themselves when one gazes beyond the foam of everyday transactions. The motivation to delve into this peculiar juncture is not merely to satiate a thirst for unconventional analysis but to render a clearer perspective on the capricious currents of economic influence. Breweries, synonymous with creativity and local enterprise, stand as champions of flavor and variety, whereas Amazon, with its steadfast growth, stands as a titan of innovation and convenience. The intertwining of these two disparate worlds in the arena of market forces prompts us to question whether there is something more than mere coincidence, perhaps a pint of correlation, that binds them.
As the socioeconomic landscape continues to evolve, it is paramount to draw on our sorghum of knowledge to ferment fresh perspectives on the market dynamics. This illuminates a core truth - that in the frothy cauldron of market trends, unconventional indicators may reveal themselves to be surprisingly prescient. As we embark on this journey through the frothy ale-leyways of economic analysis, let us raise a glass to both the earnest pursuit of knowledge and the whimsical nature of economic correlations.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Unraveling the relationship between the number of breweries in the United States and Amazon.com's stock price has presented a conundrum that has perplexed researchers for years. The literature on this subject comprises a combination of statistical analyses, economic treatises, and a frothy mix of assorted, often unexpected sources from diverse disciplines.

Smith and Doe (2015) shed light on the economic impact of craft breweries in their seminal work "The Economic Fermentation: A Comprehensive Analysis of Craft Brewing Industry." Their comprehensive analysis illustrates the significant contribution of the craft brewing sector to the economy, challenging traditional perceptions of the industry's influence on consumer behavior and macroeconomic indicators. However, their study falls short of delving into the specific relationship between breweries and stock prices, leaving a considerable gap in the understanding of this peculiar correlation.

Jones (2017) delves into the intricacies of e-commerce and stock market anomalies in "The Untapped Opportunities: Unconventional Market Indicators in the Digital Age." Although Jones' work primarily focuses on digital market trends and their impact on stock prices, it offers a tantalizing glimpse into the potential influence of unconventional market indicators. Despite alluding to the potential interplay between seemingly unrelated phenomena, Jones stops short of addressing the curious case of the correlation between breweries and Amazon's stock price.

Turning to a more theoretical perspective, "The Ale-Amazon Conundrum: Exploring the Unconventional Interplay of Breweries and Stock Market" by Riesling et al. (2020) introduces a novel framework for understanding the coalescence of craft breweries and stock market dynamics. Embracing a multidisciplinary approach, the authors skilfully marry principles of microeconomics with an in-depth exploration of consumer sentiment and its impact on stock valuation. Riesling et al.'s work serves as a bubbling source of inspiration for our research, providing a theoretical foundation for unraveling the quirky association between brews and stocks.

In addition to the academic literature, several non-fiction books within economics and business have offered insights related to our subject matter. Books like "Brewonomics: The Economic Impact of Craft Beer" by Hoffmeister (2018) present a serious exploration of the craft beer industry's economic implications, while "The Everything Store: Jeff Bezos and the Age of Amazon" by Stone (2013) delves into the rise of Amazon.com as a titan of e-commerce. Both books provide essential context for understanding the economic landscapes in which breweries and Amazon operate.

Shifting to a more whimsical note, fiction works such as "The Brewery Mystery" by Hopton (2019) and "The Brews and the Bezos" by Aleman (2021) have captivated readers with narratives that, although fictional, explore the potential interplay between entrepreneurship and stock market dynamics. While these works provide no empirical evidence, they inspire a playful contemplation of the ale-Amazon connection.

Expanding our literature review to embrace unorthodox sources, the authors also took a novel approach to investigating the brew-Amazon correlation. This unconventional approach involved a thorough analysis of obscure sources, including in-depth scrutiny of grocery store receipts, late-night infomercials, and even the minute details of CVS receipts. Surprisingly, these sources unveiled unexpected insights, albeit laden with a good measure of jest and whimsy.

This comprehensive literature review sets the stage for our own investigation, combining a serious academic foundation with a pinch of quirkiness and a keg-full of enthusiasm for uncovering the peculiar dynamics at play.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the methodology section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the methodology section of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Brewers Association and LSEG Analytics (Refinitiv) . You used data from 2002 to 2022

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

[[INTRODUCTION]]
The relationship between seemingly unrelated phenomena has long captivated the curiosity of researchers, economists, and ale enthusiasts alike. In this study, we embark on a frothy exploration of the relationship between the number of breweries in the United States and the stock price of Amazon.com (AMZN). While one may question the rationality behind such an investigation, we cannot overlook the demand to tap into unconventional sources of insight, especially when it comes to the ever-fluctuating and effervescent world of financial markets.
Beyond the hops and barley, there exists an undercurrent of economic significance. The craft brewing industry, with its fermenting expansion and foamy delight, has carved out a distinct niche within the market. At the same time, Amazon.com, the titan of e-commerce, has brewed up its own recipe for success. The intertwining of these two seemingly distinct symbols of modernity and enterprise propels us to scrutinize the intricate dance of supply, demand, trends, and perhaps a pinch of whimsy that underpins the march of capitalism.
The genesis of this curious endeavor lies in the often unexpected congruence of market patterns that reveal themselves when one gazes beyond the foam of everyday transactions. The motivation to delve into this peculiar juncture is not merely to satiate a thirst for unconventional analysis but to render a clearer perspective on the capricious currents of economic influence. Breweries, synonymous with creativity and local enterprise, stand as champions of flavor and variety, whereas Amazon, with its steadfast growth, stands as a titan of innovation and convenience. The intertwining of these two disparate worlds in the arena of market forces prompts us to question whether there is something more than mere coincidence, perhaps a pint of correlation, that binds them.
As the socioeconomic landscape continues to evolve, it is paramount to draw on our sorghum of knowledge to ferment fresh perspectives on the market dynamics. This illuminates a core truth - that in the frothy cauldron of market trends, unconventional indicators may reveal themselves to be surprisingly prescient. As we embark on this journey through the frothy ale-leyways of economic analysis, let us raise a glass to both the earnest pursuit of knowledge and the whimsical nature of economic correlations.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN), a rigorous and systematic approach was taken to ensure the robustness and credibility of the findings. Data on the number of breweries in the United States was obtained from the Brewers Association, encompassing the years 2002 to 2022. Additionally, stock price data for Amazon.com was sourced from LSEG Analytics (Refinitiv), spanning the same time period. The study employed a combination of quantitative analysis, econometric modeling, and a sprinkle of creative thinking to explore this unconventional connection.

The first step involved the collection and verification of data from reputable sources, ensuring the brew-tiful integrity and accuracy of the information. Following this, various statistical analyses were performed to determine the correlation and potential causality between the number of breweries and Amazon.com's stock price. A time-series analysis was conducted to capture the dynamic interplay between these variables, taking into account potential lags and lead-lag relationships. Multiple regression models were brewed up to account for confounding variables and factors influencing the stock market, aiming to distill the essence of the relationship between craft beer production and the performance of Amazon's stock.

Furthermore, a comprehensive industry analysis of the craft brewing sector was conducted to delve into the nuances and foamy developments within this market. Factors such as consumer trends, regional variations in brewery growth, and the overall market landscape were carefully scrutinized to contextualize the findings. This involved engaging with industry reports, market research, and the occasional visit to local brewpubs – strictly for research purposes, of course.

The data underwent a meticulous fermentation process, where outliers, data anomalies, and potential biases were acknowledged and addressed. Sensitivity analyses were performed to assess the robustness of the results under different scenarios and assumptions. This process, akin to the careful crafting of a complex brew, was essential to ensure the reliability and validity of the findings.

In addition to the quantitative analyses, qualitative insights from industry experts, market analysts, and perhaps even a few aficionados of craft beverages were sought to weave a narrative around the statistical findings. These perspectives added layers of depth to the understanding of the market forces and the potential ripple effects stemming from the craft beer industry.

While the traditional approach to econometric modeling and statistical analyses formed the backbone of this study, a dash of unconventional thinking and a hint of creativity were essential ingredients. The study ventured into uncharted territories where market dynamics and cultural trends converge, reflecting an earnest effort to cast light on the quirky and often whimsical interconnections within the economy.

In summary, the methodology encompassed a blend of rigorous statistical analyses, in-depth industry insights, and a touch of unconventional flair, mirroring the effervescent and multifaceted nature of the market phenomena under scrutiny. The approach taken sought to extract the essence of this ale-mentary yet captivating relationship, straddling the realms of economic analysis and the spirit of creative inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the results section of an academic research paper. You speak in the past tense (you found...).
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the results section of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Brewers Association and LSEG Analytics (Refinitiv) .

For the time period 2002 to 2022, you found a correlation 0.8982364, r-squared of 0.8068287, and p < 0.01.

One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.

Here is the title and abstract of the paper:
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between seemingly unrelated phenomena has long captivated the curiosity of researchers, economists, and ale enthusiasts alike. In this study, we embark on a frothy exploration of the relationship between the number of breweries in the United States and the stock price of Amazon.com (AMZN). While one may question the rationality behind such an investigation, we cannot overlook the demand to tap into unconventional sources of insight, especially when it comes to the ever-fluctuating and effervescent world of financial markets.
Beyond the hops and barley, there exists an undercurrent of economic significance. The craft brewing industry, with its fermenting expansion and foamy delight, has carved out a distinct niche within the market. At the same time, Amazon.com, the titan of e-commerce, has brewed up its own recipe for success. The intertwining of these two seemingly distinct symbols of modernity and enterprise propels us to scrutinize the intricate dance of supply, demand, trends, and perhaps a pinch of whimsy that underpins the march of capitalism.
The genesis of this curious endeavor lies in the often unexpected congruence of market patterns that reveal themselves when one gazes beyond the foam of everyday transactions. The motivation to delve into this peculiar juncture is not merely to satiate a thirst for unconventional analysis but to render a clearer perspective on the capricious currents of economic influence. Breweries, synonymous with creativity and local enterprise, stand as champions of flavor and variety, whereas Amazon, with its steadfast growth, stands as a titan of innovation and convenience. The intertwining of these two disparate worlds in the arena of market forces prompts us to question whether there is something more than mere coincidence, perhaps a pint of correlation, that binds them.
As the socioeconomic landscape continues to evolve, it is paramount to draw on our sorghum of knowledge to ferment fresh perspectives on the market dynamics. This illuminates a core truth - that in the frothy cauldron of market trends, unconventional indicators may reveal themselves to be surprisingly prescient. As we embark on this journey through the frothy ale-leyways of economic analysis, let us raise a glass to both the earnest pursuit of knowledge and the whimsical nature of economic correlations.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis conducted to probe the relationship between the number of breweries in the United States and Amazon.com’s stock price over the period 2002 to 2022 unearthed some intriguing findings. Our investigation yielded a correlation coefficient of 0.8982364, indicating a strong positive connection between these seemingly disparate variables. The r-squared value of 0.8068287 further supports this robust relationship, signifying that 80.68% of the variance in Amazon’s stock price can be explained by the number of breweries in the United States. Moreover, the p-value of less than 0.01 lends compelling evidence to reject the null hypothesis and affirm the presence of a significant association between the two phenomena.

A pivotal visualization underpinning our results is presented in Figure 1. This scatterplot illuminates the unmistakable pattern of co-movement between the number of breweries in the United States and Amazon.com’s stock price, serving as a graphic testament to the salient correlation revealed in our analysis.

Although it may seem as though we’ve fermented a strange concoction in our research, the empirical evidence paints a compelling picture. The infiltration of craft breweries onto the economic landscape appears to have left an indelible mark on the trajectory of Amazon.com's stock price. As the craft beer industry bubbled and brewed, Amazon’s stock price effervescently mirrored its rise. This curious correlation beckons us to ponder the unanticipated intersections in the financial markets, reminding us that the ebbs and flows of stock prices can be as enigmatic as the intricate flavors of a well-crafted brew.

Overall, our findings uncork a compelling narrative of unexpected correlations, demonstrating that in the vast expanse of economic data, there may just be a hint of hoppy surprises waiting to be discovered. This aleuring association between the number of breweries and Amazon.com's stock price suggests that in the quirky world of market dynamics, disparate elements can converge in ways that are more interconnected than we might have initially stout.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the discussion section of an academic research paper.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up the discussion section of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.

Do not write a conclusion. I will add a conclusion after this.

[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

[[LITERATURE REVIEW]]
Unraveling the relationship between the number of breweries in the United States and Amazon.com's stock price has presented a conundrum that has perplexed researchers for years. The literature on this subject comprises a combination of statistical analyses, economic treatises, and a frothy mix of assorted, often unexpected sources from diverse disciplines.
Smith and Doe (2015) shed light on the economic impact of craft breweries in their seminal work "The Economic Fermentation: A Comprehensive Analysis of Craft Brewing Industry." Their comprehensive analysis illustrates the significant contribution of the craft brewing sector to the economy, challenging traditional perceptions of the industry's influence on consumer behavior and macroeconomic indicators. However, their study falls short of delving into the specific relationship between breweries and stock prices, leaving a considerable gap in the understanding of this peculiar correlation.
Jones (2017) delves into the intricacies of e-commerce and stock market anomalies in "The Untapped Opportunities: Unconventional Market Indicators in the Digital Age." Although Jones' work primarily focuses on digital market trends and their impact on stock prices, it offers a tantalizing glimpse into the potential influence of unconventional market indicators. Despite alluding to the potential interplay between seemingly unrelated phenomena, Jones stops short of addressing the curious case of the correlation between breweries and Amazon's stock price.
Turning to a more theoretical perspective, "The Ale-Amazon Conundrum: Exploring the Unconventional Interplay of Breweries and Stock Market" by Riesling et al. (2020) introduces a novel framework for understanding the coalescence of craft breweries and stock market dynamics. Embracing a multidisciplinary approach, the authors skilfully marry principles of microeconomics with an in-depth exploration of consumer sentiment and its impact on stock valuation. Riesling et al.'s work serves as a bubbling source of inspiration for our research, providing a theoretical foundation for unraveling the quirky association between brews and stocks.
In addition to the academic literature, several non-fiction books within economics and business have offered insights related to our subject matter. Books like "Brewonomics: The Economic Impact of Craft Beer" by Hoffmeister (2018) present a serious exploration of the craft beer industry's economic implications, while "The Everything Store: Jeff Bezos and the Age of Amazon" by Stone (2013) delves into the rise of Amazon.com as a titan of e-commerce. Both books provide essential context for understanding the economic landscapes in which breweries and Amazon operate.
Shifting to a more whimsical note, fiction works such as "The Brewery Mystery" by Hopton (2019) and "The Brews and the Bezos" by Aleman (2021) have captivated readers with narratives that, although fictional, explore the potential interplay between entrepreneurship and stock market dynamics. While these works provide no empirical evidence, they inspire a playful contemplation of the ale-Amazon connection.
Expanding our literature review to embrace unorthodox sources, the authors also took a novel approach to investigating the brew-Amazon correlation. This unconventional approach involved a thorough analysis of obscure sources, including in-depth scrutiny of grocery store receipts, late-night infomercials, and even the minute details of CVS receipts. Surprisingly, these sources unveiled unexpected insights, albeit laden with a good measure of jest and whimsy.
This comprehensive literature review sets the stage for our own investigation, combining a serious academic foundation with a pinch of quirkiness and a keg-full of enthusiasm for uncovering the peculiar dynamics at play.

[[RESULTS]]
The statistical analysis conducted to probe the relationship between the number of breweries in the United States and Amazon.com’s stock price over the period 2002 to 2022 unearthed some intriguing findings. Our investigation yielded a correlation coefficient of 0.8982364, indicating a strong positive connection between these seemingly disparate variables. The r-squared value of 0.8068287 further supports this robust relationship, signifying that 80.68% of the variance in Amazon’s stock price can be explained by the number of breweries in the United States. Moreover, the p-value of less than 0.01 lends compelling evidence to reject the null hypothesis and affirm the presence of a significant association between the two phenomena.
A pivotal visualization underpinning our results is presented in Figure 1. This scatterplot illuminates the unmistakable pattern of co-movement between the number of breweries in the United States and Amazon.com’s stock price, serving as a graphic testament to the salient correlation revealed in our analysis.
Although it may seem as though we’ve fermented a strange concoction in our research, the empirical evidence paints a compelling picture. The infiltration of craft breweries onto the economic landscape appears to have left an indelible mark on the trajectory of Amazon.com's stock price. As the craft beer industry bubbled and brewed, Amazon’s stock price effervescently mirrored its rise. This curious correlation beckons us to ponder the unanticipated intersections in the financial markets, reminding us that the ebbs and flows of stock prices can be as enigmatic as the intricate flavors of a well-crafted brew.
Overall, our findings uncork a compelling narrative of unexpected correlations, demonstrating that in the vast expanse of economic data, there may just be a hint of hoppy surprises waiting to be discovered. This aleuring association between the number of breweries and Amazon.com's stock price suggests that in the quirky world of market dynamics, disparate elements can converge in ways that are more interconnected than we might have initially stout.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study provide empirical support for the conjectures underlying the enigmatic relationship between the number of breweries in the United States and Amazon.com's stock price. As tempting as it is to dismiss this peculiar correlation as frothy speculation, our results buoyantly affirm the simultaneous ascent of the craft beer industry and Amazon's stock price.

Building upon the jesting undertones woven into previous literature, our study hopped over the hops-Amazon nexus, offering a rigorous assessment that not only vindicates our prior beer-thed insights but also sheds lager light on the underexamined interplay of these seemingly unrelated market forces. It appears that the effervescent growth of the craft brewing sector has surreptitiously imbued the trajectory of Amazon's stock price with an unexpected zing, much like discovering a hidden note in a well-crafted ale.

The statistical validation of a robust positive correlation with a correlation coefficient of 0.8982364 and an r-squared value of 0.8068287 underscores the substantive weight of this association, evincing that a significant proportion of Amazon's stock price variance can be explained by the number of breweries in the United States. The p-value less than 0.01 casts further gravity on these findings, establishing a resoundingly convincing case for the substantial connection between these unlikely bedfellows.

Our results flourish within the context of prior research that has tantalizingly dabbled in the fringes of unorthodox market indicators and the unpredictable ebbs and flows of economic trends. The Aleman (2021) and Hopton (2019) narratives, while ostensibly fictional, artfully orchestrate contemplations of the ale-Amazon kinship that resonate with the empirical correlates we unearthed. Like a well-crafted pint, our findings arrive as an unforeseen blend of statistical robustness and a hint of whimsical zest, offering an opportunity to toast to unanticipated connections in the economic tapestry.

In this regard, our study swims against the currents of conventional economic analyses, treading the unexplored waters where craft beer and stock prices coalesce to orchestrate a harmonious symphony that resonates across the financial markets. In doing so, we demonstrate that beneath the veneer of traditional market dynamics, lies a pulsating undercurrent of unsung correlations and quirky interplay, reminding us that the economic world, much like a good brew, is rich with hidden hop-portunities waiting to be uncovered.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.You draft the discussion section of goofy academic research papers that sounds like it belongs based on the title and abstract provided.
User prompt:
Pretend you are an academic researcher. Your writing sounds like it belongs in a medical or economics journal. However, you frequently crack jokes, make puns, or add unexpected twists in your writing.

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The number of Breweries in the United States and Amazon.com's stock price (AMZN). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price

[[ABSTRACT]]
This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

[[INTRDUCTION]]
The relationship between seemingly unrelated phenomena has long captivated the curiosity of researchers, economists, and ale enthusiasts alike. In this study, we embark on a frothy exploration of the relationship between the number of breweries in the United States and the stock price of Amazon.com (AMZN). While one may question the rationality behind such an investigation, we cannot overlook the demand to tap into unconventional sources of insight, especially when it comes to the ever-fluctuating and effervescent world of financial markets.
Beyond the hops and barley, there exists an undercurrent of economic significance. The craft brewing industry, with its fermenting expansion and foamy delight, has carved out a distinct niche within the market. At the same time, Amazon.com, the titan of e-commerce, has brewed up its own recipe for success. The intertwining of these two seemingly distinct symbols of modernity and enterprise propels us to scrutinize the intricate dance of supply, demand, trends, and perhaps a pinch of whimsy that underpins the march of capitalism.
The genesis of this curious endeavor lies in the often unexpected congruence of market patterns that reveal themselves when one gazes beyond the foam of everyday transactions. The motivation to delve into this peculiar juncture is not merely to satiate a thirst for unconventional analysis but to render a clearer perspective on the capricious currents of economic influence. Breweries, synonymous with creativity and local enterprise, stand as champions of flavor and variety, whereas Amazon, with its steadfast growth, stands as a titan of innovation and convenience. The intertwining of these two disparate worlds in the arena of market forces prompts us to question whether there is something more than mere coincidence, perhaps a pint of correlation, that binds them.
As the socioeconomic landscape continues to evolve, it is paramount to draw on our sorghum of knowledge to ferment fresh perspectives on the market dynamics. This illuminates a core truth - that in the frothy cauldron of market trends, unconventional indicators may reveal themselves to be surprisingly prescient. As we embark on this journey through the frothy ale-leyways of economic analysis, let us raise a glass to both the earnest pursuit of knowledge and the whimsical nature of economic correlations.

[[RESULTS]]
The statistical analysis conducted to probe the relationship between the number of breweries in the United States and Amazon.com’s stock price over the period 2002 to 2022 unearthed some intriguing findings. Our investigation yielded a correlation coefficient of 0.8982364, indicating a strong positive connection between these seemingly disparate variables. The r-squared value of 0.8068287 further supports this robust relationship, signifying that 80.68% of the variance in Amazon’s stock price can be explained by the number of breweries in the United States. Moreover, the p-value of less than 0.01 lends compelling evidence to reject the null hypothesis and affirm the presence of a significant association between the two phenomena.
A pivotal visualization underpinning our results is presented in Figure 1. This scatterplot illuminates the unmistakable pattern of co-movement between the number of breweries in the United States and Amazon.com’s stock price, serving as a graphic testament to the salient correlation revealed in our analysis.
Although it may seem as though we’ve fermented a strange concoction in our research, the empirical evidence paints a compelling picture. The infiltration of craft breweries onto the economic landscape appears to have left an indelible mark on the trajectory of Amazon.com's stock price. As the craft beer industry bubbled and brewed, Amazon’s stock price effervescently mirrored its rise. This curious correlation beckons us to ponder the unanticipated intersections in the financial markets, reminding us that the ebbs and flows of stock prices can be as enigmatic as the intricate flavors of a well-crafted brew.
Overall, our findings uncork a compelling narrative of unexpected correlations, demonstrating that in the vast expanse of economic data, there may just be a hint of hoppy surprises waiting to be discovered. This aleuring association between the number of breweries and Amazon.com's stock price suggests that in the quirky world of market dynamics, disparate elements can converge in ways that are more interconnected than we might have initially stout.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]
In conclusion, our study has meticulously probed the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN), unravelling a surprisingly firm correlation between these apparently unrelated domains. The robust correlation coefficient of 0.8982364, along with the resolutely low p-value, indicates that this association is not merely a frothy coincidence, but rather a well-fermented reality. Our findings highlight the intriguing interplay of market forces, reminding us that even in the seemingly disjointed realms of craft beer and e-commerce, there exists a curious intertwining of fates. It seems that as craft breweries flourished, so did Amazon's stock price, proving that in the vast brewery of economic data, unexpected correlations can indeed leave a lasting, hoppy aftertaste.

While our investigation may initially appear to be a whimsical foray into unconventional economic indicators, it has brewed up compelling evidence that should not be dismissed as mere ale-babble. The practical implications of our findings extend beyond mere academic curiosity, shedding lager light on the potential value of diversified and unorthodox variables in predicting stock market movements. With the nuances of economic trends as mysterious as the depths of a finely crafted stout, it becomes evident that there may be more to this ale-iance between breweries and stock prices than meets the eye.

As we bid adieu to this ale-gant exploration, it is abundantly clear that further studies in this area may not yield much additional brew-haha. Our findings stand as a testament to the unanticipated intersections and peculiar parallels that underpin the ebbs and flows of market dynamics, asserting that when it comes to unconventional economic correlations, there may just be no need for further research.


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Econometrics


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Brewer's Data Consortium


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Pouring Over the Data: The Ale-Amazon Connection - A Statistical Analysis of Breweries in the United States and Amazon.com's Stock Price with an abstract of This study examines the relationship between the number of breweries in the United States and Amazon.com's stock price (AMZN) over the period 2002 to 2022. Utilizing data from Brewers Association and LSEG Analytics (Refinitiv), we employed a rigorous statistical analysis to investigate this brew-tifully intriguing conundrum. Our findings revealed a remarkably high correlation coefficient of 0.8982364 and a p-value less than 0.01, indicating a robust association between these seemingly unrelated phenomena. While it may seem ale-mented to suggest a connection between craft beer production and a tech giant's stock performance, our results suggest that as the craft beer industry flourished, so did Amazon's stock price. This work sheds lager light on the quirky and often unpredictable interplay of economic trends, reminding us that sometimes, the hops and the stock market are more intertwined than we stout.

ChatGPT:

breweries, United States, Amazon stock price, statistical analysis, correlation coefficient, p-value, craft beer production, tech giant, economic trends

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The number of Breweries in the United States
Detailed data title: Number of Breweries in the United States
Source: Brewers Association
See what else correlates with The number of Breweries in the United States

Amazon.com's stock price (AMZN)
Detailed data title: Opening price of Amazon.com (AMZN) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Amazon.com's stock price (AMZN)

Correlation r = 0.8982364 (Pearson correlation coefficient)
Correlation is a measure of how much the variables move together. If it is 0.99, when one goes up the other goes up. If it is 0.02, the connection is very weak or non-existent. If it is -0.99, then when one goes up the other goes down. If it is 1.00, you probably messed up your correlation function.

r2 = 0.8068287 (Coefficient of determination)
This means 80.7% of the change in the one variable (i.e., Amazon.com's stock price (AMZN)) is predictable based on the change in the other (i.e., The number of Breweries in the United States) over the 21 years from 2002 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 3.3E-8. 0.0000000327404797528195400000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.9 in 3.3E-6% of random cases. Said differently, if you correlated 30,543,230 random variables You don't actually need 30 million variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 20 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 20 because we have two variables measured over a period of 21 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.76, 0.96 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
200220032004200520062007200820092010201120122013201420152016201720182019202020212022
The number of Breweries in the United States (Number of breweries)157516291635161217411805189619332131252526703162401448475780676777228557909293849709
Amazon.com's stock price (AMZN) (Stock price)0.550.962.642.252.371.934.772.576.819.078.7912.819.9415.6332.8137.958.673.2693.75163.5167.55




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([1575,1629,1635,1612,1741,1805,1896,1933,2131,2525,2670,3162,4014,4847,5780,6767,7722,8557,9092,9384,9709,])
array_2 = np.array([0.55,0.96,2.64,2.25,2.37,1.93,4.77,2.57,6.81,9.07,8.79,12.8,19.94,15.63,32.81,37.9,58.6,73.26,93.75,163.5,167.55,])
array_1_name = "The number of Breweries in the United States"
array_2_name = "Amazon.com's stock price (AMZN)"

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

Thanks for being the explorer we needed!


Correlation ID: 1338 · Black Variable ID: 34 · Red Variable ID: 1543
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0