about · email me · subscribe
Spurious correlation #2,416 · 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 corn grown in Illinois and the second variable is Google searches for 'Gangnam Style'.  The chart goes from 2012 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The non-GMO corn plants started doing the non-GMO style dance, but it just wasn't as catchy as the original!

Model: dalle-3
Prompt: Generate an image of a TIME magazine cover featuring a cornfield in Illinois. The genetically modified cornstalks stand tall but droop sadly. Surrounding the field, people are gathered, hunched over their phones, with puzzled expressions as they search for "Gangnam Style", capturing the impact of GMO use in corn and the fading fascination with the famous dance. The image should convey the contrast between the vibrant but drooping cornstalks and the perplexed individuals searching for the viral dance. 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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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 TIME magazine cover image Macabre Macabre Cute cartoon Voxel art
ChatGPT: TIME magazine cover image

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both GMO use in corn grown in Illinois and Google searches for 'Gangnam Style', in the following situation: The corn had lost its ear-resistible dance moves, leading to a kernel of truth in the saying "you reap what you sow." Without the genetically modified oomph, the corn just couldn't husk it like it used to, leaving people feeling a-MAIZE-d and unable to shuck and jive to the infectious beats of Gangnam Style. It seems the lack of GMOs left everyone feeling a little husk-tic!. Keep the description simple.
ChatGPT: In a cornfield in Illinois, the genetically modified cornstalks stand tall, but instead of dancing in the wind, they droop sadly. Surrounding the field, people are gathered, hunched over their phones, furiously searching for "Gangnam Style", but with puzzled expressions as the once viral dance seems to have lost its appeal. The scene captures the impact of GMO use in corn and the fading fascination with the famous dance.

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: [ TIME magazine cover image ] and depicting this scene: In a cornfield in Illinois, the genetically modified cornstalks stand tall, but instead of dancing in the wind, they droop sadly. Surrounding the field, people are gathered, hunched over their phones, furiously searching for "Gangnam Style", but with puzzled expressions as the once viral dance seems to have lost its appeal. The scene captures the impact of GMO use in corn and the fading fascination with the famous dance. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a TIME magazine cover featuring a cornfield in Illinois. The genetically modified cornstalks stand tall but droop sadly. Surrounding the field, people are gathered, hunched over their phones, with puzzled expressions as they search for "Gangnam Style", capturing the impact of GMO use in corn and the fading fascination with the famous dance. The image should convey the contrast between the vibrant but drooping cornstalks and the perplexed individuals searching for the viral dance.

*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 corn grown in Illinois caused Gangnam Style (Google searches for 'Gangnam Style') to decrease.

AI academic paper

(Because p < 0.01)
Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'

The International Journal of Agricultural Anthropology

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 corn grown in Illinois and Google searches for 'Gangnam Style'. Make lots of jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from USDA and Google Trends to assess this nagging question. You found a correlation coefficient of 0.9458787 and p < 0.01 for 2012 to 2023.

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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.


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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
INTRODUCTION

As humans, we are often driven by our innate curiosity to unravel the mysteries of the world around us, and no curiosity is too eccentric when it comes to exploring the unexpected connections between seemingly unrelated phenomena. In the realm of scientific inquiry, it is not uncommon for researchers to stumble upon correlations that leave them scratching their heads, pondering the whimsical ways in which the universe operates.

In the present study, we set out on a scientific journey lightheartedly described as "Maize Music," aiming to shed light on the perplexing relationship between the utilization of genetically modified organisms (GMOs) in the cultivation of corn in the illustrious state of Illinois and the erratic, yet undeniably captivating, surge in Google searches for the cultural phenomenon that is 'Gangnam Style.' Who would have thought that the world of agricultural biotechnology and the virtual dance floors of the internet could join forces in such an unexpected duet?

Armed with an arsenal of statistical tools, a penchant for puns, and an unquenchable thirst for scientific absurdity, our research team embarked on this statistical escapade – determined to navigate the murky waters of corn genetics and viral dance moves. Little did we know that our exploration would lead us to the intersection of plant science and pop culture, a crossroads where the seeds of jest and the harvest of statistical significance awaited.

As we delve into this peculiar pursuit, we invite you to join us in our quest to unearth the rhythmic resonance between genetically modified cornfields and the infectious beats of 'Gangnam Style.' Prepare yourself for a cornucopia of puns, a-maize-ing research revelations, and perhaps even a few statistics that will leave you dancing with delight. Let the scientific frolic commence!


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 corn grown in Illinois and Google searches for 'Gangnam Style'. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
INTRODUCTION
As humans, we are often driven by our innate curiosity to unravel the mysteries of the world around us, and no curiosity is too eccentric when it comes to exploring the unexpected connections between seemingly unrelated phenomena. In the realm of scientific inquiry, it is not uncommon for researchers to stumble upon correlations that leave them scratching their heads, pondering the whimsical ways in which the universe operates.
In the present study, we set out on a scientific journey lightheartedly described as "Maize Music," aiming to shed light on the perplexing relationship between the utilization of genetically modified organisms (GMOs) in the cultivation of corn in the illustrious state of Illinois and the erratic, yet undeniably captivating, surge in Google searches for the cultural phenomenon that is 'Gangnam Style.' Who would have thought that the world of agricultural biotechnology and the virtual dance floors of the internet could join forces in such an unexpected duet?
Armed with an arsenal of statistical tools, a penchant for puns, and an unquenchable thirst for scientific absurdity, our research team embarked on this statistical escapade – determined to navigate the murky waters of corn genetics and viral dance moves. Little did we know that our exploration would lead us to the intersection of plant science and pop culture, a crossroads where the seeds of jest and the harvest of statistical significance awaited.
As we delve into this peculiar pursuit, we invite you to join us in our quest to unearth the rhythmic resonance between genetically modified cornfields and the infectious beats of 'Gangnam Style.' Prepare yourself for a cornucopia of puns, a-maize-ing research revelations, and perhaps even a few statistics that will leave you dancing with delight. Let the scientific frolic commence!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Several studies have delved into the complex realm of genetically modified organisms (GMOs) and their impact on agricultural practices, with a focus on corn cultivation. Smith et al. (2015) conducted a comprehensive analysis of the adoption and diffusion of GMO technologies in corn production, highlighting the substantial increase in yields and resistance to pests achieved through genetic modification. In a similar vein, Doe and Jones (2018) explored the economic implications of GMO use in corn, shedding light on the cost-effectiveness of biotechnological interventions in the agricultural sector.

Transitioning to the realm of popular culture and digital trends, Lorem and Ipsum (2020) provided a compelling exploration of the societal impacts of viral dance phenomena, with particular emphasis on the rise and enduring legacy of 'Gangnam Style.' The authors deftly navigated the intersections of social media, entertainment, and global connectivity to uncover the intriguing dynamics at play when a dance craze captivates the collective conscience of internet users.

Turning our attention to related non-fiction literature, "The Omnivore's Dilemma" by Michael Pollan offers valuable insights into the complexities of modern food production, encompassing the cultivation of corn and the ethical considerations surrounding genetic modification. Additionally, "GMO Sapiens: The Life-Changing Science of Designer Babies" by Paul Knoepfler provides a thought-provoking exploration of genetic engineering in the broader context of biotechnology.

Shifting gears into the realm of fiction, "Oryx and Crake" by Margaret Atwood presents a dystopian narrative that intricately weaves genetic engineering and ecological themes. The juxtaposition of speculative fiction with real-world biotechnological developments offers a stimulating backdrop for contemplating the potential ramifications of genetic modification in agriculture.

Furthermore, the TV series "Breaking Bad" presents a compelling portrayal of the clandestine world of illicit activities, albeit distinct from the realms of agriculture and internet fads. On a lighter note, the sitcom "The Big Bang Theory" introduces elements of scientific inquiry and quirky humor, which serve as a source of inspiration for the lighthearted approach adopted in this research endeavor.


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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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 USDA and Google Trends . You used data from 2012 to 2023

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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

[[INTRODUCTION]]
INTRODUCTION
As humans, we are often driven by our innate curiosity to unravel the mysteries of the world around us, and no curiosity is too eccentric when it comes to exploring the unexpected connections between seemingly unrelated phenomena. In the realm of scientific inquiry, it is not uncommon for researchers to stumble upon correlations that leave them scratching their heads, pondering the whimsical ways in which the universe operates.
In the present study, we set out on a scientific journey lightheartedly described as "Maize Music," aiming to shed light on the perplexing relationship between the utilization of genetically modified organisms (GMOs) in the cultivation of corn in the illustrious state of Illinois and the erratic, yet undeniably captivating, surge in Google searches for the cultural phenomenon that is 'Gangnam Style.' Who would have thought that the world of agricultural biotechnology and the virtual dance floors of the internet could join forces in such an unexpected duet?
Armed with an arsenal of statistical tools, a penchant for puns, and an unquenchable thirst for scientific absurdity, our research team embarked on this statistical escapade – determined to navigate the murky waters of corn genetics and viral dance moves. Little did we know that our exploration would lead us to the intersection of plant science and pop culture, a crossroads where the seeds of jest and the harvest of statistical significance awaited.
As we delve into this peculiar pursuit, we invite you to join us in our quest to unearth the rhythmic resonance between genetically modified cornfields and the infectious beats of 'Gangnam Style.' Prepare yourself for a cornucopia of puns, a-maize-ing research revelations, and perhaps even a few statistics that will leave you dancing with delight. Let the scientific frolic commence!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

METHODOLOGY

To unravel the enigmatic connection between genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for 'Gangnam Style,' our research team employed a whimsical blend of data collection, statistical analysis, and a splash of quirky curiosity. Maybe it's in the kernels of truth, or perhaps it's just the corny jokes, but we were determined to plow through the vast fields of information and dance our way to meaningful conclusions.

Data Collection: Like intrepid explorers navigating the digital landscape, we scoured the vast terrain of the internet, seeking nuggets of knowledge in the form of data. Our exploration led us to the United States Department of Agriculture (USDA) for comprehensive information on corn production, including the adoption of GMOs in the cornfields of Illinois. For the pulsating beats of 'Gangnam Style' queries, we turned to the ever-reliable Google Trends, where the search patterns of internet denizens laid the groundwork for our rhythmic analysis. We sifted through data spanning the years 2012 to 2023, a timeframe when both GMO corn and the Gangnam phenomenon were boogieing at the forefront of public attention.

Statistical Analysis: Armed with an assortment of statistical tools and a knack for finding the fun in figures, we set out to uncover the melodic convergence of GMO corn and 'Gangnam Style' searches. The software symphonies of R and Python orchestrated our data manipulation and analysis, allowing us to perform a harmonious dance of correlation coefficients and p-values. Our research team donned their best statistical dancing shoes and waltzed through the realms of regression analysis, time series modeling, and perhaps even a few impromptu interpretative dances to test the significance of the relationship between our curious variables.

Creating the Connection: In the quest to bridge the gap between agriculture and internet trends, we explored various theoretical frameworks and models, always remaining attuned to the rhythm of our data. Our data-driven dalliance led us to contemplate the influence of cultural phenomena on search behavior, the potential impact of agricultural practices on virtual interests, and the momentous intersection of science and society's penchant for internet memes. With every step we took along this scientific promenade, we remained diligent in addressing the potential confounding variables and ensuring that our analytical choreography remained coherent.

Ethical Considerations: In our pursuit of understanding the peculiar partnership between GM corn and 'Gangnam Style' searches, we upheld the principles of scientific integrity and research ethics. We conducted our analysis with a spirit of intellectual curiosity, ensuring that our interpretations resonated with the facts while maintaining a lighthearted perspective.

In scrutinizing the alignment of GMO corn and dance-infused searches, our research team brought a sense of humor and inquisitiveness to the forefront, daring to explore the unexpected and celebrate the synchronicity of science and society's search histories. Join us as we unveil the scientific steps behind this peculiar pas de deux of corny crops and viral dance moves. Prepare yourself for a data-driven hoedown like no other!


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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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 USDA and Google Trends .

For the time period 2012 to 2023, you found a correlation 0.9458787, r-squared of 0.8946865, 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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
INTRODUCTION
As humans, we are often driven by our innate curiosity to unravel the mysteries of the world around us, and no curiosity is too eccentric when it comes to exploring the unexpected connections between seemingly unrelated phenomena. In the realm of scientific inquiry, it is not uncommon for researchers to stumble upon correlations that leave them scratching their heads, pondering the whimsical ways in which the universe operates.
In the present study, we set out on a scientific journey lightheartedly described as "Maize Music," aiming to shed light on the perplexing relationship between the utilization of genetically modified organisms (GMOs) in the cultivation of corn in the illustrious state of Illinois and the erratic, yet undeniably captivating, surge in Google searches for the cultural phenomenon that is 'Gangnam Style.' Who would have thought that the world of agricultural biotechnology and the virtual dance floors of the internet could join forces in such an unexpected duet?
Armed with an arsenal of statistical tools, a penchant for puns, and an unquenchable thirst for scientific absurdity, our research team embarked on this statistical escapade – determined to navigate the murky waters of corn genetics and viral dance moves. Little did we know that our exploration would lead us to the intersection of plant science and pop culture, a crossroads where the seeds of jest and the harvest of statistical significance awaited.
As we delve into this peculiar pursuit, we invite you to join us in our quest to unearth the rhythmic resonance between genetically modified cornfields and the infectious beats of 'Gangnam Style.' Prepare yourself for a cornucopia of puns, a-maize-ing research revelations, and perhaps even a few statistics that will leave you dancing with delight. Let the scientific frolic commence!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data unveiled an astonishingly robust correlation between the use of genetically modified organisms (GMOs) in corn cultivated in Illinois and the frequency of Google searches for 'Gangnam Style.' Our statistical examination revealed a correlation coefficient of 0.9458787, indicating a remarkably strong positive relationship between these seemingly disparate variables. The tight clustering of data points around the best-fit line on the scatterplot exemplifies the captivating synchrony between the adoption of GMOs in corn production and the ebb and flow of 'Gangnam Style' searches on the internet.

In other words, it appears that as the utilization of GMOs in corn farming increased, so did the public's interest in mastering the infectious dance moves of PSY's iconic hit. The r-squared value of 0.8946865 further emphasizes the substantial extent to which variations in GMO use can be associated with shifts in the frequency of 'Gangnam Style' inquiries, illustrating that a staggering 89.47% of the variance in the Google search data can be explained by changes in GMO adoption.

The p-value of less than 0.01 provides resounding evidence to reject the null hypothesis, effectively dispelling any notion that the observed correlation could have occurred by mere chance. It is as if the GMO corn and 'Gangnam Style' searches were in perfect harmony, performing an enthralling statistical tango that defies conventional wisdom.

The implications of these findings extend far beyond the confines of research laboratories and agricultural fields, delving into the enigmatic realms of internet fads and biotechnological influence. Perhaps there exists an uncharted rhythm, an arcane cadence that weaves together the melodies of modified maize and the jives of global dance sensations.

This unexpected alignment of agricultural practices and pop culture fervor calls for further exploration, invoking a whimsical curiosity about the rippling effects of biotechnology on the collective consciousness of internet users. The discovery of this unanticipated relationship leaves a trail of questions in its wake, compelling us to ponder the far-reaching consequences of agricultural innovation on the peculiar predilections of online denizens.

In essence, our research has unearthed an unlikely symphony between the agricultural landscape and the virtual dance floors of the internet, a symphony that tantalizes the senses with its whimsical blend of genetic modification and viral rhythms. Our statistical odyssey through the maze of maize and the musical musings of 'Gangnam Style' has not only broadened our scientific perspectives but also enriched our appreciation for the delightful enigma of statistical serendipity.

(Insert Fig. 1 – Scatterplot showing the strong correlation between GMO use in corn grown in Illinois and Google searches for 'Gangnam Style' here)


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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

[[LITERATURE REVIEW]]
Several studies have delved into the complex realm of genetically modified organisms (GMOs) and their impact on agricultural practices, with a focus on corn cultivation. Smith et al. (2015) conducted a comprehensive analysis of the adoption and diffusion of GMO technologies in corn production, highlighting the substantial increase in yields and resistance to pests achieved through genetic modification. In a similar vein, Doe and Jones (2018) explored the economic implications of GMO use in corn, shedding light on the cost-effectiveness of biotechnological interventions in the agricultural sector.
Transitioning to the realm of popular culture and digital trends, Lorem and Ipsum (2020) provided a compelling exploration of the societal impacts of viral dance phenomena, with particular emphasis on the rise and enduring legacy of 'Gangnam Style.' The authors deftly navigated the intersections of social media, entertainment, and global connectivity to uncover the intriguing dynamics at play when a dance craze captivates the collective conscience of internet users.
Turning our attention to related non-fiction literature, "The Omnivore's Dilemma" by Michael Pollan offers valuable insights into the complexities of modern food production, encompassing the cultivation of corn and the ethical considerations surrounding genetic modification. Additionally, "GMO Sapiens: The Life-Changing Science of Designer Babies" by Paul Knoepfler provides a thought-provoking exploration of genetic engineering in the broader context of biotechnology.
Shifting gears into the realm of fiction, "Oryx and Crake" by Margaret Atwood presents a dystopian narrative that intricately weaves genetic engineering and ecological themes. The juxtaposition of speculative fiction with real-world biotechnological developments offers a stimulating backdrop for contemplating the potential ramifications of genetic modification in agriculture.
Furthermore, the TV series "Breaking Bad" presents a compelling portrayal of the clandestine world of illicit activities, albeit distinct from the realms of agriculture and internet fads. On a lighter note, the sitcom "The Big Bang Theory" introduces elements of scientific inquiry and quirky humor, which serve as a source of inspiration for the lighthearted approach adopted in this research endeavor.

[[RESULTS]]
The analysis of the data unveiled an astonishingly robust correlation between the use of genetically modified organisms (GMOs) in corn cultivated in Illinois and the frequency of Google searches for 'Gangnam Style.' Our statistical examination revealed a correlation coefficient of 0.9458787, indicating a remarkably strong positive relationship between these seemingly disparate variables. The tight clustering of data points around the best-fit line on the scatterplot exemplifies the captivating synchrony between the adoption of GMOs in corn production and the ebb and flow of 'Gangnam Style' searches on the internet.
In other words, it appears that as the utilization of GMOs in corn farming increased, so did the public's interest in mastering the infectious dance moves of PSY's iconic hit. The r-squared value of 0.8946865 further emphasizes the substantial extent to which variations in GMO use can be associated with shifts in the frequency of 'Gangnam Style' inquiries, illustrating that a staggering 89.47% of the variance in the Google search data can be explained by changes in GMO adoption.
The p-value of less than 0.01 provides resounding evidence to reject the null hypothesis, effectively dispelling any notion that the observed correlation could have occurred by mere chance. It is as if the GMO corn and 'Gangnam Style' searches were in perfect harmony, performing an enthralling statistical tango that defies conventional wisdom.
The implications of these findings extend far beyond the confines of research laboratories and agricultural fields, delving into the enigmatic realms of internet fads and biotechnological influence. Perhaps there exists an uncharted rhythm, an arcane cadence that weaves together the melodies of modified maize and the jives of global dance sensations.
This unexpected alignment of agricultural practices and pop culture fervor calls for further exploration, invoking a whimsical curiosity about the rippling effects of biotechnology on the collective consciousness of internet users. The discovery of this unanticipated relationship leaves a trail of questions in its wake, compelling us to ponder the far-reaching consequences of agricultural innovation on the peculiar predilections of online denizens.
In essence, our research has unearthed an unlikely symphony between the agricultural landscape and the virtual dance floors of the internet, a symphony that tantalizes the senses with its whimsical blend of genetic modification and viral rhythms. Our statistical odyssey through the maze of maize and the musical musings of 'Gangnam Style' has not only broadened our scientific perspectives but also enriched our appreciation for the delightful enigma of statistical serendipity.
(Insert Fig. 1 – Scatterplot showing the strong correlation between GMO use in corn grown in Illinois and Google searches for 'Gangnam Style' here)

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The perplexing correlation uncovered between GMO use in corn cultivated in Illinois and the fervent Google searches for 'Gangnam Style' has left us in a scientific tizzy. Our findings have boldly corroborated the unorthodox claims made by Lorem and Ipsum (2020) regarding the societal impact of viral dance phenomena. While their study may have initially elicited raised eyebrows, the magnetic association between GMO adoption and 'Gangnam Style' pursuits has indeed validated their insights. It seems the cornfields of Illinois and the dance floors of the internet have formed an unlikely alliance, engaging in a statistical tarantella of agricultural intrigue and pop culture panache.

Smith et al. (2015) and Doe and Jones (2018) may have never envisioned their solemn studies on GMO adoption and economic cost-effectiveness to converge with the resounding echoes of 'Gangnam Style', but our statistical escapades have highlighted the unexpected collusion. The robust correlation coefficient of 0.9458787, akin to the gravitational pull of celestial bodies, has emphatically borne witness to the magnetic sway shared by GMO-laden corn and the rhythmic allure of PSY's hit.

In light of our results, it is evident that the whispers of 'Gangnam Style' searches on Google travel in harmony with the winds that rustle through the GMO cornstalks of Illinois. The r-squared value of 0.8946865, akin to a captivating dance duet, accentuates the tantalizing unity between these seemingly disparate variables. Who would have thought that the inclination to perform PSY's galloping horse dance could be so intricately intertwined with the genetic makeup of maize?

The p-value of less than 0.01 has decisively quashed any notion of happenstance, firmly establishing the enduring synthesis of GMO usage and 'Gangnam Style' maneuvering. It's as if the statistical stars have aligned, orchestrating a whimsical waltz that elicits both mirth and marvel. Our findings exemplify the quintessential essence of statistical serendipity, underscoring the robustness of the connection between agricultural innovation and digital danse macabre.

In essence, the unexpected concordance between genetically modified corn and 'Gangnam Style' queries invites us to embrace the harmonious symphony resonating across the agricultural and digital landscapes. As we unravel this statistical opera, may we find delight in the capricious conjunction of biotechnology and viral rhythms.

(Insert Fig. 1 – Scatterplot showing the strong correlation between GMO use in corn grown in Illinois and Google searches for 'Gangnam Style' here)

And so, we leave our readers with a scientific riddle to ponder: what other harmonies might await discovery within the eclectic tapestry of agricultural innovations and digital eccentricities?


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 corn grown in Illinois and Google searches for 'Gangnam Style'. 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]]
"Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'"

[[ABSTRACT]]
This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

[[INTRDUCTION]]
INTRODUCTION
As humans, we are often driven by our innate curiosity to unravel the mysteries of the world around us, and no curiosity is too eccentric when it comes to exploring the unexpected connections between seemingly unrelated phenomena. In the realm of scientific inquiry, it is not uncommon for researchers to stumble upon correlations that leave them scratching their heads, pondering the whimsical ways in which the universe operates.
In the present study, we set out on a scientific journey lightheartedly described as "Maize Music," aiming to shed light on the perplexing relationship between the utilization of genetically modified organisms (GMOs) in the cultivation of corn in the illustrious state of Illinois and the erratic, yet undeniably captivating, surge in Google searches for the cultural phenomenon that is 'Gangnam Style.' Who would have thought that the world of agricultural biotechnology and the virtual dance floors of the internet could join forces in such an unexpected duet?
Armed with an arsenal of statistical tools, a penchant for puns, and an unquenchable thirst for scientific absurdity, our research team embarked on this statistical escapade – determined to navigate the murky waters of corn genetics and viral dance moves. Little did we know that our exploration would lead us to the intersection of plant science and pop culture, a crossroads where the seeds of jest and the harvest of statistical significance awaited.
As we delve into this peculiar pursuit, we invite you to join us in our quest to unearth the rhythmic resonance between genetically modified cornfields and the infectious beats of 'Gangnam Style.' Prepare yourself for a cornucopia of puns, a-maize-ing research revelations, and perhaps even a few statistics that will leave you dancing with delight. Let the scientific frolic commence!

[[RESULTS]]
The analysis of the data unveiled an astonishingly robust correlation between the use of genetically modified organisms (GMOs) in corn cultivated in Illinois and the frequency of Google searches for 'Gangnam Style.' Our statistical examination revealed a correlation coefficient of 0.9458787, indicating a remarkably strong positive relationship between these seemingly disparate variables. The tight clustering of data points around the best-fit line on the scatterplot exemplifies the captivating synchrony between the adoption of GMOs in corn production and the ebb and flow of 'Gangnam Style' searches on the internet.
In other words, it appears that as the utilization of GMOs in corn farming increased, so did the public's interest in mastering the infectious dance moves of PSY's iconic hit. The r-squared value of 0.8946865 further emphasizes the substantial extent to which variations in GMO use can be associated with shifts in the frequency of 'Gangnam Style' inquiries, illustrating that a staggering 89.47% of the variance in the Google search data can be explained by changes in GMO adoption.
The p-value of less than 0.01 provides resounding evidence to reject the null hypothesis, effectively dispelling any notion that the observed correlation could have occurred by mere chance. It is as if the GMO corn and 'Gangnam Style' searches were in perfect harmony, performing an enthralling statistical tango that defies conventional wisdom.
The implications of these findings extend far beyond the confines of research laboratories and agricultural fields, delving into the enigmatic realms of internet fads and biotechnological influence. Perhaps there exists an uncharted rhythm, an arcane cadence that weaves together the melodies of modified maize and the jives of global dance sensations.
This unexpected alignment of agricultural practices and pop culture fervor calls for further exploration, invoking a whimsical curiosity about the rippling effects of biotechnology on the collective consciousness of internet users. The discovery of this unanticipated relationship leaves a trail of questions in its wake, compelling us to ponder the far-reaching consequences of agricultural innovation on the peculiar predilections of online denizens.
In essence, our research has unearthed an unlikely symphony between the agricultural landscape and the virtual dance floors of the internet, a symphony that tantalizes the senses with its whimsical blend of genetic modification and viral rhythms. Our statistical odyssey through the maze of maize and the musical musings of 'Gangnam Style' has not only broadened our scientific perspectives but also enriched our appreciation for the delightful enigma of statistical serendipity.
(Insert Fig. 1 – Scatterplot showing the strong correlation between GMO use in corn grown in Illinois and Google searches for 'Gangnam Style' here)

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

As we draw the curtain on our scientific escapade through the harmonious realms of agricultural biotechnology and internet dance craze, we find ourselves immersed in a crescendo of statistical whimsy. Our investigation into the correlation between GMO use in Illinois corn and Google searches for 'Gangnam Style' has not only enriched our understanding of inexplicable connections but also provided us with a bevy of amusing anecdotes and pun-derful insights.

In this vivacious statistical tango, it's clear that the corny allure of genetically modified maize and the mesmerizing rhythms of 'Gangnam Style' have converged in a breathtaking dance of data. The robust correlation coefficient of 0.9458787 and the strikingly low p-value have left us marveling at the unlikely partnership forged between crop genetics and pop culture fervor. It seems that the agricultural landscape and the virtual dance floors of the internet have entwined in an enchanting duet that defies conventional scientific expectations.

As we bid adieu to this captivating confluence of statistical harmony, we resolutely declare that no further research is needed in this realm of delightfully abstruse statistical synchrony. The unparalleled pizzazz of this whimsical correlation has left an indelible mark on our scientific sensibilities, impressing upon us the unfathomable quirks of statistical inquiry. In the grand symphony of science, this peculiar pas de deux between GMO corn and 'Gangnam Style' shall stand as an enduring testament to the enchanting caprices of statistical serendipity.

It appears that when it comes to the dance of statistical discovery, we've hit the perfect note – a resounding and unequivocal conclusion that no further investigation is necessary in uncovering the maize music of GMOs and 'Gangnam Style.'



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 Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'. Respond only with the name of a fictional academic journal.

ChatGPT:

The International Journal of Agricultural Anthropology


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 Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style'. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Agricultural and Cultural Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Maize Music: The GMO Connection to the Google Searches for 'Gangnam Style' with an abstract of This paper delves into the curious correlation between the use of genetically modified organisms (GMOs) in corn grown in Illinois and the Google searches for the iconic dance sensation, 'Gangnam Style.' Combining data from the USDA and Google Trends, our research team discovered a surprising connection, with a correlation coefficient of 0.9458787 and a p-value of less than 0.01 for the period spanning from 2012 to 2023. The findings not only raise eyebrows but also prompt speculation about the potential impact of agricultural practices on popular culture, as well as the unexpected shared interests of internet users. Join us as we unearth the unlikely harmony between biotechnology and dance mania.

ChatGPT:

genetically modified organisms in corn, GMO corn, Illinois agriculture, Google searches, Gangnam Style, dance sensation, internet culture, popular culture, biotechnology impact, agricultural practices, correlation coefficient, p-value, USDA data, Google Trends, research findings

*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 corn grown in Illinois
Detailed data title: Percent of all corn planted in Illinois that is genetically modified to be herbicide-tolerant (HT), but not insect-resistant (Bt)
Source: USDA
See what else correlates with GMO use in corn grown in Illinois

Google searches for 'Gangnam Style'
Detailed data title: Relative volume of Google searches for 'Gangnam Style' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'Gangnam Style'

Correlation r = 0.9458787 (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.8946865 (Coefficient of determination)
This means 89.5% of the change in the one variable (i.e., Google searches for 'Gangnam Style') is predictable based on the change in the other (i.e., GMO use in corn grown in Illinois) over the 12 years from 2012 through 2023.

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

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.95 in 0.00033% of random cases. Said differently, if you correlated 299,565 random variables You don't actually need 299 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 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 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.81, 0.99 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
201220132014201520162017201820192020202120222023
GMO use in corn grown in Illinois (GMO corn %)1875444544445
Google searches for 'Gangnam Style' (Rel. search volume)36.920.33334.666672.833331.333331111111




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([18,7,5,4,4,4,5,4,4,4,4,5,])
array_2 = np.array([36.9,20.3333,4.66667,2.83333,1.33333,1,1,1,1,1,1,1,])
array_1_name = "GMO use in corn grown in Illinois"
array_2_name = "Google searches for 'Gangnam Style'"

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

Your correlation inspection deserves a standing ovation!


Correlation ID: 2416 · Black Variable ID: 725 · Red Variable ID: 1442
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0