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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is GMO use in cotton in North Carolina and the second variable is xkcd comics published about romance.  The chart goes from 2007 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

Cotton fields were a hot spot for romantic escapades among genetically modified organisms, leading to inspiration for xkcd comics. With fewer GMOs in the area, the romantic entanglements dwindled, leaving Randall Munroe with less material for his love-themed xkcd creations.

Model: dalle-3
Prompt: [ Cute 2D animation ] Create an image of a North Carolina cotton field, with a smiling farmer wearing a wide-brimmed hat and overalls peacefully tending to rows of vibrant GMO cotton plants. He's holding a smartphone and reading an xkcd comic about romance, which makes him chuckle. The sun shines brightly in the sky, casting a warm glow over the field, and the gentle breeze carries the scent of blooming cotton flowers as they sway in the wind. 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: GMO use in cotton in North Carolina and xkcd comics published about romance. 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: Cutsy art illustration Cute 2D animation Cyberpunk Hyper-realistic Surrealism
ChatGPT: Cute 2D animation

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 GMO use in cotton in North Carolina and xkcd comics published about romance together. Keep the description simple.
ChatGPT: In a North Carolina cotton field, a farmer tends to rows of vibrant GMO cotton plants while reading an xkcd comic about romance on his phone. The sun shines down on the field, and the gentle breeze carries the scent of blooming cotton flowers as he chuckles at the witty comic.

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: [ Cute 2D animation ] and depicting this scene: In a North Carolina cotton field, a farmer tends to rows of vibrant GMO cotton plants while reading an xkcd comic about romance on his phone. The sun shines down on the field, and the gentle breeze carries the scent of blooming cotton flowers as he chuckles at the witty comic. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ Cute 2D animation ] Create an image of a North Carolina cotton field, with a smiling farmer wearing a wide-brimmed hat and overalls peacefully tending to rows of vibrant GMO cotton plants. He's holding a smartphone and reading an xkcd comic about romance, which makes him chuckle. The sun shines brightly in the sky, casting a warm glow over the field, and the gentle breeze carries the scent of blooming cotton flowers as they sway in the wind.

*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 GMO use in cotton in North Carolina caused xkcd comics published about romance to decrease.

AI academic paper

(Because p < 0.01)
Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics

Journal of Genetic Romantics

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from USDA and AI analysis of xkcd comics to assess this nagging question. You found a correlation coefficient of 0.9048006 and p < 0.01 for 2007 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]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the saying goes, "Love is in the air," but who would have thought that genetically modified cotton in North Carolina could also play a part in this romantic tale? In this paper, we embark on an unconventional journey, exploring the unlikely link between GMO use in cotton production and the portrayal of romance in the popular webcomic xkcd. While the connection may seem as unlikely as a cornstalk growing heart-shaped kernels, our rigorous analysis reveals a surprising correlation.

The world of genetically modified organisms (GMOs) has long been a topic of debate and discussion, with proponents touting their potential to increase crop yield and enhance resilience to environmental stress, and opponents expressing concerns about their impact on ecological systems and human health. Meanwhile, the webcomic xkcd, known for its intelligent humor and quirky musings on everything from mathematics to relationships, has amassed a dedicated following of fans who eagerly await each new installment.

It was during a casual stroll through the digital fields of internet humor that the idea for this investigation took root. An observant researcher noticed a peculiar trend in the portrayal of romantic themes in xkcd comics and pondered whether there might be a connection to the agricultural practices in a region well-known for its cotton production – North Carolina. Could there be something more than mere coincidence linking the use of GMOs in cotton cultivation with the depiction of relationships in xkcd comics? Or was it simply a case of statistical serendipity, akin to finding a needle in a haystack of data?

Armed with an insatiable curiosity and an array of analytical tools, we set out to unravel this riddle. Our investigation promises not only to deliver some unexpected insights but also to inject a dose of levity into the sometimes-serious world of academic research. So, buckle up and prepare to be swept away into a whimsical journey where the lines between agriculture and entertainment blur, and where the romance of GMOs and the humor of xkcd intersect in ways no one could have predicted.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. 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. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the saying goes, "Love is in the air," but who would have thought that genetically modified cotton in North Carolina could also play a part in this romantic tale? In this paper, we embark on an unconventional journey, exploring the unlikely link between GMO use in cotton production and the portrayal of romance in the popular webcomic xkcd. While the connection may seem as unlikely as a cornstalk growing heart-shaped kernels, our rigorous analysis reveals a surprising correlation.
The world of genetically modified organisms (GMOs) has long been a topic of debate and discussion, with proponents touting their potential to increase crop yield and enhance resilience to environmental stress, and opponents expressing concerns about their impact on ecological systems and human health. Meanwhile, the webcomic xkcd, known for its intelligent humor and quirky musings on everything from mathematics to relationships, has amassed a dedicated following of fans who eagerly await each new installment.
It was during a casual stroll through the digital fields of internet humor that the idea for this investigation took root. An observant researcher noticed a peculiar trend in the portrayal of romantic themes in xkcd comics and pondered whether there might be a connection to the agricultural practices in a region well-known for its cotton production – North Carolina. Could there be something more than mere coincidence linking the use of GMOs in cotton cultivation with the depiction of relationships in xkcd comics? Or was it simply a case of statistical serendipity, akin to finding a needle in a haystack of data?
Armed with an insatiable curiosity and an array of analytical tools, we set out to unravel this riddle. Our investigation promises not only to deliver some unexpected insights but also to inject a dose of levity into the sometimes-serious world of academic research. So, buckle up and prepare to be swept away into a whimsical journey where the lines between agriculture and entertainment blur, and where the romance of GMOs and the humor of xkcd intersect in ways no one could have predicted.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The investigation of the intriguing relationship between GMO use in cotton production in North Carolina and the portrayal of romance in xkcd comics has sparked interest and curiosity among researchers and enthusiasts alike. The existing literature provides a foundation for our exploration into this uncharted territory, offering valuable insights and perspectives that serve as stepping stones for our own study.

In "The Impact of Genetically Modified Crops on Agricultural Practices" by Smith et al., the authors find extensive evidence supporting the widespread adoption of genetically modified cotton in North Carolina. Their comprehensive analysis underscores the significant role of GMOs in enhancing crop yields and mitigating the effects of pests and diseases, laying the groundwork for our investigation into the effects of these modified cotton plants on the whimsical world of romance in xkcd comics.

Doe and Jones, in their seminal work "Agricultural Biotechnology: From Principles to Practices," delve into the intricate web of genetic engineering and its implications for cotton cultivation. Their rigorous examination of GMO traits and their impact on agricultural ecosystems provides essential background knowledge for understanding the potential interplay between genetically modified cotton and the themes of love, laughter, and longing depicted in xkcd comics.

Furthermore, "Genetic Engineering: A Comprehensive Overview" by Brown offers a thorough exploration of the technical advances in the genetic modification of crops, shedding light on the molecular mechanisms that underpin the creation of GMO cotton varieties. This fundamental understanding serves as a catalyst for our investigation into the unexpected connections that unfold when the world of biotechnology collides with the realm of online humor and romance.

Venturing beyond the realm of academic literature, we draw inspiration from the fictional landscape, finding unexpected parallels between the themes in xkcd comics and beloved literary works. In "Pride and Prejudice" by Jane Austen, the timeless tale of love and misunderstandings unfolds against a backdrop of societal conventions and expectations, mirroring the complexities of human relationships echoed in the digital canvases of xkcd comics. Similarly, the whimsical charm of "The Hitchhiker's Guide to the Galaxy" by Douglas Adams invites readers to embark on a cosmic adventure filled with humor and absurdity, much like the journey we embark upon as we unravel the enigmatic link between genetically modified romance and online comic strips.

Drawing from unexpected sources, the board game "Catan" offers a playful analogy to our investigation, as players strategically cultivate and trade resources, akin to the agricultural practices and thematic exchanges we explore in the context of GMO cotton and xkcd romance.

As we navigate through this landscape of literature and imaginative analogies, we prepare to embark on our own exploratory journey, armed with the tools of analysis and a sense of humor that will illuminate the unique intersection of GMO use in North Carolina and the portrayal of romance in xkcd comics.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from USDA and AI analysis of xkcd comics . You used data from 2007 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]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

[[INTRODUCTION]]
As the saying goes, "Love is in the air," but who would have thought that genetically modified cotton in North Carolina could also play a part in this romantic tale? In this paper, we embark on an unconventional journey, exploring the unlikely link between GMO use in cotton production and the portrayal of romance in the popular webcomic xkcd. While the connection may seem as unlikely as a cornstalk growing heart-shaped kernels, our rigorous analysis reveals a surprising correlation.
The world of genetically modified organisms (GMOs) has long been a topic of debate and discussion, with proponents touting their potential to increase crop yield and enhance resilience to environmental stress, and opponents expressing concerns about their impact on ecological systems and human health. Meanwhile, the webcomic xkcd, known for its intelligent humor and quirky musings on everything from mathematics to relationships, has amassed a dedicated following of fans who eagerly await each new installment.
It was during a casual stroll through the digital fields of internet humor that the idea for this investigation took root. An observant researcher noticed a peculiar trend in the portrayal of romantic themes in xkcd comics and pondered whether there might be a connection to the agricultural practices in a region well-known for its cotton production – North Carolina. Could there be something more than mere coincidence linking the use of GMOs in cotton cultivation with the depiction of relationships in xkcd comics? Or was it simply a case of statistical serendipity, akin to finding a needle in a haystack of data?
Armed with an insatiable curiosity and an array of analytical tools, we set out to unravel this riddle. Our investigation promises not only to deliver some unexpected insights but also to inject a dose of levity into the sometimes-serious world of academic research. So, buckle up and prepare to be swept away into a whimsical journey where the lines between agriculture and entertainment blur, and where the romance of GMOs and the humor of xkcd intersect in ways no one could have predicted.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To commence our investigation into the unconventional romance between genetically modified cotton in North Carolina and xkcd comics, we employed a multidimensional approach that combined traditional data collection with cutting-edge AI analysis.

Data Collection:
We first obtained data on GMO cotton production in North Carolina from the United States Department of Agriculture (USDA). By delving into the intricate web of agricultural reports, we meticulously gathered information on the acreage of GMO cotton cultivation, the types of genetic modifications employed, and the corresponding annual yields. This involved sifting through enough data to make a Boolean algorithm blush.

AI Analysis of xkcd Comics:
In parallel, we harnessed the power of advanced artificial intelligence (AI) to scrutinize the portrayal of romance themes in xkcd comics published from 2007 to 2022. Our bespoke AI algorithm was programmed to identify and categorize comics with romantic themes, ranging from love-struck stick figures to graph-laden declarations of affection. It meticulously went through each comic, pixel by pixel, to detect any subtle hints of romance. This process, akin to teaching a robot to interpret the language of love, enabled us to quantify the frequency and nature of romantic content in the xkcd corpus.

Correlation Analysis:
With our robust datasets in hand, we subjected the GMO cotton production figures and the romantic content of xkcd comics to rigorous statistical analysis. We calculated the Pearson correlation coefficient to quantify the strength and direction of the relationship between these seemingly disparate variables. Like a matchmaker comparing two potential paramours, we sought to determine if they were truly a love match or simply a statistical fling.

Cross-Validation Through Expert Analysis:
To further validate our findings, we engaged a team of xkcd aficionados to manually review a subset of comics identified by our AI algorithm as containing romantic themes. Their keen insights and discerning judgments provided valuable qualitative feedback and served as an essential cross-check to ensure the integrity of our quantitative analysis. It was an unconventional blind date between human intelligence and artificial intelligence, with the former delivering the final verdict on the portrayal of romance in xkcd comics.

Ethical Considerations:
Our research adhered to the highest ethical standards in the collection, analysis, and interpretation of data. We ensured that all xkcd comics were treated with the utmost respect and reverence for their comedic and intellectual value. No stick figures were harmed or emotionally traumatized in the making of this study.

In summary, our methodology integrated traditional data collection with AI analysis, allowing us to uncover the enchanting relationship between GMOs and xkcd romance. It was a peculiarly delightful journey, akin to waltzing through a field of algorithmic daisies and statistical sunsets, ultimately culminating in a scientifically rigorous yet whimsically charming exploration.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from USDA and AI analysis of xkcd comics .

For the time period 2007 to 2022, you found a correlation 0.9048006, r-squared of 0.8186641, 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]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the saying goes, "Love is in the air," but who would have thought that genetically modified cotton in North Carolina could also play a part in this romantic tale? In this paper, we embark on an unconventional journey, exploring the unlikely link between GMO use in cotton production and the portrayal of romance in the popular webcomic xkcd. While the connection may seem as unlikely as a cornstalk growing heart-shaped kernels, our rigorous analysis reveals a surprising correlation.
The world of genetically modified organisms (GMOs) has long been a topic of debate and discussion, with proponents touting their potential to increase crop yield and enhance resilience to environmental stress, and opponents expressing concerns about their impact on ecological systems and human health. Meanwhile, the webcomic xkcd, known for its intelligent humor and quirky musings on everything from mathematics to relationships, has amassed a dedicated following of fans who eagerly await each new installment.
It was during a casual stroll through the digital fields of internet humor that the idea for this investigation took root. An observant researcher noticed a peculiar trend in the portrayal of romantic themes in xkcd comics and pondered whether there might be a connection to the agricultural practices in a region well-known for its cotton production – North Carolina. Could there be something more than mere coincidence linking the use of GMOs in cotton cultivation with the depiction of relationships in xkcd comics? Or was it simply a case of statistical serendipity, akin to finding a needle in a haystack of data?
Armed with an insatiable curiosity and an array of analytical tools, we set out to unravel this riddle. Our investigation promises not only to deliver some unexpected insights but also to inject a dose of levity into the sometimes-serious world of academic research. So, buckle up and prepare to be swept away into a whimsical journey where the lines between agriculture and entertainment blur, and where the romance of GMOs and the humor of xkcd intersect in ways no one could have predicted.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis unearthed a striking positive correlation between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. With a correlation coefficient of 0.9048006 and an r-squared value of 0.8186641 for the time period 2007 to 2022, the evidence of this connection is as clear as day – or perhaps as clear as the blue sky over a cotton field. The p-value of less than 0.01 further validates the strength and significance of this unlikely relationship.

Our findings are graphically represented in Figure 1, which showcases the robust correlation between these seemingly disparate variables. As the old adage goes, "A picture is worth a thousand words," and this scatterplot indeed speaks volumes about the unexpected synergy of GMO romance and xkcd humor.

Without diving too much into "punny" language, it's fair to say that our results not only raise eyebrows but also raise questions about the intricate ways in which seemingly unrelated domains can intersect. The profound implications of this correlation extend beyond mere statistical curiosity and point to the potential for interdisciplinary research to uncover surprising connections.

In summary, our research has brought to light an unexpected relationship between GMO use in cotton production and the portrayal of romance in xkcd comics. As we reflect on our findings, we are both intrigued and amused by the unanticipated nature of this relationship. This investigation serves as a reminder that in the vast landscape of scientific inquiry, there may yet be improbable and delightful connections waiting to be uncovered – much like stumbling upon a unique xkcd comic or finding a particularly "punny" pun in a research paper.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

[[LITERATURE REVIEW]]
The investigation of the intriguing relationship between GMO use in cotton production in North Carolina and the portrayal of romance in xkcd comics has sparked interest and curiosity among researchers and enthusiasts alike. The existing literature provides a foundation for our exploration into this uncharted territory, offering valuable insights and perspectives that serve as stepping stones for our own study.
In "The Impact of Genetically Modified Crops on Agricultural Practices" by Smith et al., the authors find extensive evidence supporting the widespread adoption of genetically modified cotton in North Carolina. Their comprehensive analysis underscores the significant role of GMOs in enhancing crop yields and mitigating the effects of pests and diseases, laying the groundwork for our investigation into the effects of these modified cotton plants on the whimsical world of romance in xkcd comics.
Doe and Jones, in their seminal work "Agricultural Biotechnology: From Principles to Practices," delve into the intricate web of genetic engineering and its implications for cotton cultivation. Their rigorous examination of GMO traits and their impact on agricultural ecosystems provides essential background knowledge for understanding the potential interplay between genetically modified cotton and the themes of love, laughter, and longing depicted in xkcd comics.
Furthermore, "Genetic Engineering: A Comprehensive Overview" by Brown offers a thorough exploration of the technical advances in the genetic modification of crops, shedding light on the molecular mechanisms that underpin the creation of GMO cotton varieties. This fundamental understanding serves as a catalyst for our investigation into the unexpected connections that unfold when the world of biotechnology collides with the realm of online humor and romance.
Venturing beyond the realm of academic literature, we draw inspiration from the fictional landscape, finding unexpected parallels between the themes in xkcd comics and beloved literary works. In "Pride and Prejudice" by Jane Austen, the timeless tale of love and misunderstandings unfolds against a backdrop of societal conventions and expectations, mirroring the complexities of human relationships echoed in the digital canvases of xkcd comics. Similarly, the whimsical charm of "The Hitchhiker's Guide to the Galaxy" by Douglas Adams invites readers to embark on a cosmic adventure filled with humor and absurdity, much like the journey we embark upon as we unravel the enigmatic link between genetically modified romance and online comic strips.
Drawing from unexpected sources, the board game "Catan" offers a playful analogy to our investigation, as players strategically cultivate and trade resources, akin to the agricultural practices and thematic exchanges we explore in the context of GMO cotton and xkcd romance.
As we navigate through this landscape of literature and imaginative analogies, we prepare to embark on our own exploratory journey, armed with the tools of analysis and a sense of humor that will illuminate the unique intersection of GMO use in North Carolina and the portrayal of romance in xkcd comics.

[[RESULTS]]
The data analysis unearthed a striking positive correlation between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. With a correlation coefficient of 0.9048006 and an r-squared value of 0.8186641 for the time period 2007 to 2022, the evidence of this connection is as clear as day – or perhaps as clear as the blue sky over a cotton field. The p-value of less than 0.01 further validates the strength and significance of this unlikely relationship.
Our findings are graphically represented in Figure 1, which showcases the robust correlation between these seemingly disparate variables. As the old adage goes, "A picture is worth a thousand words," and this scatterplot indeed speaks volumes about the unexpected synergy of GMO romance and xkcd humor.
Without diving too much into "punny" language, it's fair to say that our results not only raise eyebrows but also raise questions about the intricate ways in which seemingly unrelated domains can intersect. The profound implications of this correlation extend beyond mere statistical curiosity and point to the potential for interdisciplinary research to uncover surprising connections.
In summary, our research has brought to light an unexpected relationship between GMO use in cotton production and the portrayal of romance in xkcd comics. As we reflect on our findings, we are both intrigued and amused by the unanticipated nature of this relationship. This investigation serves as a reminder that in the vast landscape of scientific inquiry, there may yet be improbable and delightful connections waiting to be uncovered – much like stumbling upon a unique xkcd comic or finding a particularly "punny" pun in a research paper.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings not only offer an unexpected and whimsical twist in the world of agricultural and cultural research but also fundamentally reaffirm the connection between GMO use in cotton production in North Carolina and the portrayal of romance in xkcd comics. As we sift through the assemblage of data and dive into the interplay of genetically modified romance, we find ourselves delighted by the intriguing coherence of seemingly unrelated domains.

Venturing back to the literature review, the works of Smith et al. and Doe and Jones have paved the way for our study, guiding us through the intricate realm of genetically modified cotton and its impact on agricultural practices. Our results resonate with their findings, providing empirical evidence of the substantial correlation between GMO cotton and the thematic elements of longing, laughter, and love in xkcd comics. It seems that GMO cotton might not just be enhancing crop yields and thwarting pests but also sowing the seeds of romance within the digital panels of xkcd.

Utilizing advanced artificial intelligence (AI) analysis of xkcd comics, we have been able to quantitatively discern the manifestation of romance in these digital canvases. Our findings profoundly align with the whimsical analogies drawn from literary works such as "Pride and Prejudice" and "The Hitchhiker's Guide to the Galaxy," reinforcing the notion that the universal themes of love and humor may permeate even unexpected realms, akin to the surprising correlation between GMO use in cotton and xkcd romance.

The scatterplot in Figure 1 not only visually encapsulates the robust correlation but also paints a picture of the delightful synergy between GMO romance and xkcd hilarity. It beckons the beholder to ponder the unanticipated links that may lie beneath the surface of seemingly disparate phenomena, much like a cryptic xkcd comic waiting to be deciphered.

In the grand scheme of scientific inquiry, our research serves as a reminder that the pursuit of knowledge can unravel improbable and delightful connections, akin to stumbling upon a particularly "punny" pun in a research paper. As we bask in the light-hearted yet scientifically intriguing nature of this investigation, we are spurred to delve deeper, to embrace the unexpected, and to explore new avenues of interdisciplinary research, all while keeping an eye out for the hidden threads of GMO romance in the fabric of our scholarly pursuits.


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 GMO use in cotton in North Carolina and xkcd comics published about romance. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics"

[[ABSTRACT]]
In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

[[INTRDUCTION]]
As the saying goes, "Love is in the air," but who would have thought that genetically modified cotton in North Carolina could also play a part in this romantic tale? In this paper, we embark on an unconventional journey, exploring the unlikely link between GMO use in cotton production and the portrayal of romance in the popular webcomic xkcd. While the connection may seem as unlikely as a cornstalk growing heart-shaped kernels, our rigorous analysis reveals a surprising correlation.
The world of genetically modified organisms (GMOs) has long been a topic of debate and discussion, with proponents touting their potential to increase crop yield and enhance resilience to environmental stress, and opponents expressing concerns about their impact on ecological systems and human health. Meanwhile, the webcomic xkcd, known for its intelligent humor and quirky musings on everything from mathematics to relationships, has amassed a dedicated following of fans who eagerly await each new installment.
It was during a casual stroll through the digital fields of internet humor that the idea for this investigation took root. An observant researcher noticed a peculiar trend in the portrayal of romantic themes in xkcd comics and pondered whether there might be a connection to the agricultural practices in a region well-known for its cotton production – North Carolina. Could there be something more than mere coincidence linking the use of GMOs in cotton cultivation with the depiction of relationships in xkcd comics? Or was it simply a case of statistical serendipity, akin to finding a needle in a haystack of data?
Armed with an insatiable curiosity and an array of analytical tools, we set out to unravel this riddle. Our investigation promises not only to deliver some unexpected insights but also to inject a dose of levity into the sometimes-serious world of academic research. So, buckle up and prepare to be swept away into a whimsical journey where the lines between agriculture and entertainment blur, and where the romance of GMOs and the humor of xkcd intersect in ways no one could have predicted.

[[RESULTS]]
The data analysis unearthed a striking positive correlation between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. With a correlation coefficient of 0.9048006 and an r-squared value of 0.8186641 for the time period 2007 to 2022, the evidence of this connection is as clear as day – or perhaps as clear as the blue sky over a cotton field. The p-value of less than 0.01 further validates the strength and significance of this unlikely relationship.
Our findings are graphically represented in Figure 1, which showcases the robust correlation between these seemingly disparate variables. As the old adage goes, "A picture is worth a thousand words," and this scatterplot indeed speaks volumes about the unexpected synergy of GMO romance and xkcd humor.
Without diving too much into "punny" language, it's fair to say that our results not only raise eyebrows but also raise questions about the intricate ways in which seemingly unrelated domains can intersect. The profound implications of this correlation extend beyond mere statistical curiosity and point to the potential for interdisciplinary research to uncover surprising connections.
In summary, our research has brought to light an unexpected relationship between GMO use in cotton production and the portrayal of romance in xkcd comics. As we reflect on our findings, we are both intrigued and amused by the unanticipated nature of this relationship. This investigation serves as a reminder that in the vast landscape of scientific inquiry, there may yet be improbable and delightful connections waiting to be uncovered – much like stumbling upon a unique xkcd comic or finding a particularly "punny" pun in a research paper.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our whimsical yet scientifically illuminating investigation has revealed a surprising and statistically significant correlation between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. As we sifted through the data, we couldn't help but marvel at the unexpected connection between agricultural practices and internet pop culture. It's like stumbling upon a love story in a field of genetically modified cotton – a truly improbable yet delightful discovery.

The robust correlation coefficient of 0.9048006 and the r-squared value of 0.8186641 for the period spanning from 2007 to 2022 left us both astonished and tickled pink. And let's not forget the p-value of less than 0.01 – truly a validation of the genuineness of this unlikely relationship. As much as we'd like to insert a "cotton-picking" pun here, we'll resist the temptation and maintain scholarly decorum.

As we visualize the scatterplot in Figure 1, we can't help but appreciate the poetry in the overlap of GMO romance and xkcd humor. It's like finding a diamond ring in a haystack – a rarity that elicits both incredulity and joy. Indeed, the intersections of seemingly disparate domains never cease to surprise and amuse us, proving that the world of research is as unpredictable as an xkcd punchline.

Armed with these findings, we assert that no further research is needed in this area. Because, really, could anything top this delightful discovery? It's like trying to top a classic xkcd comic – an endeavor that's as futile as finding a needle in a haystack of hilarity. With this, we bid adieu to the world of GMO romance and xkcd comics, our hearts brimming with the pure glee of unexpected correlations. It's been a "punny" and enlightening journey, and we invite fellow researchers to relish the charm of improbable connections in their own scholarly pursuits.


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 Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Genetic Romantics


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 Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics. Respond only with the name of a fictional organization.

ChatGPT:

The Center for Agricultural Biotechnology and Romantic Literature


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 Genetically Modified Romance: Uncovering the Cotton Connection Between GMO Use in North Carolina and xkcd Comics with an abstract of In this paper, we present a unique and lighthearted examination of the unexpected connection between the use of genetically modified organisms (GMOs) in cotton production in North Carolina and the portrayal of romance in xkcd comics. Utilizing data provided by the USDA and employing advanced artificial intelligence (AI) analysis of xkcd comics, we set out to unravel this enigmatic relationship. Our findings indicate a remarkably strong correlation coefficient of 0.9048006 and statistically significant p-value of less than 0.01 for the period spanning from 2007 to 2022. This study not only sheds light on the interplay between agricultural practices and internet pop culture but also demonstrates the potential for unconventional correlations in interdisciplinary research. Join us as we delve into the world of GMO romance and xkcd hilarity in this whimsical yet scientifically intriguing investigation.

ChatGPT:

genetically modified organisms in cotton production, North Carolina GMO use, xkcd comics, romance portrayal, USDA data, AI analysis, correlation coefficient, interdisciplinary research, unconventional correlations, GMO romance, internet pop culture

*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

GMO use in cotton in North Carolina
Detailed data title: Percent of cotton planted in North Carolina that is genetically modified to be insect-resistant (Bt), but not herbicide-tolerant (HT)
Source: USDA
See what else correlates with GMO use in cotton in North Carolina

xkcd comics published about romance
Detailed data title: The number of xkcd comics published each year about romance
Source: AI analysis of xkcd comics
Additional Info: I designed a Python workflow to perform OCR on every xkcd comic, feed that text into a large language model, and ask the model whether this comic was about the category named in the title.

See what else correlates with xkcd comics published about romance

Correlation r = 0.9048006 (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.8186641 (Coefficient of determination)
This means 81.9% of the change in the one variable (i.e., xkcd comics published about romance) is predictable based on the change in the other (i.e., GMO use in cotton in North Carolina) over the 16 years from 2007 through 2022.

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

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.9 in 0.00015% of random cases. Said differently, if you correlated 679,016 random variables You don't actually need 679 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 15 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 15 because we have two variables measured over a period of 16 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.74, 0.97 ] 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.
2007200820092010201120122013201420152016201720182019202020212022
GMO use in cotton in North Carolina (GMO cotton %)1319151410162312312333
xkcd comics published about romance (xkcd comics)3835212811183432311563




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. 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([13,19,15,14,10,16,2,3,1,2,3,1,2,3,3,3,])
array_2 = np.array([38,35,21,28,11,18,3,4,3,2,3,1,1,5,6,3,])
array_1_name = "GMO use in cotton in North Carolina"
array_2_name = "xkcd comics published about romance"

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

Bravo! Your evaluation rocks!


Correlation ID: 1560 · Black Variable ID: 774 · Red Variable ID: 20013
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0