AI explanation
As fossil fuel use in Benin increased, the country experienced a surge in demand for energy. This unexpectedly led to a spike in productivity among Beninese pineapple farmers. The unusually high productivity resulted in a bumper crop of extra sweet and juicy pineapples. Now, as word spread about these exceptional pineapples, there was a sudden uptick in demand for pineapple-themed merchandise, including the popular Prudential Pineapple Savings Bank for kids. This unforeseen market trend significantly boosted Prudential Financial's stock price (PRU), as investors clamored to get a juicy slice of the pineapple profit pie. Who would have thought that fossil fuels in Benin could pave the way to pineapple prosperity for Prudential Financial?Model: dalle-3
Prompt: Generate an image of a whimsical illustration portraying a lively street in Benin. The scene should feature a bustling street with traffic and a group of diverse people strolling along the sidewalk. In the background, there is a modern office building adorned with the Prudential Financial logo. Cars emit colorful, whimsical exhaust fumes as they pass by, adding a unique touch to the scene. As the digital sign nearby displays a rising stock price for Prudential Financial (PRU), the depiction should capture the increased foot traffic with individuals heading towards the office building in a cheerful and animated manner. 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: Fossil fuel use in Benin and Prudential Financial's stock price (PRU). 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: a funny image you would see on reddit Minimalism a funny image you would see on reddit Scalar art Whimsical illustration
ChatGPT: Whimsical illustration
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU), in the following situation: Because as the fossil fuel use in Benin increased, so did the number of people trying to escape the fumes by seeking out Prudential Financial's offices, inadvertently boosting foot traffic and investor interest, hence driving up the stock price.. Keep the description simple.
ChatGPT: A bustling street in Benin with traffic and people walking along the sidewalk. There are cars emitting exhaust fumes as they drive by. Among the people walking, there is a noticeable increase in the number of individuals heading towards a modern office building with the Prudential Financial logo on top. This increased foot traffic coincides with a digital sign nearby displaying a rising stock price for Prudential Financial (PRU).
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: [ Whimsical illustration ] and depicting this scene: A bustling street in Benin with traffic and people walking along the sidewalk. There are cars emitting exhaust fumes as they drive by. Among the people walking, there is a noticeable increase in the number of individuals heading towards a modern office building with the Prudential Financial logo on top. This increased foot traffic coincides with a digital sign nearby displaying a rising stock price for Prudential Financial (PRU). Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a whimsical illustration portraying a lively street in Benin. The scene should feature a bustling street with traffic and a group of diverse people strolling along the sidewalk. In the background, there is a modern office building adorned with the Prudential Financial logo. Cars emit colorful, whimsical exhaust fumes as they pass by, adding a unique touch to the scene. As the digital sign nearby displays a rising stock price for Prudential Financial (PRU), the depiction should capture the increased foot traffic with individuals heading towards the office building in a cheerful and animated manner.
*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.
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 Fossil fuel use in Benin caused Prudential Financial's stock price (PRU) to increase.
AI academic paper
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools Journal of Petrochemical Economics and Stock Market Analysis Jan 2024 |
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns.
Rhyme words in the title.
Your research team used data from Energy Information Administration and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8308841 and p < 0.01 for 2002 to 2021.
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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Here is the title and abstract of the paper:
[[TITLE]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
-------
Your response should start like this:
[[INTRODUCTION]]
ChatGPT:
[[INTRODUCTION]]
The intersection of fossil fuel consumption and financial markets may seem about as likely as a unicorn sighting in Wall Street, but our research sets out to prove that truth is indeed stranger than fiction. As we embark on this humorous journey into the seemingly nonsensical relationship between the fossil fuel usage in Benin and Prudential Financial's (PRU) stock price, we are reminded that sometimes life imitates a statistically improbable event.
Despite the seemingly incongruent nature of these variables, our research aims to shine a light on the whimsical correlation that exists between them. It's often said that correlation does not imply causation, but in this case, we cannot help but wonder if there's a merry dance between the consumption of ancient organic matter in Benin and the financial ups and downs of PRU. It's as if the market is taking its cue from the fossils themselves - a prehistoric performance, if you will.
Our study not only adds a splash of levity to the often dry world of financial research but also underscores the quirky and unexpected connections that lurk beneath the surface of seemingly unrelated phenomena. As we delve into the dataset and let the numbers tell their humorous tale, we invite our readers to join us in uncovering the playfulness that underpins this seemingly incongruous correlation. After all, in the game of statistics, even the most unlikely bedfellows can find themselves in an unexpected embrace.
So, buckle up and prepare for a whimsical ride as we unravel the riddle that is fossil fuel folly in Benin and the antics it seems to inspire in PRU stock prices. This is no mere academic pursuit; it's a quest for both knowledge and amusement, a twist of the data that leaves us all wondering if there's more to these numbers than meets the eye.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). 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 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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
-------
And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of fossil fuel consumption and financial markets may seem about as likely as a unicorn sighting in Wall Street, but our research sets out to prove that truth is indeed stranger than fiction. As we embark on this humorous journey into the seemingly nonsensical relationship between the fossil fuel usage in Benin and Prudential Financial's (PRU) stock price, we are reminded that sometimes life imitates a statistically improbable event.
Despite the seemingly incongruent nature of these variables, our research aims to shine a light on the whimsical correlation that exists between them. It's often said that correlation does not imply causation, but in this case, we cannot help but wonder if there's a merry dance between the consumption of ancient organic matter in Benin and the financial ups and downs of PRU. It's as if the market is taking its cue from the fossils themselves - a prehistoric performance, if you will.
Our study not only adds a splash of levity to the often dry world of financial research but also underscores the quirky and unexpected connections that lurk beneath the surface of seemingly unrelated phenomena. As we delve into the dataset and let the numbers tell their humorous tale, we invite our readers to join us in uncovering the playfulness that underpins this seemingly incongruous correlation. After all, in the game of statistics, even the most unlikely bedfellows can find themselves in an unexpected embrace.
So, buckle up and prepare for a whimsical ride as we unravel the riddle that is fossil fuel folly in Benin and the antics it seems to inspire in PRU stock prices. This is no mere academic pursuit; it's a quest for both knowledge and amusement, a twist of the data that leaves us all wondering if there's more to these numbers than meets the eye.
-------
Your response should start like this:
[[LITERATURE REVIEW]]
ChatGPT:
[[LITERATURE REVIEW]]
In their seminal work, Smith et al. (2015) conducted a comprehensive study on the impact of fossil fuel consumption in West African countries on global financial markets. Their findings presented a sobering narrative of environmental and economic interplay, highlighting the acute influence of energy policies on stock market performances. Additionally, Doe and Jones (2017) explored the intricate relationship between emerging market economies and their fossil fuel usage, shedding light on the ripple effects that reverberate across international financial landscapes.
Moving beyond the realm of academic research, "The Moral Case for Fossil Fuels" by Alex Epstein offers a thought-provoking perspective on the ethical, environmental, and economic implications of fossil fuel use, setting the stage for deeper contemplation of the multifaceted forces at play. "The Big Short" by Michael Lewis, a gripping tale of financial misadventures and market unpredictability, provides a captivating backdrop for contextualizing the unpredictable nature of financial markets. Fittingly, the whimsical nature of our own investigation invokes the spirit akin to Lewis' narrative, where the fantastical meets the factual in the world of finance.
Venturing further into the surreal, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams introduces an outlandish and galactically peculiar perspective, mirroring the eccentricity we encounter in scrutinizing the confounding link between Benin's fossil fuel use and PRU stock price fluctuations. But not to be outdone, our pursuit of literature also extends to the unlikeliest of sources. For instance, the authors intricately dissected a multitude of CVS receipts, combing through their seemingly endless stream of purchases and promotions, with the hope that a source of enlightenment might emerge amidst the cacophony of coupons and extraneous offers.
In the realm of financial research, it's often the unexpected and unusual that culminate in groundbreaking discoveries. As we traverse this scholarly landscape, we find ourselves not only unearthing hidden correlations but also reveling in the whimsical dance between fossil fuel folly in Benin and the stock price foibles of PRU. It's a journey that transcends conventional boundaries of statistical inquiry, beckoning us to ponder the absurdity that dwells amid the numbers and charts, inviting us to embrace the delightful chaos of financial whimsy.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Your research team collected data from all across the internet, but mostly just used information from Energy Information Administration and LSEG Analytics (Refinitiv) . You used data from 2002 to 2021
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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
[[INTRODUCTION]]
The intersection of fossil fuel consumption and financial markets may seem about as likely as a unicorn sighting in Wall Street, but our research sets out to prove that truth is indeed stranger than fiction. As we embark on this humorous journey into the seemingly nonsensical relationship between the fossil fuel usage in Benin and Prudential Financial's (PRU) stock price, we are reminded that sometimes life imitates a statistically improbable event.
Despite the seemingly incongruent nature of these variables, our research aims to shine a light on the whimsical correlation that exists between them. It's often said that correlation does not imply causation, but in this case, we cannot help but wonder if there's a merry dance between the consumption of ancient organic matter in Benin and the financial ups and downs of PRU. It's as if the market is taking its cue from the fossils themselves - a prehistoric performance, if you will.
Our study not only adds a splash of levity to the often dry world of financial research but also underscores the quirky and unexpected connections that lurk beneath the surface of seemingly unrelated phenomena. As we delve into the dataset and let the numbers tell their humorous tale, we invite our readers to join us in uncovering the playfulness that underpins this seemingly incongruous correlation. After all, in the game of statistics, even the most unlikely bedfellows can find themselves in an unexpected embrace.
So, buckle up and prepare for a whimsical ride as we unravel the riddle that is fossil fuel folly in Benin and the antics it seems to inspire in PRU stock prices. This is no mere academic pursuit; it's a quest for both knowledge and amusement, a twist of the data that leaves us all wondering if there's more to these numbers than meets the eye.
-------
Your response should start like this:
[[METHODOLOGY]]
ChatGPT:
Ah, the methodology – the grand reveal of the inner workings, the behind-the-scenes antics of statistical shenanigans. We promise this section won’t be as dry as the Sahara desert. In fact, we've concocted our own blend of humor-infused research methods to tickle your statistical taste buds. So, with lab coats on and magnifying glasses at the ready, let’s dive into the zany world of research design and data collection.
**Digging for Data**: Like intrepid explorers of the digital realm, we scoured the depths of the internet, traversing infinite pages and websites in search of the elusive data that would unlock the secret connection between fossil fuel use in Benin and the cheeky fluctuations of Prudential Financial's stock price. The Energy Information Administration and LSEG Analytics (Refinitiv) were our archaeological dig sites, yielding a treasure trove of statistical artifacts dating back to 2002.
**Tickling the Variables**: With our trusty data in hand, we conducted a whimsical waltz of statistical analyses. We invoked the spirits of correlation coefficients, p-values, and regression models – a statistical séance, if you will – to uncover the mysterious linkage between fossil fuel use and PRU stock price. Like mad scientists in a laboratory of numbers, we stirred the brew of variables and watched as their playful dance unfolded before our eyes.
**Convoluted Control**: In a nod to the surreal nature of our research, we wrangled with the confounding variables like cowboys in a rodeo of statistical mayhem. We corralled GDP growth, global oil prices, and other mischievous influencers, attempting to rein them in and isolate the absurdly entertaining connection between fossil fuel folly in Benin and the rambunctious antics of PRU stock prices.
**Statistical Stand-Up**: Finally, in a departure from traditional methods, we embraced the theatrical side of data analysis. We engaged in statistical stand-up comedy, hosting data-driven comedy shows wherein the numbers themselves became the stars of the stage, regaling us with their quirky anecdotes and unexpected punchlines.
**Exposing Errors with Elegance**: As we traversed this whimsical landscape of research methods, we remained vigilant in our efforts to detect and correct any statistical missteps. Like dashing detectives with magnifying glasses, we uncovered errors with the finesse of the finest comedic timing, rectifying any mischievous data anomalies and ensuring the utmost integrity of our analysis.
And with that, dear reader, we've shared a glimpse into the lighthearted rigors of our research methods. Now, let the revelry continue as we journey into the delightful absurdity of our findings.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Your research team collected data from all across the internet, but mostly just used information from Energy Information Administration and LSEG Analytics (Refinitiv) .
For the time period 2002 to 2021, you found a correlation 0.8308841, r-squared of 0.6903685, 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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
-------
And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of fossil fuel consumption and financial markets may seem about as likely as a unicorn sighting in Wall Street, but our research sets out to prove that truth is indeed stranger than fiction. As we embark on this humorous journey into the seemingly nonsensical relationship between the fossil fuel usage in Benin and Prudential Financial's (PRU) stock price, we are reminded that sometimes life imitates a statistically improbable event.
Despite the seemingly incongruent nature of these variables, our research aims to shine a light on the whimsical correlation that exists between them. It's often said that correlation does not imply causation, but in this case, we cannot help but wonder if there's a merry dance between the consumption of ancient organic matter in Benin and the financial ups and downs of PRU. It's as if the market is taking its cue from the fossils themselves - a prehistoric performance, if you will.
Our study not only adds a splash of levity to the often dry world of financial research but also underscores the quirky and unexpected connections that lurk beneath the surface of seemingly unrelated phenomena. As we delve into the dataset and let the numbers tell their humorous tale, we invite our readers to join us in uncovering the playfulness that underpins this seemingly incongruous correlation. After all, in the game of statistics, even the most unlikely bedfellows can find themselves in an unexpected embrace.
So, buckle up and prepare for a whimsical ride as we unravel the riddle that is fossil fuel folly in Benin and the antics it seems to inspire in PRU stock prices. This is no mere academic pursuit; it's a quest for both knowledge and amusement, a twist of the data that leaves us all wondering if there's more to these numbers than meets the eye.
-------
Your response should start like this:
[[RESULTS]]
ChatGPT:
[[RESULTS]]
In the quest to unravel the whimsical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU), our research team stumbled upon a surprising and statistically significant correlation. The correlation coefficient of 0.8308841 and an r-squared of 0.6903685 for the period from 2002 to 2021 left us shaking our heads in disbelief and amusement. It seems that the dance of fossil fuels in Benin has more influence on PRU stock price than meets the eye - a truly remarkable twist in the world of financial markets.
Our findings suggest that there may be more than a mere coincidence at play, and as our data handsomely illustrate, the correlation is not just a fluke. The p-value of less than 0.01 further solidifies the credibility of this intriguing relationship, leaving us spellbound by the unlikely pairing of these seemingly unrelated variables.
Fig. 1 showcases the whimsical correlation in all its glory, presenting a scatterplot that leaves no room for doubt about the surprising link between fossil fuel use in Benin and the fluctuations of PRU stock price. It's as if the market is taking inspiration from a comedic script, with fossil fuel consumption in Benin playing the role of the mischievous protagonist in the financial theater.
These results don't just add a humorous twist to the world of financial research; they beckon further exploration into the capricious interplay of seemingly incongruous variables. Who would have thought that the whims of fossil fuels in Benin could hold sway over the financial fortunes of PRU stock? It's a plot twist worthy of the most uproarious comedy, one that certainly raises eyebrows and elicits a chuckle from the often stoic world of finance.
This study serves as a reminder that beneath the surface of dry data and complex statistical analyses, there lies a reservoir of mirth and amusement waiting to be tapped. The correlation between fossil fuel folly in Benin and PRU stock price fools not only tickles the intellect but also offers a delightful deviation from the mundane. As we reflect on the unexpected bond between these variables, we dare to imagine the lively narrative that underpins this statistical revelation, inviting researchers and enthusiasts to join in the merry spectacle of this improbable correlation.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
[[LITERATURE REVIEW]]
In their seminal work, Smith et al. (2015) conducted a comprehensive study on the impact of fossil fuel consumption in West African countries on global financial markets. Their findings presented a sobering narrative of environmental and economic interplay, highlighting the acute influence of energy policies on stock market performances. Additionally, Doe and Jones (2017) explored the intricate relationship between emerging market economies and their fossil fuel usage, shedding light on the ripple effects that reverberate across international financial landscapes.
Moving beyond the realm of academic research, "The Moral Case for Fossil Fuels" by Alex Epstein offers a thought-provoking perspective on the ethical, environmental, and economic implications of fossil fuel use, setting the stage for deeper contemplation of the multifaceted forces at play. "The Big Short" by Michael Lewis, a gripping tale of financial misadventures and market unpredictability, provides a captivating backdrop for contextualizing the unpredictable nature of financial markets. Fittingly, the whimsical nature of our own investigation invokes the spirit akin to Lewis' narrative, where the fantastical meets the factual in the world of finance.
Venturing further into the surreal, "The Hitchhiker's Guide to the Galaxy" by Douglas Adams introduces an outlandish and galactically peculiar perspective, mirroring the eccentricity we encounter in scrutinizing the confounding link between Benin's fossil fuel use and PRU stock price fluctuations. But not to be outdone, our pursuit of literature also extends to the unlikeliest of sources. For instance, the authors intricately dissected a multitude of CVS receipts, combing through their seemingly endless stream of purchases and promotions, with the hope that a source of enlightenment might emerge amidst the cacophony of coupons and extraneous offers.
In the realm of financial research, it's often the unexpected and unusual that culminate in groundbreaking discoveries. As we traverse this scholarly landscape, we find ourselves not only unearthing hidden correlations but also reveling in the whimsical dance between fossil fuel folly in Benin and the stock price foibles of PRU. It's a journey that transcends conventional boundaries of statistical inquiry, beckoning us to ponder the absurdity that dwells amid the numbers and charts, inviting us to embrace the delightful chaos of financial whimsy.
[[RESULTS]]
In the quest to unravel the whimsical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU), our research team stumbled upon a surprising and statistically significant correlation. The correlation coefficient of 0.8308841 and an r-squared of 0.6903685 for the period from 2002 to 2021 left us shaking our heads in disbelief and amusement. It seems that the dance of fossil fuels in Benin has more influence on PRU stock price than meets the eye - a truly remarkable twist in the world of financial markets.
Our findings suggest that there may be more than a mere coincidence at play, and as our data handsomely illustrate, the correlation is not just a fluke. The p-value of less than 0.01 further solidifies the credibility of this intriguing relationship, leaving us spellbound by the unlikely pairing of these seemingly unrelated variables.
Fig. 1 showcases the whimsical correlation in all its glory, presenting a scatterplot that leaves no room for doubt about the surprising link between fossil fuel use in Benin and the fluctuations of PRU stock price. It's as if the market is taking inspiration from a comedic script, with fossil fuel consumption in Benin playing the role of the mischievous protagonist in the financial theater.
These results don't just add a humorous twist to the world of financial research; they beckon further exploration into the capricious interplay of seemingly incongruous variables. Who would have thought that the whims of fossil fuels in Benin could hold sway over the financial fortunes of PRU stock? It's a plot twist worthy of the most uproarious comedy, one that certainly raises eyebrows and elicits a chuckle from the often stoic world of finance.
This study serves as a reminder that beneath the surface of dry data and complex statistical analyses, there lies a reservoir of mirth and amusement waiting to be tapped. The correlation between fossil fuel folly in Benin and PRU stock price fools not only tickles the intellect but also offers a delightful deviation from the mundane. As we reflect on the unexpected bond between these variables, we dare to imagine the lively narrative that underpins this statistical revelation, inviting researchers and enthusiasts to join in the merry spectacle of this improbable correlation.
-------
Your response should start like this:
[[DISCUSSION]]
ChatGPT:
[[DISCUSSION]]
In the topsy-turvy world of financial research, our findings spin a playful yarn that tickles the academic palate and prompts a wry smile from even the most serious of scholars. As we dive into the discussion, it becomes abundantly clear that the whimsical connection between fossil fuel use in Benin and the stock price of Prudential Financial (PRU) is no mere fluke.
Drawing from the sobering narrative of Smith et al. (2015) and the whimsical perspective of "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, our results align with prior research, adding an unexpected twist to the existing literature. In a world where the fates of financial markets are often portrayed as grave and somber, the revelation of a strong correlation between these seemingly unrelated variables introduces an element of delightful absurdity, akin to the unpredictable plot twists found in a comedic novel.
Our data, with a correlation coefficient of 0.8308841 and an r-squared of 0.6903685, echoes the theme of unpredictability and whimsy portrayed in "The Big Short" by Michael Lewis. This surprising relationship exemplifies the delightful chaos and caprice that lurk in the world of financial markets, challenging conventional wisdom and urging researchers to embrace the jovial antics of the statistical stage.
As our scatterplot proudly displays the comically strong correlation, one cannot help but marvel at the uncanny interplay of these variables. It's almost as if the financial market has taken a cue from the theatrics of a slapstick comedy, with fossil fuel use in Benin assuming the role of the mischievous protagonist, wielding considerable influence over PRU stock price follies.
Our study not only uncovers a side-splitting correlation but also hints at a deeper narrative residing within the world of financial whimsy. The p-value of less than 0.01 solidifies the credibility of this quixotic relationship, challenging scholars to ponder the unexpected twists and turns that underpin the seemingly serious realm of financial research.
In a refreshing departure from the mundane rigor of statistical inquiry, our results invite further exploration into the zany intricacies that animate the dance of seemingly incongruous variables. The correlation between fossil fuel folly in Benin and PRU stock price fools serves as a whimsical reminder that beneath the veil of rigorous analysis lies an undercurrent of mirth and amusement, just waiting to surprise and delight. Our study beckons scholars and enthusiasts to embrace the joyous spectacle of this improbable correlation and venture into the perplexing realm where financial folly meets statistical whimsy.
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 Fossil fuel use in Benin and Prudential Financial's stock price (PRU). Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
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]]
Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
[[ABSTRACT]]
This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
[[INTRDUCTION]]
The intersection of fossil fuel consumption and financial markets may seem about as likely as a unicorn sighting in Wall Street, but our research sets out to prove that truth is indeed stranger than fiction. As we embark on this humorous journey into the seemingly nonsensical relationship between the fossil fuel usage in Benin and Prudential Financial's (PRU) stock price, we are reminded that sometimes life imitates a statistically improbable event.
Despite the seemingly incongruent nature of these variables, our research aims to shine a light on the whimsical correlation that exists between them. It's often said that correlation does not imply causation, but in this case, we cannot help but wonder if there's a merry dance between the consumption of ancient organic matter in Benin and the financial ups and downs of PRU. It's as if the market is taking its cue from the fossils themselves - a prehistoric performance, if you will.
Our study not only adds a splash of levity to the often dry world of financial research but also underscores the quirky and unexpected connections that lurk beneath the surface of seemingly unrelated phenomena. As we delve into the dataset and let the numbers tell their humorous tale, we invite our readers to join us in uncovering the playfulness that underpins this seemingly incongruous correlation. After all, in the game of statistics, even the most unlikely bedfellows can find themselves in an unexpected embrace.
So, buckle up and prepare for a whimsical ride as we unravel the riddle that is fossil fuel folly in Benin and the antics it seems to inspire in PRU stock prices. This is no mere academic pursuit; it's a quest for both knowledge and amusement, a twist of the data that leaves us all wondering if there's more to these numbers than meets the eye.
[[RESULTS]]
In the quest to unravel the whimsical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU), our research team stumbled upon a surprising and statistically significant correlation. The correlation coefficient of 0.8308841 and an r-squared of 0.6903685 for the period from 2002 to 2021 left us shaking our heads in disbelief and amusement. It seems that the dance of fossil fuels in Benin has more influence on PRU stock price than meets the eye - a truly remarkable twist in the world of financial markets.
Our findings suggest that there may be more than a mere coincidence at play, and as our data handsomely illustrate, the correlation is not just a fluke. The p-value of less than 0.01 further solidifies the credibility of this intriguing relationship, leaving us spellbound by the unlikely pairing of these seemingly unrelated variables.
Fig. 1 showcases the whimsical correlation in all its glory, presenting a scatterplot that leaves no room for doubt about the surprising link between fossil fuel use in Benin and the fluctuations of PRU stock price. It's as if the market is taking inspiration from a comedic script, with fossil fuel consumption in Benin playing the role of the mischievous protagonist in the financial theater.
These results don't just add a humorous twist to the world of financial research; they beckon further exploration into the capricious interplay of seemingly incongruous variables. Who would have thought that the whims of fossil fuels in Benin could hold sway over the financial fortunes of PRU stock? It's a plot twist worthy of the most uproarious comedy, one that certainly raises eyebrows and elicits a chuckle from the often stoic world of finance.
This study serves as a reminder that beneath the surface of dry data and complex statistical analyses, there lies a reservoir of mirth and amusement waiting to be tapped. The correlation between fossil fuel folly in Benin and PRU stock price fools not only tickles the intellect but also offers a delightful deviation from the mundane. As we reflect on the unexpected bond between these variables, we dare to imagine the lively narrative that underpins this statistical revelation, inviting researchers and enthusiasts to join in the merry spectacle of this improbable correlation.
-------
Your response should start like this:
[[CONCLUSION]]
ChatGPT:
[[CONCLUSION]]
As we wrap up this delightful romp through the realm of financial absurdity, it's clear that the connection between fossil fuel usage in Benin and Prudential Financial's stock price is no ordinary affair. It's as if the numbers themselves decided to play a whimsical game of charades, leaving us all scratching our heads in bemusement. Who would have thought that the ancient organic matter in Benin could hold such sway over the fickle fortunes of PRU stock?
While we may be tempted to crack a joke about fossil fuels literally fueling the stock market, let's not forget the serious implications of our findings. The statistically significant correlation coefficient and p-value that practically screams "not a fluke" urge us to take this amusing interplay of variables seriously. It's a reminder that sometimes, reality can be stranger than fiction, and that even the most unlikely relationships can hold weight in the data dance.
So, as we bid adieu to the antics of fossil fuel folly in Benin and the unpredictable performance of PRU stock, let's not forget the wacky wisdom that lies beneath the surface of this statistical comedy. It's been a pleasure to uncover this amusing correlation, but as the curtain falls on this research, we must assert with confidence that no more research is needed in this area. After all, some mysteries are just too wacky to unravel any further!
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 Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools. Respond only with the name of a fictional academic journal.
ChatGPT:
Journal of Petrochemical Economics and Stock Market Analysis
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 Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools. Respond only with the name of a fictional organization.
ChatGPT:
The Consortium for Sustainable Energy Economics and Policy Analysis
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 Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools with an abstract of This research delves deep into the bizarre and comical relationship between fossil fuel use in Benin and the stock price of Prudential Financial (PRU). With a meticulous examination of data from the Energy Information Administration and LSEG Analytics (Refinitiv), our research team unearthed a surprising correlation coefficient of 0.8308841 and p < 0.01 for the period spanning 2002 to 2021. Our findings not only tickle the intellect but also highlight the whimsical dance between fossil fuel consumption in Benin and the seemingly unrelated Prudential Financial's stock price. As we dive into the whimsy of this odd juxtaposition, we explore the wacky ways in which fossil fuel use in Benin has managed to influence the ups and downs of PRU stock, leaving investors and analysts scratching their heads in bemusement. This study not only adds a dash of humor to the realm of financial research but also urges further examination of the delightful absurdity that connects Fossil Fuel Folly in Benin and PRU stock price fools.
ChatGPT:
"Fossil fuel consumption in Benin," "Prudential Financial stock price correlation," "Energy Information Administration data analysis," "LSEG Analytics (Refinitiv) correlation coefficient," "Fossil fuel influence on stock prices," "Financial research whimsy," "Benin fossil fuel impact on PRU stock," "Fossil fuel use and stock market correlation"
*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.
Discover a new correlation
View all correlations
View all research papers
Report an error
Data details
Fossil fuel use in BeninDetailed data title: Total fossil fuel use in Benin in billion kWh
Source: Energy Information Administration
See what else correlates with Fossil fuel use in Benin
Prudential Financial's stock price (PRU)
Detailed data title: Opening price of Prudential Financial (PRU) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function
See what else correlates with Prudential Financial's stock price (PRU)
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.6903685 (Coefficient of determination)
This means 69% of the change in the one variable (i.e., Prudential Financial's stock price (PRU)) is predictable based on the change in the other (i.e., Fossil fuel use in Benin) over the 20 years from 2002 through 2021.
p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.7E-6. 0.0000057154355922630890000000
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.83 in 0.00057% of random cases. Said differently, if you correlated 174,965 random variables You don't actually need 174 thousand 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 19 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 19 because we have two variables measured over a period of 20 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.61, 0.93 ] 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.
2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | |
Fossil fuel use in Benin (Billion kWh) | 0.05734 | 0.07332 | 0.0752 | 0.09964 | 0.141 | 0.20398 | 0.21244 | 0.11938 | 0.10716 | 0.09494 | 0.04512 | 0.08648 | 0.22466 | 0.30456 | 0.25004 | 0.3055 | 0.18518 | 0.19364 | 0.21902 | 0.233037 |
Prudential Financial's stock price (PRU) (Stock price) | 32.61 | 31.5 | 41.9 | 54.85 | 73.8 | 85.97 | 93.01 | 30.29 | 50.43 | 59.43 | 51.47 | 54.94 | 91.5 | 91.01 | 79.55 | 105.23 | 115.17 | 79.94 | 94.04 | 78.4 |
Why this works
- 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.
- 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. - 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([0.05734,0.07332,0.0752,0.09964,0.141,0.20398,0.21244,0.11938,0.10716,0.09494,0.04512,0.08648,0.22466,0.30456,0.25004,0.3055,0.18518,0.19364,0.21902,0.233037,])
array_2 = np.array([32.61,31.5,41.9,54.85,73.8,85.97,93.01,30.29,50.43,59.43,51.47,54.94,91.5,91.01,79.55,105.23,115.17,79.94,94.04,78.4,])
array_1_name = "Fossil fuel use in Benin"
array_2_name = "Prudential Financial's stock price (PRU)"
# 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:
- High resolution line chart
The image linked here is a Scalable Vector Graphic (SVG). It is the highest resolution that is possible to achieve. It scales up beyond the size of the observable universe without pixelating. You do not need to email me asking if I have a higher resolution image. I do not. The physical limitations of our universe prevent me from providing you with an image that is any higher resolution than this one.
If you insert it into a PowerPoint presentation (a tool well-known for managing things that are the scale of the universe), you can right-click > "Ungroup" or "Create Shape" and then edit the lines and text directly. You can also change the colors this way.
Alternatively you can use a tool like Inkscape. - High resolution line chart, optimized for mobile
- Alternative high resolution line chart
- Scatterplot
- Portable line chart (png)
- Portable line chart (png), optimized for mobile
- Line chart for only Fossil fuel use in Benin
- Line chart for only Prudential Financial's stock price (PRU)
- AI-generated correlation image
- The spurious research paper: Fuel Folly in Benin: Fossil Fuels and PRU Stock Price Fools
I'm grateful for your review!
Correlation ID: 3991 · Black Variable ID: 23517 · Red Variable ID: 1804