about · email me · subscribe
Spurious correlation #3,040 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The distance between Neptune and the Sun and the second variable is Arson in Oklahoma.  The chart goes from 1985 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

Neptune's close proximity disrupted a planetary conference call in the region, leading to a lack of hot air and fiery arguments. Without the usual Neptunian chaos, Oklahomans found themselves too distant from flammable debates, thus reducing the ignition of heated discussions and actual fires. Additionally, the gravitational pull from Neptune may have inadvertently pulled the plug on any nefarious ignition plans. Remember, when it comes to fire safety, it's not just the Earth that needs to align - it's the whole solar system.

Model: dalle-3
Prompt: Prompt: Create an image inspired by a serene, calm scene in the Oklahoma plains. The image should showcase a bright sun shining down from a clear sky and wispy clouds floating peacefully. In the distance, depict the planet Neptune moving closer to the sun, its distinctive blue hue contrasting with the warm tones of the landscape. Ensure that the absence of wildfires and signs of arson incidents is evident as the peaceful scene unfolds. 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: The distance between Neptune and the Sun and Arson in Oklahoma. 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: Charcoal Psychedelic 3D Pixar Style A TIME magazine cover image Cybernetic art
ChatGPT: A 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 The distance between Neptune and the Sun and Arson in Oklahoma, in the following situation: As Neptune moved closer to the Sun, its gravitational influence on Earth caused a decrease in atmospheric pressure, leading to less intense wildfires in Oklahoma and a decrease in arson incidents.. Keep the description simple.
ChatGPT: A serene, calm image of the Oklahoma plains, with a bright sun shining down and wispy clouds floating through the sky. In the distance, Neptune can be seen moving closer to the sun, its blue hue contrasting with the warm tones of the landscape. Despite the dry grass and trees, there are no signs of wildfires, and the absence of arson incidents is evident as the peaceful scene unfolds.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A TIME magazine cover image ] and depicting this scene: A serene, calm image of the Oklahoma plains, with a bright sun shining down and wispy clouds floating through the sky. In the distance, Neptune can be seen moving closer to the sun, its blue hue contrasting with the warm tones of the landscape. Despite the dry grass and trees, there are no signs of wildfires, and the absence of arson incidents is evident as the peaceful scene unfolds. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Create an image inspired by a serene, calm scene in the Oklahoma plains. The image should showcase a bright sun shining down from a clear sky and wispy clouds floating peacefully. In the distance, depict the planet Neptune moving closer to the sun, its distinctive blue hue contrasting with the warm tones of the landscape. Ensure that the absence of wildfires and signs of arson incidents is evident as the peaceful scene unfolds.

*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 The distance between Neptune and the Sun caused Arson in Oklahoma to decrease.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma

The Journal of Extraplanetary Arson Studies

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from Caclculated using Astropy and FBI Criminal Justice Information Services to assess this nagging question. You found a correlation coefficient of 0.9549666 and p < 0.01 for 1985 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As we delve into the realms of scientific inquiry, one often encounters unexpected correlations and interconnections that leave us scratching our heads in bewilderment. This paper, "Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma," delves into such an enigmatic relationship between celestial bodies and earthly misdeeds. While the thought of a distant, icy orb like Neptune having anything to do with criminal activity may sound like a far-fetched science fiction plot, our findings suggest that there might just be some fire where there was only supposed to be ice.

At first glance, one might envision astronomers gazing heavenward with telescopes while law enforcement officers pore over crime reports – two worlds that seem to exist light-years apart. Little did we suspect that these seemingly disparate domains might share a fiery connection. As we embark on this celestial caper, we hope to set ablaze the scientific imagination with this intersection of astronomy and criminology.

The pursuit of knowledge often leads us down unexpected paths, much like a comet hurtling through the cosmos. In this instance, we chart a course through the vast expanse of data, navigating the celestial data points and criminal occurrences like intrepid astronauts in search of truth. Our journey takes us to the rings of statistics, where we seek to unveil the hidden patterns and underlying mechanisms that might fuel the surprising correlation between the cold, distant Neptune and the incendiary acts of arson in the state of Oklahoma.

This investigation, conducted with the diligence of a planetary scientist and the tenacity of a detective, promises to spark a blaze of intrigue. So, ready your scientific instruments, don your detective hat, and join us as we embark on this thrilling quest to uncover the cosmic ties that bind us, and the unexpected flames they may ignite in the world below.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As we delve into the realms of scientific inquiry, one often encounters unexpected correlations and interconnections that leave us scratching our heads in bewilderment. This paper, "Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma," delves into such an enigmatic relationship between celestial bodies and earthly misdeeds. While the thought of a distant, icy orb like Neptune having anything to do with criminal activity may sound like a far-fetched science fiction plot, our findings suggest that there might just be some fire where there was only supposed to be ice.
At first glance, one might envision astronomers gazing heavenward with telescopes while law enforcement officers pore over crime reports – two worlds that seem to exist light-years apart. Little did we suspect that these seemingly disparate domains might share a fiery connection. As we embark on this celestial caper, we hope to set ablaze the scientific imagination with this intersection of astronomy and criminology.
The pursuit of knowledge often leads us down unexpected paths, much like a comet hurtling through the cosmos. In this instance, we chart a course through the vast expanse of data, navigating the celestial data points and criminal occurrences like intrepid astronauts in search of truth. Our journey takes us to the rings of statistics, where we seek to unveil the hidden patterns and underlying mechanisms that might fuel the surprising correlation between the cold, distant Neptune and the incendiary acts of arson in the state of Oklahoma.
This investigation, conducted with the diligence of a planetary scientist and the tenacity of a detective, promises to spark a blaze of intrigue. So, ready your scientific instruments, don your detective hat, and join us as we embark on this thrilling quest to uncover the cosmic ties that bind us, and the unexpected flames they may ignite in the world below.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The study of celestial bodies and their potential influence on human behavior has sparked considerable interest among scholars in recent decades. As we examine the connection between the distance of Neptune from the Sun and the occurrence of arson in Oklahoma, it is imperative to consider the existing literature and empirical research in this domain. Smith (2005) first proposed the notion of planetary positions influencing human activity in his seminal work, "Planetary Dynamics and Human Behavior," suggesting a possible correlation between astronomical phenomena and earthly events.

Building upon this foundation, Doe (2010) further explored the potential impact of planetary positions on criminal behavior in "Astrological Aspects and Criminal Tendencies," shedding light on the astrological aspects that may be associated with impulsive actions. Additionally, Jones (2017) delved into the psychological effects of celestial events in "Stellar Influences on Human Behavior," emphasizing the need to investigate the interplay between cosmic occurrences and human actions with empirical data.

Turning to non-fiction books that may offer insights into this celestial-criminal nexus, "Cosmos" by Carl Sagan and "A Brief History of Time" by Stephen Hawking provide broader perspectives on the cosmic order, introducing readers to the captivating world of astrophysics and cosmology. Furthermore, fictional works such as "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "Neptune's Brood" by Charles Stross, although not directly related to our topic, offer imaginative journeys through space that capture the essence of celestial exploration.

In a more unconventional approach to the literature review process, the researchers stumbled upon an intriguing source of information – CVS receipts. While purchasing ink cartridges and potato chips, it became apparent that the length of Neptune's orbit appeared to correspond with the number of promotional offers received. Although seemingly unrelated to the topic at hand, this serendipitous discovery underscores the unpredictability of knowledge acquisition and the unexpected sources from which valuable insights may emerge.

As we sift through the literature, it becomes apparent that the relationship between the distance of Neptune from the Sun and arson in Oklahoma is an uncharted territory, teetering between the realms of scientific inquiry and imaginative speculation. With such a diverse array of sources and unconventional findings, the literature on this peculiar correlation beckons further exploration and invites scholarly scrutiny, promising to enlighten and entertain in equal measure.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 Caclculated using Astropy and FBI Criminal Justice Information Services . You used data from 1985 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

[[INTRODUCTION]]
As we delve into the realms of scientific inquiry, one often encounters unexpected correlations and interconnections that leave us scratching our heads in bewilderment. This paper, "Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma," delves into such an enigmatic relationship between celestial bodies and earthly misdeeds. While the thought of a distant, icy orb like Neptune having anything to do with criminal activity may sound like a far-fetched science fiction plot, our findings suggest that there might just be some fire where there was only supposed to be ice.
At first glance, one might envision astronomers gazing heavenward with telescopes while law enforcement officers pore over crime reports – two worlds that seem to exist light-years apart. Little did we suspect that these seemingly disparate domains might share a fiery connection. As we embark on this celestial caper, we hope to set ablaze the scientific imagination with this intersection of astronomy and criminology.
The pursuit of knowledge often leads us down unexpected paths, much like a comet hurtling through the cosmos. In this instance, we chart a course through the vast expanse of data, navigating the celestial data points and criminal occurrences like intrepid astronauts in search of truth. Our journey takes us to the rings of statistics, where we seek to unveil the hidden patterns and underlying mechanisms that might fuel the surprising correlation between the cold, distant Neptune and the incendiary acts of arson in the state of Oklahoma.
This investigation, conducted with the diligence of a planetary scientist and the tenacity of a detective, promises to spark a blaze of intrigue. So, ready your scientific instruments, don your detective hat, and join us as we embark on this thrilling quest to uncover the cosmic ties that bind us, and the unexpected flames they may ignite in the world below.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the mysterious connection between the distance of Neptune from the Sun and the occurrence of arson in Oklahoma, our research team embarked on a scientific adventure reminiscent of a cosmic detective story. We gathered our astrological magnifying glass and statistical telescopes to peer into the depths of the universe and the annals of criminal activity.

Data Collection:
Our data collection process resembled a celestial scavenger hunt, as we scoured the virtual cosmos for relevant information. Utilizing the data from Astropy, we meticulously tracked the distance between Neptune and the Sun from 1985 to 2022. Meanwhile, the FBI Criminal Justice Information Services provided the necessary atmospheric heat in the form of arson records in the state of Oklahoma during the same time frame. We obtained a wealth of information, although, sadly, no treasure maps or galactic coordinates were uncovered in the process.

Data Analysis:
Like astronomers meticulously studying the movement of celestial bodies, we employed statistical tools to analyze the data. The correlation coefficient, resembling the gravitational pull between two stellar objects, was calculated to quantify the relationship between the distance of Neptune from the Sun and the frequency of arson in Oklahoma. Moreover, the p-value acted as our compass, guiding us through the maze of statistical significance. Ensuring the accuracy of our findings, we carefully calibrated our statistical instruments to harmonize with the astronomical vibrations of the cosmos.

Control Variables:
In our investigation, we accounted for several control variables, aiming to exclude the influence of extraneous factors. Variables such as temperature, precipitation, and planetary alignments (other than the distance of Neptune from the Sun) were carefully controlled for, ensuring that our findings remained focused on the specific celestial influence, as opposed to a cosmic case of mistaken identity.

Modeling the Relationship:
To model the relationship between the distant ice giant and the incendiary acts on Earth, we resorted to a variety of statistical techniques. From regression analysis to time series modeling, we navigated through the starry expanse of statistical methods, seeking to illuminate the celestial threads woven into the fabric of criminal activities.

Sensitivity Analysis:
Just as a weather satellite diligently monitors atmospheric changes, we conducted sensitivity analyses to assess the robustness of our findings. This provided insights into the stability of the relationship between planetary positions and arson occurrences, allowing us to distinguish between statistical sparkles and true flaming correlations.

Ethical Considerations:
In our pursuit of cosmic knowledge, we remained mindful of the ethical implications of our research. Ensuring the confidentiality of arson records and respecting the planetary privacy of Neptune, we conducted our research with the integrity deserving of both the heavenly bodies and earthly matters.

In conclusion, our methodology captured the spirit of interstellar investigation and cosmic inquiry, bridging the gap between the distant reaches of the universe and the fiery occurrences on our home planet. This approach laid the groundwork for uncovering the tantalizing correlation that set our scientific quest ablaze.


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

Please make up the results section of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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 Caclculated using Astropy and FBI Criminal Justice Information Services .

For the time period 1985 to 2022, you found a correlation 0.9549666, r-squared of 0.9119611, 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As we delve into the realms of scientific inquiry, one often encounters unexpected correlations and interconnections that leave us scratching our heads in bewilderment. This paper, "Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma," delves into such an enigmatic relationship between celestial bodies and earthly misdeeds. While the thought of a distant, icy orb like Neptune having anything to do with criminal activity may sound like a far-fetched science fiction plot, our findings suggest that there might just be some fire where there was only supposed to be ice.
At first glance, one might envision astronomers gazing heavenward with telescopes while law enforcement officers pore over crime reports – two worlds that seem to exist light-years apart. Little did we suspect that these seemingly disparate domains might share a fiery connection. As we embark on this celestial caper, we hope to set ablaze the scientific imagination with this intersection of astronomy and criminology.
The pursuit of knowledge often leads us down unexpected paths, much like a comet hurtling through the cosmos. In this instance, we chart a course through the vast expanse of data, navigating the celestial data points and criminal occurrences like intrepid astronauts in search of truth. Our journey takes us to the rings of statistics, where we seek to unveil the hidden patterns and underlying mechanisms that might fuel the surprising correlation between the cold, distant Neptune and the incendiary acts of arson in the state of Oklahoma.
This investigation, conducted with the diligence of a planetary scientist and the tenacity of a detective, promises to spark a blaze of intrigue. So, ready your scientific instruments, don your detective hat, and join us as we embark on this thrilling quest to uncover the cosmic ties that bind us, and the unexpected flames they may ignite in the world below.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

In our quest to illuminate the mysterious relationship between the distance of Neptune from the Sun and arson in Oklahoma, our data analysis sparked a revelation hotter than the sun itself. The calculated correlation coefficient of 0.9549666, r-squared of 0.9119611, and a p-value of less than 0.01 set the scientific community ablaze with curiosity. These scorching statistics indicate a strong and significant relationship between the celestial position of Neptune and the occurrence of arson in the great state of Oklahoma.

In Fig. 1, our captivating scatterplot illustrates the compelling correlation, visually demonstrating the convergence of these seemingly unrelated variables. The fiery connection between the distance of Neptune from the Sun and instances of arson in Oklahoma is unmistakably apparent, igniting a fervor of interest in the cosmic forces at play in our earthly affairs.

Our findings kindle an inferno of inquiry into the potential influence of planetary positions on human behavior, challenging conventional scientific boundaries and sparking an incendiary discourse on the interconnectedness of celestial mechanics and human actions. The blazing implications of our results fuel a call for further investigation into the celestial forces that may kindle the flames of human activity on a local scale.

In the scintillating light of these findings, let us stoke the flames of scientific exploration and venture further into the depths of this celestial conundrum. As we corroborate our results with additional data and kindle the embers of discussion, the heat of curiosity continues to rise, leaving us to wonder what other sizzling connections await discovery in the vast cosmos of research.

This scorching revelation shines a celestial spotlight on the intertwined dance of the celestial and the terrestrial, urging us to embrace the warmth of unexpected correlations and the fiery pursuit of knowledge.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

[[LITERATURE REVIEW]]
The study of celestial bodies and their potential influence on human behavior has sparked considerable interest among scholars in recent decades. As we examine the connection between the distance of Neptune from the Sun and the occurrence of arson in Oklahoma, it is imperative to consider the existing literature and empirical research in this domain. Smith (2005) first proposed the notion of planetary positions influencing human activity in his seminal work, "Planetary Dynamics and Human Behavior," suggesting a possible correlation between astronomical phenomena and earthly events.
Building upon this foundation, Doe (2010) further explored the potential impact of planetary positions on criminal behavior in "Astrological Aspects and Criminal Tendencies," shedding light on the astrological aspects that may be associated with impulsive actions. Additionally, Jones (2017) delved into the psychological effects of celestial events in "Stellar Influences on Human Behavior," emphasizing the need to investigate the interplay between cosmic occurrences and human actions with empirical data.
Turning to non-fiction books that may offer insights into this celestial-criminal nexus, "Cosmos" by Carl Sagan and "A Brief History of Time" by Stephen Hawking provide broader perspectives on the cosmic order, introducing readers to the captivating world of astrophysics and cosmology. Furthermore, fictional works such as "The Hitchhiker's Guide to the Galaxy" by Douglas Adams and "Neptune's Brood" by Charles Stross, although not directly related to our topic, offer imaginative journeys through space that capture the essence of celestial exploration.
In a more unconventional approach to the literature review process, the researchers stumbled upon an intriguing source of information – CVS receipts. While purchasing ink cartridges and potato chips, it became apparent that the length of Neptune's orbit appeared to correspond with the number of promotional offers received. Although seemingly unrelated to the topic at hand, this serendipitous discovery underscores the unpredictability of knowledge acquisition and the unexpected sources from which valuable insights may emerge.
As we sift through the literature, it becomes apparent that the relationship between the distance of Neptune from the Sun and arson in Oklahoma is an uncharted territory, teetering between the realms of scientific inquiry and imaginative speculation. With such a diverse array of sources and unconventional findings, the literature on this peculiar correlation beckons further exploration and invites scholarly scrutiny, promising to enlighten and entertain in equal measure.

[[RESULTS]]
In our quest to illuminate the mysterious relationship between the distance of Neptune from the Sun and arson in Oklahoma, our data analysis sparked a revelation hotter than the sun itself. The calculated correlation coefficient of 0.9549666, r-squared of 0.9119611, and a p-value of less than 0.01 set the scientific community ablaze with curiosity. These scorching statistics indicate a strong and significant relationship between the celestial position of Neptune and the occurrence of arson in the great state of Oklahoma.
In Fig. 1, our captivating scatterplot illustrates the compelling correlation, visually demonstrating the convergence of these seemingly unrelated variables. The fiery connection between the distance of Neptune from the Sun and instances of arson in Oklahoma is unmistakably apparent, igniting a fervor of interest in the cosmic forces at play in our earthly affairs.
Our findings kindle an inferno of inquiry into the potential influence of planetary positions on human behavior, challenging conventional scientific boundaries and sparking an incendiary discourse on the interconnectedness of celestial mechanics and human actions. The blazing implications of our results fuel a call for further investigation into the celestial forces that may kindle the flames of human activity on a local scale.
In the scintillating light of these findings, let us stoke the flames of scientific exploration and venture further into the depths of this celestial conundrum. As we corroborate our results with additional data and kindle the embers of discussion, the heat of curiosity continues to rise, leaving us to wonder what other sizzling connections await discovery in the vast cosmos of research.
This scorching revelation shines a celestial spotlight on the intertwined dance of the celestial and the terrestrial, urging us to embrace the warmth of unexpected correlations and the fiery pursuit of knowledge.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The scorching findings of our study have set the scientific community ablaze with discussions and sparked myriad fiery puns aplenty. Our results not only heat up the debate but also serve as a glowing testament to the astronomical influence on human behavior. The celestial sphere, once thought to be too distant to spark any connection, has ignited a flaming curiosity among researchers. Our scorching correlation coefficient and the p-value lower than a freezing point attest to the robustness of our findings and lend fire to the argument for a potential celestial influence on earthly phenomena.

Building upon the smoldering literature, our results align with the theoretical frameworks proposed by Smith (2005), Doe (2010), and Jones (2017), fueling the flames of their earlier suggestions. The lingering question of whether planetary positions play a hand in human behavior has found kindling in our study, adding fuel to the fire and bolstering the astronomical-criminal nexus. While the CVS receipt's serendipitous link to Neptune's orbit may appear to be a mere flash in the pan, it underscores the unpredictable nature of knowledge acquisition and reignites the flame of inquiry into unconventional sources' contributions to scientific understanding.

As we fan the flames of scientific inquiry, it becomes evident that the enigmatic dance between Neptune's distance from the Sun and arson in Oklahoma transcends mere curious speculation. Our results kindle the conversation on the interconnectedness of cosmic occurrences and human actions, shedding a radiant light on the need for further exploration into the potent influence of celestial mechanics on earthly events. The visual allure of our scorching scatterplot fans the flames of intrigue, inspiring us to blaze a trail through uncharted territories of celestial research and ignite the fires of captivating discovery.

In fanning the flames of curiosity, we remind the scientific community not to extinguish the fire of this celestial conundrum but rather to embrace the warmth of unexpected correlations. The burning implications of our study underscore the need for more rigorous investigation into the sun's distant sibling, Neptune, and its role in shaping the fiery phenomena on our very own Earth. Therefore, let us stoke the embers of discussion and venture forth into the heat of further research, ever eager to unravel the fiery secrets that the cosmos holds.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The distance between Neptune and the Sun and Arson in Oklahoma. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, 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]]
"Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma"

[[ABSTRACT]]
This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

[[INTRDUCTION]]
As we delve into the realms of scientific inquiry, one often encounters unexpected correlations and interconnections that leave us scratching our heads in bewilderment. This paper, "Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma," delves into such an enigmatic relationship between celestial bodies and earthly misdeeds. While the thought of a distant, icy orb like Neptune having anything to do with criminal activity may sound like a far-fetched science fiction plot, our findings suggest that there might just be some fire where there was only supposed to be ice.
At first glance, one might envision astronomers gazing heavenward with telescopes while law enforcement officers pore over crime reports – two worlds that seem to exist light-years apart. Little did we suspect that these seemingly disparate domains might share a fiery connection. As we embark on this celestial caper, we hope to set ablaze the scientific imagination with this intersection of astronomy and criminology.
The pursuit of knowledge often leads us down unexpected paths, much like a comet hurtling through the cosmos. In this instance, we chart a course through the vast expanse of data, navigating the celestial data points and criminal occurrences like intrepid astronauts in search of truth. Our journey takes us to the rings of statistics, where we seek to unveil the hidden patterns and underlying mechanisms that might fuel the surprising correlation between the cold, distant Neptune and the incendiary acts of arson in the state of Oklahoma.
This investigation, conducted with the diligence of a planetary scientist and the tenacity of a detective, promises to spark a blaze of intrigue. So, ready your scientific instruments, don your detective hat, and join us as we embark on this thrilling quest to uncover the cosmic ties that bind us, and the unexpected flames they may ignite in the world below.

[[RESULTS]]
In our quest to illuminate the mysterious relationship between the distance of Neptune from the Sun and arson in Oklahoma, our data analysis sparked a revelation hotter than the sun itself. The calculated correlation coefficient of 0.9549666, r-squared of 0.9119611, and a p-value of less than 0.01 set the scientific community ablaze with curiosity. These scorching statistics indicate a strong and significant relationship between the celestial position of Neptune and the occurrence of arson in the great state of Oklahoma.
In Fig. 1, our captivating scatterplot illustrates the compelling correlation, visually demonstrating the convergence of these seemingly unrelated variables. The fiery connection between the distance of Neptune from the Sun and instances of arson in Oklahoma is unmistakably apparent, igniting a fervor of interest in the cosmic forces at play in our earthly affairs.
Our findings kindle an inferno of inquiry into the potential influence of planetary positions on human behavior, challenging conventional scientific boundaries and sparking an incendiary discourse on the interconnectedness of celestial mechanics and human actions. The blazing implications of our results fuel a call for further investigation into the celestial forces that may kindle the flames of human activity on a local scale.
In the scintillating light of these findings, let us stoke the flames of scientific exploration and venture further into the depths of this celestial conundrum. As we corroborate our results with additional data and kindle the embers of discussion, the heat of curiosity continues to rise, leaving us to wonder what other sizzling connections await discovery in the vast cosmos of research.
This scorching revelation shines a celestial spotlight on the intertwined dance of the celestial and the terrestrial, urging us to embrace the warmth of unexpected correlations and the fiery pursuit of knowledge.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

As we bring this research to a close, we find ourselves in the heat of the discussion regarding the smoldering relationship between the distance of Neptune from the Sun and the occurrence of arson in Oklahoma. Our findings have set the scientific community ablaze, sparking a wildfire of curiosity and igniting a passionate debate on the interplay between cosmic forces and terrestrial misconduct.

The scorching correlation coefficient of 0.9549666 and the p-value of less than 0.01 certainly kindle a fiery discussion, shedding light on the potential influence of celestial mechanics on human behavior. It appears that the icy demeanor of Neptune may not be as chilling as previously thought, as it seems to stoke the flames of arson in the great state of Oklahoma. Furthermore, the r-squared value of 0.9119611 illustrates the extent of this infernal connection, leaving little room for doubt about the magnitude of the relationship.

While the cosmic and criminal realms may seem as distant as, well, Neptune, our research has demonstrated that they share a fiery connection that cannot be extinguished. This investigation, conducted with the fervor of a solar flare and the precision of a telescope, invites further exploration into the celestial forces that may stoke the flames of human activity on a local scale.

As our findings take center stage in the celestial theater of research, we emphasize the need to stoke the flames of scientific exploration in other areas as well. However, we assert that further research in this specific area may not be needed, as our study has surely burned bright enough to illuminate the enigmatic link between the icy grip of Neptune and the fiery fervor of arson in Oklahoma. So, let's not throw shade on these scorching results and bask in the warmth of a well-ignited discussion, for the cosmos has once again revealed its incendiary secrets.



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 Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Extraplanetary Arson Studies


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 Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma. Respond only with the name of a fictional organization.

ChatGPT:

The Stellar Arson Investigation Society


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 Blazing the Way: The Combustible Correlation between the Distance of Neptune from the Sun and Arson in Oklahoma with an abstract of This research paper explores the fiery connection between the distance of Neptune from the Sun and the occurrence of arson in the state of Oklahoma. While this topic may initially seem as distant and as cold as Neptune itself, our findings reveal a sizzling revelation. Utilizing data from Astropy and the FBI Criminal Justice Information Services, we examined the period from 1985 to 2022, and the results are truly hot! We discovered a scorching correlation coefficient of 0.9549666 and a p-value of less than 0.01, prompting a flame of curiosity in the scientific community. Our study sheds light on the possibility of celestial forces influencing human behavior and ignites a fiery discussion on the interconnectedness of the cosmos and Earthly phenomena. So, let's not extinguish the flame of knowledge – further exploration is needed to fully grasp the burning relationship between planetary positions and human actions.

ChatGPT:

Neptune distance from Sun, arson Oklahoma, celestial influence on human behavior, correlation coefficient, Astropy data, FBI Criminal Justice Information Services, planetary positions, Earthly phenomena

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The distance between Neptune and the Sun
Detailed data title: The average distance between Neptune and the Sun as measured on the first day of each month
Source: Caclculated using Astropy
Additional Info: I wrote a Python script using Astropy to calculate the distance between the named planets on the first day of each month for every year.

See what else correlates with The distance between Neptune and the Sun

Arson in Oklahoma
Detailed data title: The arson rate per 100,000 residents in Oklahoma
Source: FBI Criminal Justice Information Services
See what else correlates with Arson in Oklahoma

Correlation r = 0.9549666 (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.9119611 (Coefficient of determination)
This means 91.2% of the change in the one variable (i.e., Arson in Oklahoma) is predictable based on the change in the other (i.e., The distance between Neptune and the Sun) over the 38 years from 1985 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.4E-20. 0.0000000000000000000139260527
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 1.4E-18% of random cases. Said differently, if you correlated 71,807,856,938,527,883,264 random variables You don't actually need 71 quintillion 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 37 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 37 because we have two variables measured over a period of 38 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.91, 0.98 ] 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.
19851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
The distance between Neptune and the Sun (Planetary distance (AU))30.253530.244530.234730.224830.215230.206430.198530.191230.184430.177430.169830.16130.150930.139630.127330.114730.102430.090830.080330.07130.062730.05530.047330.039130.030130.0230.009129.997629.986129.975129.965229.956529.949129.942729.936929.93129.924629.9174
Arson in Oklahoma (Arson rate)47.667.956.854.256.651.251.743.344.846.146.551.740.138.939.437.232.533.634.733.134.2343034.624.727.526.725.221.620.719.219.918.719.919.522.721.219.3




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. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.
  5. Outlandish outliers: There are "outliers" in this data. In concept, "outlier" just means "way different than the rest of your dataset." When calculating a correlation like this, they are particularly impactful because a single outlier can substantially increase your correlation.

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

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([30.2535,30.2445,30.2347,30.2248,30.2152,30.2064,30.1985,30.1912,30.1844,30.1774,30.1698,30.161,30.1509,30.1396,30.1273,30.1147,30.1024,30.0908,30.0803,30.071,30.0627,30.055,30.0473,30.0391,30.0301,30.02,30.0091,29.9976,29.9861,29.9751,29.9652,29.9565,29.9491,29.9427,29.9369,29.931,29.9246,29.9174,])
array_2 = np.array([47.6,67.9,56.8,54.2,56.6,51.2,51.7,43.3,44.8,46.1,46.5,51.7,40.1,38.9,39.4,37.2,32.5,33.6,34.7,33.1,34.2,34,30,34.6,24.7,27.5,26.7,25.2,21.6,20.7,19.2,19.9,18.7,19.9,19.5,22.7,21.2,19.3,])
array_1_name = "The distance between Neptune and the Sun"
array_2_name = "Arson in Oklahoma"

# 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: 3040 · Black Variable ID: 1932 · Red Variable ID: 20065
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0