about · email me · subscribe
Spurious correlation #5,888 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bloomberg Money Stuff articles about the SEC and the second variable is Automotive recalls issued by Harley-Davidson Motor Company.  The chart goes from 2014 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The SEC was using subliminal messaging in their articles to remind Harley-Davidson about safety regulations. With fewer articles, the SEC's influence waned, and Harley-Davidson simply forgot to make faulty motorcycles.

Model: dalle-3
Prompt: Prompt: Generate an image inspired by the style of a Discovery magazine cover. Depict a newspaper front page with the headline "Subtle Shifts" showcasing a sleek Harley-Davidson motorcycle. A small article below highlights Automotive recalls by Harley-Davidson, drawing attention. In the background, the fading presence of Bloomberg Money Stuff articles on regulatory bodies is subtly dissolving, reflecting diminishing impact. The motorcycle, symbolizing power and precision, hints at a nuanced fault akin to the waning influence of regulatory bodies. 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 variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Concept art Celtic art Surrealism A Discovery magazine cover image Cute cartoon
ChatGPT: A Discovery magazine cover image

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company, in the following situation: The SEC was using subliminal messaging in their articles to remind Harley-Davidson about safety regulations. With fewer articles, the SEC's influence waned, and Harley-Davidson simply forgot to make faulty motorcycles.. Keep the description simple.
ChatGPT: Imagine a newspaper with a bold headline "SEC's Subtle Influence" featuring an image of a sleek Harley-Davidson motorcycle. Below, a small, unassuming article about Automotive recalls by Harley-Davidson catches the eye. In the background, the fading presence of Bloomberg Money Stuff articles on SEC regulation is barely noticeable, as if their influence is slowly disappearing. The motorcycle, once a symbol of power and precision, hints at a subtle fault, just like the fading influence of the SEC.

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: [ A Discovery magazine cover image ] and depicting this scene: Imagine a newspaper with a bold headline "SEC's Subtle Influence" featuring an image of a sleek Harley-Davidson motorcycle. Below, a small, unassuming article about Automotive recalls by Harley-Davidson catches the eye. In the background, the fading presence of Bloomberg Money Stuff articles on SEC regulation is barely noticeable, as if their influence is slowly disappearing. The motorcycle, once a symbol of power and precision, hints at a subtle fault, just like the fading influence of the SEC. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate an image inspired by the style of a Discovery magazine cover. Depict a newspaper front page with the headline "Subtle Shifts" showcasing a sleek Harley-Davidson motorcycle. A small article below highlights Automotive recalls by Harley-Davidson, drawing attention. In the background, the fading presence of Bloomberg Money Stuff articles on regulatory bodies is subtly dissolving, reflecting diminishing impact. The motorcycle, symbolizing power and precision, hints at a nuanced fault akin to the waning influence of regulatory bodies.

*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 a decrease in Bloomberg Money Stuff articles about the SEC caused Automotive recalls issued by Harley-Davidson Motor Company to decrease.

AI academic paper

(Because p < 0.01)
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

The Journal of Regulatory Rides and Recalls

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 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from Bloomberg and US DOT to assess this nagging question. You found a correlation coefficient of 0.9525395 and p < 0.01 for 2014 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]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Buckle up, dear readers, for a wild ride through the peculiar intersection of financial scrutiny and motorcycle mayhem. In this paper, we explore the seemingly improbable link between the Bloomberg Money Stuff's coverage of Securities and Exchange Commission (SEC) activities and the unanticipated outbreaks of recalls by the revered Harley-Davidson Motor Company. It's a tale that will have you scratching your head, wondering if there's a financial roadblock leading to motorcycle malfunctions or if these two worlds are just playing a high-stakes game of tag.

In the dog-eat-dog world of finance, where the stakes are high and the lingo is often cryptic, one might not expect to find a road hog like Harley-Davidson bumbling into the mix. Yet, our research has uncovered a correlation that is as tight as a biker's leather pants – with a correlation coefficient riding at 0.9525395 and a p-value lower than the odds of successfully executing a triple somersault on a Harley. From the boardrooms of Wall Street to the open roads of motorcycle enthusiasts, our findings promise to pull you into a whirlwind of discovery and disbelief.

So, grab your helmets, pop on your reading glasses, and hold on tight as we rev up our engines and delve into the peculiar, often comical, realms of financial oversight and mechanical mishaps. This paper not only seeks to unravel the enigma that ties these seemingly disparate subjects but also showcases the delightfully wacky intricacies of the modern financial and automotive landscapes. Let's hit the accelerator and explore the twists and turns of SEC chatter and hog recalls – it's sure to be a ride to remember.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of 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 name a couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Buckle up, dear readers, for a wild ride through the peculiar intersection of financial scrutiny and motorcycle mayhem. In this paper, we explore the seemingly improbable link between the Bloomberg Money Stuff's coverage of Securities and Exchange Commission (SEC) activities and the unanticipated outbreaks of recalls by the revered Harley-Davidson Motor Company. It's a tale that will have you scratching your head, wondering if there's a financial roadblock leading to motorcycle malfunctions or if these two worlds are just playing a high-stakes game of tag.
In the dog-eat-dog world of finance, where the stakes are high and the lingo is often cryptic, one might not expect to find a road hog like Harley-Davidson bumbling into the mix. Yet, our research has uncovered a correlation that is as tight as a biker's leather pants – with a correlation coefficient riding at 0.9525395 and a p-value lower than the odds of successfully executing a triple somersault on a Harley. From the boardrooms of Wall Street to the open roads of motorcycle enthusiasts, our findings promise to pull you into a whirlwind of discovery and disbelief.
So, grab your helmets, pop on your reading glasses, and hold on tight as we rev up our engines and delve into the peculiar, often comical, realms of financial oversight and mechanical mishaps. This paper not only seeks to unravel the enigma that ties these seemingly disparate subjects but also showcases the delightfully wacky intricacies of the modern financial and automotive landscapes. Let's hit the accelerator and explore the twists and turns of SEC chatter and hog recalls – it's sure to be a ride to remember.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al.," the authors find a substantial relationship between SEC regulatory activity and corporate behavior, providing a solid foundation for our exploration of the SEC's potential influence on the automotive industry. Further, "Doe's" comprehensive study on financial regulation sheds light on the intricate mechanisms that underpin regulatory oversight, setting the stage for our investigation of the regulatory landscape's impact on automotive manufacturing.

Turning to works outside the academic realm, "Flash Boys" by Michael Lewis provides a gripping account of high-frequency trading and the pressures of the financial world, offering insights into the fast-paced environment that characterizes Wall Street. Additionally, "The Lean Startup" by Eric Ries offers a refreshing perspective on innovation and market dynamics, showcasing the agility required to navigate the ever-evolving terrain of entrepreneurship – a quality that resonates with the adaptive nature of both regulatory compliance and automotive engineering.

Taking an unconventional twist, "Zen and the Art of Motorcycle Maintenance" by Robert M. Pirsig offers a philosophical exploration of the relationship between individuals and machines, drawing intriguing parallels to the interconnectedness of financial regulations and automotive operations. On a lighter note, "Fear and Loathing in Las Vegas" by Hunter S. Thompson presents a whimsical yet thought-provoking journey through the American landscape, capturing the essence of adventure and unpredictability – a theme that echoes the unexpected correlation between SEC scrutiny and Harley-Davidson recalls.

Shifting gears to the digital sphere, the popular internet meme "Distracted Boyfriend" humorously embodies the concept of shifting attention from one subject to another, mirroring the uncanny shift from financial news about the SEC to the exhilarating world of motorcycle recalls. Similarly, the "This is Fine" meme encapsulates the blend of absurdity and acceptance, encapsulating the surprising yet strangely acceptable connection between seemingly unrelated events – a sentiment that encapsulates the essence of our exploration.

As we steer through these diverse sources, our understanding of the interplay between financial oversight and automotive quality control takes on a multidimensional and light-hearted aspect, infusing our investigation with an unexpected dose of wit and amusement. So, hold on tight as we wade through this motley collection of literature, setting the stage for a rollicking journey into the phenomenon that intertwines Bloomberg Money Stuff's coverage of SEC activities and the captivating world of Harley-Davidson recalls.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Bloomberg and US DOT . You used data from 2014 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]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

[[INTRODUCTION]]
Buckle up, dear readers, for a wild ride through the peculiar intersection of financial scrutiny and motorcycle mayhem. In this paper, we explore the seemingly improbable link between the Bloomberg Money Stuff's coverage of Securities and Exchange Commission (SEC) activities and the unanticipated outbreaks of recalls by the revered Harley-Davidson Motor Company. It's a tale that will have you scratching your head, wondering if there's a financial roadblock leading to motorcycle malfunctions or if these two worlds are just playing a high-stakes game of tag.
In the dog-eat-dog world of finance, where the stakes are high and the lingo is often cryptic, one might not expect to find a road hog like Harley-Davidson bumbling into the mix. Yet, our research has uncovered a correlation that is as tight as a biker's leather pants – with a correlation coefficient riding at 0.9525395 and a p-value lower than the odds of successfully executing a triple somersault on a Harley. From the boardrooms of Wall Street to the open roads of motorcycle enthusiasts, our findings promise to pull you into a whirlwind of discovery and disbelief.
So, grab your helmets, pop on your reading glasses, and hold on tight as we rev up our engines and delve into the peculiar, often comical, realms of financial oversight and mechanical mishaps. This paper not only seeks to unravel the enigma that ties these seemingly disparate subjects but also showcases the delightfully wacky intricacies of the modern financial and automotive landscapes. Let's hit the accelerator and explore the twists and turns of SEC chatter and hog recalls – it's sure to be a ride to remember.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the uncanny connection between Bloomberg Money Stuff articles about SEC activities and the issuance of automotive recalls by Harley-Davidson Motor Company, our research team embarked on a wild and adventurous data collection odyssey, traversing the vast expanse of the internet like intrepid explorers in search of treasure.

In our quest for knowledge, we scoured an assortment of reputable sources, sifting through the virtual haystack to find the elusive needles of information related to SEC activities and Harley-Davidson recalls. Our primary sources included the hallowed halls of Bloomberg's digital library, where the wizardry of financial discourse could be found, and the treasure trove of automotive safety data offered by the U.S. Department of Transportation (DOT).

Armed with an assortment of cutting-edge data mining tools and statistical software that would make even the most experienced data wrangler envious, we embarked on a daring extraction of every nugget of information related to SEC activities and Harley-Davidson recall events between the years 2014 and 2022. It was akin to panning for gold in the digital rivers of cyberspace, with each click and scroll bringing us closer to unearthing the elusive connections between regulatory scrutiny and motorcycle mishaps.

Once we had amassed our digital bounty, we subjected the data to rigorous scrutiny, employing a medley of statistical analyses that would have made even the most seasoned number cruncher whistle in admiration. We calculated correlation coefficients, p-values, and conducted regression analyses to reveal the hidden patterns lurking within the data, akin to deciphering the intricate dance of celestial bodies across the night sky.

Our methodology, much like a finely tuned Harley-Davidson engine, blended the art and science of data analysis, weaving together the threads of financial journalism and automotive safety in a tapestry of empirical inquiry. The result is a methodology that, though unconventional, embodies the spirit of fearless exploration and analytical rigor, standing as a testament to the tireless pursuit of knowledge in the face of enigmatic relationships. So, rev up your curiosity, dear readers, and let's journey into the marvelously peculiar world of SEC chatter and hog recalls. It's a ride you won't soon forget!


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Bloomberg and US DOT .

For the time period 2014 to 2022, you found a correlation 0.9525395, r-squared of 0.9073314, 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]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Buckle up, dear readers, for a wild ride through the peculiar intersection of financial scrutiny and motorcycle mayhem. In this paper, we explore the seemingly improbable link between the Bloomberg Money Stuff's coverage of Securities and Exchange Commission (SEC) activities and the unanticipated outbreaks of recalls by the revered Harley-Davidson Motor Company. It's a tale that will have you scratching your head, wondering if there's a financial roadblock leading to motorcycle malfunctions or if these two worlds are just playing a high-stakes game of tag.
In the dog-eat-dog world of finance, where the stakes are high and the lingo is often cryptic, one might not expect to find a road hog like Harley-Davidson bumbling into the mix. Yet, our research has uncovered a correlation that is as tight as a biker's leather pants – with a correlation coefficient riding at 0.9525395 and a p-value lower than the odds of successfully executing a triple somersault on a Harley. From the boardrooms of Wall Street to the open roads of motorcycle enthusiasts, our findings promise to pull you into a whirlwind of discovery and disbelief.
So, grab your helmets, pop on your reading glasses, and hold on tight as we rev up our engines and delve into the peculiar, often comical, realms of financial oversight and mechanical mishaps. This paper not only seeks to unravel the enigma that ties these seemingly disparate subjects but also showcases the delightfully wacky intricacies of the modern financial and automotive landscapes. Let's hit the accelerator and explore the twists and turns of SEC chatter and hog recalls – it's sure to be a ride to remember.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of data collected from Bloomberg Money Stuff articles on SEC activities and automotive recalls issued by Harley-Davidson Motor Company revealed a positively staggering correlation. Our research team's statistical analysis uncovered a correlation coefficient of 0.9525395, indicating a strikingly strong relationship between these seemingly unrelated realms. It's as if the world of financial regulations and the rumbling world of motorcycle recalls have decided to dance together in a surprisingly coordinated waltz, leaving us dumbfounded and bemused.

Furthermore, the r-squared value of 0.9073314 suggests that a substantial 90.7% of the variation in Harley-Davidson recalls can be explained by changes in the coverage of SEC activities in Bloomberg Money Stuff articles. One might say that the SEC's moves have had a remarkable grip on shaping the ebb and flow of Harley-Davidson's recall patterns, proving that the twists and turns of Wall Street oversight may indeed reverberate through the open roads and expansive highways that Harley riders know so well.

To no one's surprise – because, well, we're talking about money stuff and motorcycles here, folks – the p-value was found to be less than 0.01. This essentially confirms the statistical significance of the relationship, indicating that the likelihood of this correlation occurring by mere chance is about as rare as finding a penny in a Harley's exhaust pipe.

And hold onto your handlebars, folks, because we've got a visual treat for you. Feast your eyes on Fig. 1, where we present a scatterplot showcasing the tight-knit connection between Bloomberg Money Stuff's SEC coverage and Harley-Davidson recalls, much like two partners in crime sharing a secret handshake. The figure visually encapsulates the remarkably close association we observed, leaving any doubters in the dust and revving up the curiosity of those delving into the perplexing world of financial reporting and motorcycle mishaps.

This remarkable alignment between SEC-focused financial reports and the resounding revs of Harley-Davidson recalls not only brings to light a most unexpected nexus but also invites us to marvel at the whimsical intricacies permeating the domains of finance and automotive engineering. So, dear readers, fasten your seatbelts and buckle your helmets – we're in for a joyride of statistical significance and offbeat correlations.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

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]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

[[LITERATURE REVIEW]]
In "Smith et al.," the authors find a substantial relationship between SEC regulatory activity and corporate behavior, providing a solid foundation for our exploration of the SEC's potential influence on the automotive industry. Further, "Doe's" comprehensive study on financial regulation sheds light on the intricate mechanisms that underpin regulatory oversight, setting the stage for our investigation of the regulatory landscape's impact on automotive manufacturing.
Turning to works outside the academic realm, "Flash Boys" by Michael Lewis provides a gripping account of high-frequency trading and the pressures of the financial world, offering insights into the fast-paced environment that characterizes Wall Street. Additionally, "The Lean Startup" by Eric Ries offers a refreshing perspective on innovation and market dynamics, showcasing the agility required to navigate the ever-evolving terrain of entrepreneurship – a quality that resonates with the adaptive nature of both regulatory compliance and automotive engineering.
Taking an unconventional twist, "Zen and the Art of Motorcycle Maintenance" by Robert M. Pirsig offers a philosophical exploration of the relationship between individuals and machines, drawing intriguing parallels to the interconnectedness of financial regulations and automotive operations. On a lighter note, "Fear and Loathing in Las Vegas" by Hunter S. Thompson presents a whimsical yet thought-provoking journey through the American landscape, capturing the essence of adventure and unpredictability – a theme that echoes the unexpected correlation between SEC scrutiny and Harley-Davidson recalls.
Shifting gears to the digital sphere, the popular internet meme "Distracted Boyfriend" humorously embodies the concept of shifting attention from one subject to another, mirroring the uncanny shift from financial news about the SEC to the exhilarating world of motorcycle recalls. Similarly, the "This is Fine" meme encapsulates the blend of absurdity and acceptance, encapsulating the surprising yet strangely acceptable connection between seemingly unrelated events – a sentiment that encapsulates the essence of our exploration.
As we steer through these diverse sources, our understanding of the interplay between financial oversight and automotive quality control takes on a multidimensional and light-hearted aspect, infusing our investigation with an unexpected dose of wit and amusement. So, hold on tight as we wade through this motley collection of literature, setting the stage for a rollicking journey into the phenomenon that intertwines Bloomberg Money Stuff's coverage of SEC activities and the captivating world of Harley-Davidson recalls.

[[RESULTS]]
The analysis of data collected from Bloomberg Money Stuff articles on SEC activities and automotive recalls issued by Harley-Davidson Motor Company revealed a positively staggering correlation. Our research team's statistical analysis uncovered a correlation coefficient of 0.9525395, indicating a strikingly strong relationship between these seemingly unrelated realms. It's as if the world of financial regulations and the rumbling world of motorcycle recalls have decided to dance together in a surprisingly coordinated waltz, leaving us dumbfounded and bemused.
Furthermore, the r-squared value of 0.9073314 suggests that a substantial 90.7% of the variation in Harley-Davidson recalls can be explained by changes in the coverage of SEC activities in Bloomberg Money Stuff articles. One might say that the SEC's moves have had a remarkable grip on shaping the ebb and flow of Harley-Davidson's recall patterns, proving that the twists and turns of Wall Street oversight may indeed reverberate through the open roads and expansive highways that Harley riders know so well.
To no one's surprise – because, well, we're talking about money stuff and motorcycles here, folks – the p-value was found to be less than 0.01. This essentially confirms the statistical significance of the relationship, indicating that the likelihood of this correlation occurring by mere chance is about as rare as finding a penny in a Harley's exhaust pipe.
And hold onto your handlebars, folks, because we've got a visual treat for you. Feast your eyes on Fig. 1, where we present a scatterplot showcasing the tight-knit connection between Bloomberg Money Stuff's SEC coverage and Harley-Davidson recalls, much like two partners in crime sharing a secret handshake. The figure visually encapsulates the remarkably close association we observed, leaving any doubters in the dust and revving up the curiosity of those delving into the perplexing world of financial reporting and motorcycle mishaps.
This remarkable alignment between SEC-focused financial reports and the resounding revs of Harley-Davidson recalls not only brings to light a most unexpected nexus but also invites us to marvel at the whimsical intricacies permeating the domains of finance and automotive engineering. So, dear readers, fasten your seatbelts and buckle your helmets – we're in for a joyride of statistical significance and offbeat correlations.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study illuminate a striking connection between SEC regulatory activities as covered in Bloomberg Money Stuff and the incidence of automotive recalls by Harley-Davidson Motor Company. While the quirkiness of our research topic may raise eyebrows, the robustness of our findings cannot be overstated. Our results not only confirmed the prior research by Smith et al. and Doe on the formidable influence of SEC scrutiny on corporate behavior but also evoked intriguing parallels with the unexpected sources cited in our literature review – yes, even "Zen and the Art of Motorcycle Maintenance" and "Distracted Boyfriend." It seems that in the realm of statistical jugglery, both financial oversight and automotive manufacturing have embraced an unexpected tango, leaving us mesmerized and gleefully intrigued.

As our analysis unveiled a mind-boggling correlation coefficient of 0.9525395, it became evident that the movements of the SEC, as chronicled in Bloomberg Money Stuff, held an uncanny sway over the fluctuating landscape of Harley-Davidson recalls. With an r-squared value of 0.9073314, we found that a staggering 90.7% of the variability in recall occurrences could be attributed to changes in the coverage of SEC activities, proving that the regulatory rumblings had a firm grip on shaping the ebb and flow of Harley-Davidson's recall patterns. If this were a poker game, we'd say the stakes were high, and the SEC's hand just so happened to be a royal flush.

The statistical significance derived from the p-value being less than 0.01 bolstered the credibility of our findings, imbuing them with an air of rarity akin to finding a needle in a haystack or better yet – a penny lodged in a Harley's exhaust pipe. And of course, our visualization of the data in the form of a scatterplot, where Bloomberg Money Stuff's SEC coverage and Harley-Davidson recalls locked arms in apparent unity, provided a visual testament to the synchronicity we observed – much like spotting a rare celestial alignment in the night sky or witnessing a synchronized dance routine at a Wall Street gala.

In essence, our results not only validate the offbeat insights from our literature review but also invite us to marvel at the whimsical intricacies of the financial and automotive domains. It appears that the SEC and Harley-Davidson have pulled off a splendid sleight of hand, turning what seemed like a mundane regulatory saga into a remarkable tale of interconnectedness. So, saddle up, dear readers, for the journey ahead promises to be as delightfully unpredictable and entertaining as the flick of a biker's wrist on a winding mountain road.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 Bloomberg Money Stuff articles about the SEC and Automotive recalls issued by Harley-Davidson Motor Company. Make lots of jokes, goofy observations, and puns.

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]]
Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls

[[ABSTRACT]]
In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

[[INTRDUCTION]]
Buckle up, dear readers, for a wild ride through the peculiar intersection of financial scrutiny and motorcycle mayhem. In this paper, we explore the seemingly improbable link between the Bloomberg Money Stuff's coverage of Securities and Exchange Commission (SEC) activities and the unanticipated outbreaks of recalls by the revered Harley-Davidson Motor Company. It's a tale that will have you scratching your head, wondering if there's a financial roadblock leading to motorcycle malfunctions or if these two worlds are just playing a high-stakes game of tag.
In the dog-eat-dog world of finance, where the stakes are high and the lingo is often cryptic, one might not expect to find a road hog like Harley-Davidson bumbling into the mix. Yet, our research has uncovered a correlation that is as tight as a biker's leather pants – with a correlation coefficient riding at 0.9525395 and a p-value lower than the odds of successfully executing a triple somersault on a Harley. From the boardrooms of Wall Street to the open roads of motorcycle enthusiasts, our findings promise to pull you into a whirlwind of discovery and disbelief.
So, grab your helmets, pop on your reading glasses, and hold on tight as we rev up our engines and delve into the peculiar, often comical, realms of financial oversight and mechanical mishaps. This paper not only seeks to unravel the enigma that ties these seemingly disparate subjects but also showcases the delightfully wacky intricacies of the modern financial and automotive landscapes. Let's hit the accelerator and explore the twists and turns of SEC chatter and hog recalls – it's sure to be a ride to remember.

[[RESULTS]]
The analysis of data collected from Bloomberg Money Stuff articles on SEC activities and automotive recalls issued by Harley-Davidson Motor Company revealed a positively staggering correlation. Our research team's statistical analysis uncovered a correlation coefficient of 0.9525395, indicating a strikingly strong relationship between these seemingly unrelated realms. It's as if the world of financial regulations and the rumbling world of motorcycle recalls have decided to dance together in a surprisingly coordinated waltz, leaving us dumbfounded and bemused.
Furthermore, the r-squared value of 0.9073314 suggests that a substantial 90.7% of the variation in Harley-Davidson recalls can be explained by changes in the coverage of SEC activities in Bloomberg Money Stuff articles. One might say that the SEC's moves have had a remarkable grip on shaping the ebb and flow of Harley-Davidson's recall patterns, proving that the twists and turns of Wall Street oversight may indeed reverberate through the open roads and expansive highways that Harley riders know so well.
To no one's surprise – because, well, we're talking about money stuff and motorcycles here, folks – the p-value was found to be less than 0.01. This essentially confirms the statistical significance of the relationship, indicating that the likelihood of this correlation occurring by mere chance is about as rare as finding a penny in a Harley's exhaust pipe.
And hold onto your handlebars, folks, because we've got a visual treat for you. Feast your eyes on Fig. 1, where we present a scatterplot showcasing the tight-knit connection between Bloomberg Money Stuff's SEC coverage and Harley-Davidson recalls, much like two partners in crime sharing a secret handshake. The figure visually encapsulates the remarkably close association we observed, leaving any doubters in the dust and revving up the curiosity of those delving into the perplexing world of financial reporting and motorcycle mishaps.
This remarkable alignment between SEC-focused financial reports and the resounding revs of Harley-Davidson recalls not only brings to light a most unexpected nexus but also invites us to marvel at the whimsical intricacies permeating the domains of finance and automotive engineering. So, dear readers, fasten your seatbelts and buckle your helmets – we're in for a joyride of statistical significance and offbeat correlations.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

The results of our study have left us both in awe and chuckling with amusement at the uncanny connection we've discovered between Bloomberg Money Stuff's musings on SEC activities and the thunderous roars of Harley-Davidson recalls. It's as if the stock market and the open road have collaborated in a high-stakes game of cat and mouse, with financial regulations whispering into the ears of motorcycle engineers, "Hey, watch out for that faulty carburetor!" Our findings not only demonstrate a jaw-dropping correlation but also highlight the whimsical dance between Wall Street jargon and the rumbling cadence of automotive maintenance.

As much as we'd love to continue this rollercoaster ride of statistical significance and uproarious discoveries, it seems we've reached the end of this particular road. The correlation coefficient of 0.9525395 and a p-value less than 0.01 have firmly pointed us toward an unmistakable conclusion – the SEC's regulatory dances and Harley-Davidson's recall jigs are more than just happenstance.

In the grand scheme of things, perhaps it's best to leave this zany duo of financial oversight and mechanical misadventures to continue their whimsical waltz without further interference from us academics. It's time to hop off this statistical rollercoaster and let the SEC and Harley-Davidson go their separate ways.

In the immortal words of Easy Rider, "The cycle of research must come to an end, man." So, let's park our academic inquiries here, bid adieu to this peculiar correlation, and turn our attention to the next uncharted highway of scholarly pursuits. No more research is needed in this area – it's time to ride off into the sunset of new academic adventures.


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 Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Regulatory Rides and Recalls


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 Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Economic and Motorcycle Safety Studies


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 Revving Up Regulation: The Hog Wild Connection Between SEC Scrutiny and Harley-Davidson Recalls with an abstract of In this paper, we delve into the baffling yet strangely compelling association between Bloomberg Money Stuff's articles on SEC regulatory activities and the occurrence of automotive recalls by the iconic Harley-Davidson Motor Company. Despite the starkly contrasting realms of financial oversight and motorbike manufacturing, our research team uncovers a surprisingly robust correlation, with a correlation coefficient of 0.9525395 and a p-value less than 0.01 for the period spanning 2014 to 2022. As we navigate through this curious confluence of Wall Street wizardry and motorcycle engineering, we aim to unravel the enigmatic threads that bind these seemingly disparate subjects. Our findings not only shed light on this unexpected relationship but also highlight the whimsical intricacies of the modern financial and automotive landscapes. So buckle up, hold on tight, and let's ride into the curiously connected world of SEC chatter and hog recalls.

ChatGPT:

SEC regulatory activities, Harley-Davidson recalls, correlation between SEC regulations and automotive recalls, Bloomberg Money Stuff, financial oversight, motorbike manufacturing, correlation coefficient, p-value, Wall Street, motorcycle engineering, financial and automotive landscapes, SEC chatter, hog recalls

*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

Bloomberg Money Stuff articles about the SEC
Detailed data title: Articles published by Matt Levine on Bloomberg.com with 'SEC' in the headline or summary.
Source: Bloomberg
Additional Info: All headline and summary text from Bloomberg articles by Matt Levine included

See what else correlates with Bloomberg Money Stuff articles about the SEC

Automotive recalls issued by Harley-Davidson Motor Company
Detailed data title: Automotive recals issued by Harley-Davidson Motor Company
Source: US DOT
See what else correlates with Automotive recalls issued by Harley-Davidson Motor Company

Correlation r = 0.9525395 (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.9073314 (Coefficient of determination)
This means 90.7% of the change in the one variable (i.e., Automotive recalls issued by Harley-Davidson Motor Company) is predictable based on the change in the other (i.e., Bloomberg Money Stuff articles about the SEC) over the 9 years from 2014 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 7.3E-5. 0.0000731964579156898600000000
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.95 in 0.0073% of random cases. Said differently, if you correlated 13,662 random variables Which I absolutely did.
with the same 8 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 8 because we have two variables measured over a period of 9 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.79, 0.99 ] 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.
201420152016201720182019202020212022
Bloomberg Money Stuff articles about the SEC (Levine articles)62361421301172030
Automotive recalls issued by Harley-Davidson Motor Company (Recalls)952142125




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.
  4. Very low n: There are not many data points included in this analysis. Even if the p-value is high, we should be suspicious of using so few datapoints in a correlation.
  5. Outlandish outliers: There are "outliers" in this data. In concept, "outlier" just means "way different than the rest of your dataset." When calculating a correlation like this, they are particularly impactful because a single outlier can substantially increase your correlation.

    For the purposes of this project, I counted a point as an outlier if it the residual was two standard deviations from the mean.

    (This bullet point only shows up in the details page on charts that do, in fact, have outliers.)
    They stand out on the scatterplot above: notice the dots that are far away from any other dots. I intentionally mishandeled outliers, which makes the correlation look extra strong.




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([62,36,14,21,30,11,7,20,30,])
array_2 = np.array([9,5,2,1,4,2,1,2,5,])
array_1_name = "Bloomberg Money Stuff articles about the SEC"
array_2_name = "Automotive recalls issued by Harley-Davidson Motor Company"

# 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?

Kudos for rating!


Correlation ID: 5888 · Black Variable ID: 26731 · Red Variable ID: 1131
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0