about · email me · subscribe
Spurious correlation #3,111 · 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 Burglaries in Indiana.  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

As Neptune moved closer to the Sun, its gravitational pull weakened, which in turn disrupted the spacetime fabric around Indiana. This created a temporary reality distortion field, making the idea of committing a burglary in Indiana seem as preposterous as a pineapple topping on a pizza. The potential burglars found themselves inexplicably drawn to more industrious pursuits, like competitive cheese sculpting or synchronized lawnmower dancing. As the cosmic conundrum unfolded, the baffled authorities could only attribute the unprecedented drop in burglary rates to the astronomical anomaly, leading to a statewide campaign with the slogan, "Say no to crime, unless you've mastered quantum physics."

Model: dalle-3
Prompt: An image that looks like it is a scene from a Disney movie: At the edge of the solar system, Neptune glides closer to the Sun, its icy blue surface shimmering in the distant light. Meanwhile, in the state of Indiana, would-be burglars pause in their tracks, deterred by the mysterious influence of Neptune. Off in the night, their plans fade like distant echoes, unable to breach the protective barrier cast by the cosmic dance of planets. Enhance the visual depiction by adding elements such as a glowing, ethereal Neptune in the night sky above the burglars, casting a protective glow over the scene. The icy blue surface of Neptune could shine and glisten, creating an otherworldly and magical atmosphere. The burglars, frozen in hesitation, could be depicted in a classic Disney villain style, evoking a sense of mystery and wonder. 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 Burglaries in Indiana. 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: 3D Pixar Style Minimalism Celtic art An image that looks like it is a scene from A Disney Movie Charcoal
ChatGPT: An image that looks like it is a scene from A Disney Movie

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 Burglaries in Indiana, in the following situation: As Neptune got closer, it "stole" some of the Sun's gravitational pull, which kept potential burglars at bay. Their "crimes Neptune'd" before they even started!. Keep the description simple.
ChatGPT: At the edge of the solar system, Neptune glides closer to the Sun, its icy blue surface shimmering in the distant light. Meanwhile, in the state of Indiana, would-be burglars pause in their tracks, deterred by the mysterious influence of Neptune. Off in the night, their plans fade like distant echoes, unable to breach the protective barrier cast by the cosmic dance of planets.

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: [ An image that looks like it is a scene from A Disney Movie ] and depicting this scene: At the edge of the solar system, Neptune glides closer to the Sun, its icy blue surface shimmering in the distant light. Meanwhile, in the state of Indiana, would-be burglars pause in their tracks, deterred by the mysterious influence of Neptune. Off in the night, their plans fade like distant echoes, unable to breach the protective barrier cast by the cosmic dance of planets. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An image that looks like it is a scene from a Disney movie: At the edge of the solar system, Neptune glides closer to the Sun, its icy blue surface shimmering in the distant light. Meanwhile, in the state of Indiana, would-be burglars pause in their tracks, deterred by the mysterious influence of Neptune. Off in the night, their plans fade like distant echoes, unable to breach the protective barrier cast by the cosmic dance of planets. Enhance the visual depiction by adding elements such as a glowing, ethereal Neptune in the night sky above the burglars, casting a protective glow over the scene. The icy blue surface of Neptune could shine and glisten, creating an otherworldly and magical atmosphere. The burglars, frozen in hesitation, could be depicted in a classic Disney villain style, evoking a sense of mystery and wonder.

*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 Burglaries in Indiana to decrease.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana

The Interdisciplinary Journal of Celestial Criminology

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 witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, make it sound serious.

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.8873074 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]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Crime and celestial bodies - a seemingly disparate pair brought together in a gravitational study that aims to uncover potential cosmic influences on criminal behavior. While it may sound far-fetched, the idea of planetary proximity playing a role in criminal activity is not entirely out of this world. In fact, the gravitational pull of Neptune, the farthest and most mysterious planet in our solar system, may have a closer connection to earthly crimes than previously imagined.

The notion that the distance between Neptune and the Sun could have an impact on criminal activities may initially appear as implausible as finding diamonds on Uranus. However, with the advancements in statistical analysis and the availability of data culled from sources such as Astropy and the FBI Criminal Justice Information Services, we are uniquely positioned to explore the potential relationship between cosmic phenomena and criminal acts.

Past research has delved into various factors influencing crime, from socioeconomic conditions to environmental stimuli, but very few have ventured to investigate the potential influence of planetary positions on criminal behavior. As such, this study aims to fill that void by examining the correlation between the distance of Neptune from the Sun and burglary rates in the state of Indiana.

Lurking beneath the surface of our seemingly mundane and routine existence, there may be an unseen force at play, hiding behind the interstellar curtains. Our findings may just shine a light on this cosmic connection to earthly crimes and provide a fresh perspective on the forces that drive criminal behavior. So, let us embark on this celestial journey, armed with data and statistics, to debunk or perhaps confirm the notion that Neptune's influence extends far beyond the boundaries of our solar system and into the realm of criminal activities.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. 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]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Crime and celestial bodies - a seemingly disparate pair brought together in a gravitational study that aims to uncover potential cosmic influences on criminal behavior. While it may sound far-fetched, the idea of planetary proximity playing a role in criminal activity is not entirely out of this world. In fact, the gravitational pull of Neptune, the farthest and most mysterious planet in our solar system, may have a closer connection to earthly crimes than previously imagined.
The notion that the distance between Neptune and the Sun could have an impact on criminal activities may initially appear as implausible as finding diamonds on Uranus. However, with the advancements in statistical analysis and the availability of data culled from sources such as Astropy and the FBI Criminal Justice Information Services, we are uniquely positioned to explore the potential relationship between cosmic phenomena and criminal acts.
Past research has delved into various factors influencing crime, from socioeconomic conditions to environmental stimuli, but very few have ventured to investigate the potential influence of planetary positions on criminal behavior. As such, this study aims to fill that void by examining the correlation between the distance of Neptune from the Sun and burglary rates in the state of Indiana.
Lurking beneath the surface of our seemingly mundane and routine existence, there may be an unseen force at play, hiding behind the interstellar curtains. Our findings may just shine a light on this cosmic connection to earthly crimes and provide a fresh perspective on the forces that drive criminal behavior. So, let us embark on this celestial journey, armed with data and statistics, to debunk or perhaps confirm the notion that Neptune's influence extends far beyond the boundaries of our solar system and into the realm of criminal activities.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their groundbreaking study, Smith and Doe (2010) examine the potential correlation between planetary positions and criminal activity, focusing on the relationship between Mars' retrograde motion and the occurrence of violent crimes. Their findings reveal a suggestive link, sparking a cosmic curiosity that extends beyond Mars to other celestial bodies. However, few studies have dared to venture into the outer reaches of our solar system, where the enigmatic Neptune exerts its gravitational influence. This paper aims to bridge that gap by investigating the connection between the distance of Neptune from the Sun and burglary rates in the state of Indiana.

In "Cosmic Crime: A Celestial Investigation into Criminal Behavior" by Jones (2015), the author delves into the uncharted territory of planetary influences on criminal activities, proposing a theoretical framework that extends the scope of criminology beyond earthly confines. However, Jones' work lays the groundwork for further exploration, leaving a nebulous space for researchers to navigate.

Moving beyond the usual suspects in academia, we draw inspiration from a diverse range of literature. Books such as "Astrology and Crime: Unveiling the Cosmic Culprits" by Starry McStarface (2018) and "The Astrological Almanac of Mischief and Mayhem" by Luna Lovegood (2007) offer unconventional perspectives on the intersection of cosmic phenomena and human behavior. These texts instill a sense of wonder and curiosity, reminding us that the cosmic ballet may have more impact on earthly affairs than previously presumed.

Venturing into the realm of fiction, the works of Isaac Asimov and Arthur C. Clarke, such as "Neptune's Nemesis: A Cosmic Crime Thriller" and "Solar System Sleuths: Mysteries of Planetary Proximity," blur the boundaries between science and speculation, challenging us to contemplate the unforeseen forces at play in the cosmic theater.

This study also drew inspiration from popular culture, immersing in TV shows such as "Cosmic Criminal Minds" and "Neptune Mysteries: Planetary Perplexities," which, while entertaining, provided anecdotal insights into the mysterious ways in which celestial bodies may intertwine with human affairs.

As we navigate the cosmic landscape of literature and media, it becomes evident that the interplay between celestial bodies and criminal behavior has captured the imagination of many, sparking curiosity and speculation that transcends the boundaries of traditional scientific inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from 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]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

[[INTRODUCTION]]
Crime and celestial bodies - a seemingly disparate pair brought together in a gravitational study that aims to uncover potential cosmic influences on criminal behavior. While it may sound far-fetched, the idea of planetary proximity playing a role in criminal activity is not entirely out of this world. In fact, the gravitational pull of Neptune, the farthest and most mysterious planet in our solar system, may have a closer connection to earthly crimes than previously imagined.
The notion that the distance between Neptune and the Sun could have an impact on criminal activities may initially appear as implausible as finding diamonds on Uranus. However, with the advancements in statistical analysis and the availability of data culled from sources such as Astropy and the FBI Criminal Justice Information Services, we are uniquely positioned to explore the potential relationship between cosmic phenomena and criminal acts.
Past research has delved into various factors influencing crime, from socioeconomic conditions to environmental stimuli, but very few have ventured to investigate the potential influence of planetary positions on criminal behavior. As such, this study aims to fill that void by examining the correlation between the distance of Neptune from the Sun and burglary rates in the state of Indiana.
Lurking beneath the surface of our seemingly mundane and routine existence, there may be an unseen force at play, hiding behind the interstellar curtains. Our findings may just shine a light on this cosmic connection to earthly crimes and provide a fresh perspective on the forces that drive criminal behavior. So, let us embark on this celestial journey, armed with data and statistics, to debunk or perhaps confirm the notion that Neptune's influence extends far beyond the boundaries of our solar system and into the realm of criminal activities.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To establish a comprehensive understanding of the potential relationship between Neptune's distance from the sun and burglary rates in Indiana, a rigorous methodology was employed. Data for the distance between Neptune and the Sun was obtained from trusted sources, such as the Jet Propulsion Laboratory's HORIZONS system. This system provided precise and reliable information on Neptune's heliocentric distance over the period from 1985 to 2022. Given the astronomical nature of our independent variable, it was paramount to ensure that the data collected was both accurate and cosmic in scope.

The burglary rates in Indiana, our dependent variable, were sourced from the FBI Criminal Justice Information Services. These figures were meticulously compiled and validated, ensuring that they were a true reflection of criminal activity in the state. Despite the light years between the Bureau's headquarters and Neptune's orbit, we are confident that the integrity of the data remains intact.

With our celestial and criminal data in hand, the statistical analysis commenced. A Pearson correlation coefficient was employed to quantify the strength and direction of the relationship between Neptune's distance from the Sun and burglary rates in Indiana. The use of this statistical measure was deemed appropriate, given its ability to capture both linear and, who knows, perhaps even elliptical relationships between variables. The analysis was conducted using the Astropy library in Python, which, much like Neptune itself, has a gravitational pull that keeps researchers coming back for more.

In addition to the correlation coefficient, a two-tailed t-test was conducted to assess the statistical significance of the observed relationship. With a sample spanning several decades, our analysis aimed to discount any potential cosmic coincidences and instead focus on identifying a true gravitational connection – statistical, of course.

Finally, a series of robustness checks were performed to ensure the veracity of our findings. Sensitivity analyses, including a thorough exploration of alternative model specifications and various sub-period analyses, were undertaken to examine the stability of our results. It was imperative to confirm that our conclusions were not mere flashes in the astronomical pan, but rather held true across different time periods and model specifications.

Through this comprehensive methodology, we endeavored to shed light on the potential influence of planetary distances, more specifically Neptune's, on the commission of burglaries in Indiana. This study contributes not only to the field of criminology but also to the cosmos, offering a fascinating perspective on the interconnectedness of our celestial neighborhood and earthly activities.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Caclculated using Astropy and FBI Criminal Justice Information Services .

For the time period 1985 to 2022, you found a correlation 0.8873074, r-squared of 0.7873143, 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]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Crime and celestial bodies - a seemingly disparate pair brought together in a gravitational study that aims to uncover potential cosmic influences on criminal behavior. While it may sound far-fetched, the idea of planetary proximity playing a role in criminal activity is not entirely out of this world. In fact, the gravitational pull of Neptune, the farthest and most mysterious planet in our solar system, may have a closer connection to earthly crimes than previously imagined.
The notion that the distance between Neptune and the Sun could have an impact on criminal activities may initially appear as implausible as finding diamonds on Uranus. However, with the advancements in statistical analysis and the availability of data culled from sources such as Astropy and the FBI Criminal Justice Information Services, we are uniquely positioned to explore the potential relationship between cosmic phenomena and criminal acts.
Past research has delved into various factors influencing crime, from socioeconomic conditions to environmental stimuli, but very few have ventured to investigate the potential influence of planetary positions on criminal behavior. As such, this study aims to fill that void by examining the correlation between the distance of Neptune from the Sun and burglary rates in the state of Indiana.
Lurking beneath the surface of our seemingly mundane and routine existence, there may be an unseen force at play, hiding behind the interstellar curtains. Our findings may just shine a light on this cosmic connection to earthly crimes and provide a fresh perspective on the forces that drive criminal behavior. So, let us embark on this celestial journey, armed with data and statistics, to debunk or perhaps confirm the notion that Neptune's influence extends far beyond the boundaries of our solar system and into the realm of criminal activities.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis revealed a strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana for the time period of 1985 to 2022. The correlation coefficient, r, was calculated to be 0.8873074, indicating a robust association between the two variables. This suggests that as the distance between Neptune and the Sun changes, there is a corresponding impact on the incidence of burglaries in Indiana.

The coefficient of determination, denoted as r-squared, was 0.7873143, indicating that approximately 78.7% of the variability in burglary rates in Indiana can be explained by the distance of Neptune from the Sun. This finding underscores the substantial influence of celestial bodies on terrestrial criminal behavior, much like how the gravitational pull of the moon influences ocean tides, except in a slightly less poetic manner.

The statistical significance of the correlation was established with a p-value of less than 0.01, indicating that the likelihood of observing such a strong association by random chance is less than 1%. This further supports the notion that the relationship between Neptune's distance from the Sun and burglary rates in Indiana is not merely a cosmic coincidence but a statistically noteworthy phenomenon.

The results are visually depicted in Figure 1, which showcases a scatterplot illustrating the strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana. The figure not only provides a compelling visual representation of the association but also serves as a reminder that even the most astronomical of phenomena can have down-to-earth implications.

Overall, these findings offer a novel perspective on the potential influence of planetary positions on criminal behavior and raise intriguing questions about the cosmic forces that may shape human actions. While this study does not aim to provide definitive answers, it certainly invites further exploration into the interconnectedness of celestial occurrences and earthly events, prompting us to ponder the celestial constellations of crime and punishment.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

[[LITERATURE REVIEW]]
In their groundbreaking study, Smith and Doe (2010) examine the potential correlation between planetary positions and criminal activity, focusing on the relationship between Mars' retrograde motion and the occurrence of violent crimes. Their findings reveal a suggestive link, sparking a cosmic curiosity that extends beyond Mars to other celestial bodies. However, few studies have dared to venture into the outer reaches of our solar system, where the enigmatic Neptune exerts its gravitational influence. This paper aims to bridge that gap by investigating the connection between the distance of Neptune from the Sun and burglary rates in the state of Indiana.
In "Cosmic Crime: A Celestial Investigation into Criminal Behavior" by Jones (2015), the author delves into the uncharted territory of planetary influences on criminal activities, proposing a theoretical framework that extends the scope of criminology beyond earthly confines. However, Jones' work lays the groundwork for further exploration, leaving a nebulous space for researchers to navigate.
Moving beyond the usual suspects in academia, we draw inspiration from a diverse range of literature. Books such as "Astrology and Crime: Unveiling the Cosmic Culprits" by Starry McStarface (2018) and "The Astrological Almanac of Mischief and Mayhem" by Luna Lovegood (2007) offer unconventional perspectives on the intersection of cosmic phenomena and human behavior. These texts instill a sense of wonder and curiosity, reminding us that the cosmic ballet may have more impact on earthly affairs than previously presumed.
Venturing into the realm of fiction, the works of Isaac Asimov and Arthur C. Clarke, such as "Neptune's Nemesis: A Cosmic Crime Thriller" and "Solar System Sleuths: Mysteries of Planetary Proximity," blur the boundaries between science and speculation, challenging us to contemplate the unforeseen forces at play in the cosmic theater.
This study also drew inspiration from popular culture, immersing in TV shows such as "Cosmic Criminal Minds" and "Neptune Mysteries: Planetary Perplexities," which, while entertaining, provided anecdotal insights into the mysterious ways in which celestial bodies may intertwine with human affairs.
As we navigate the cosmic landscape of literature and media, it becomes evident that the interplay between celestial bodies and criminal behavior has captured the imagination of many, sparking curiosity and speculation that transcends the boundaries of traditional scientific inquiry.

[[RESULTS]]
The data analysis revealed a strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana for the time period of 1985 to 2022. The correlation coefficient, r, was calculated to be 0.8873074, indicating a robust association between the two variables. This suggests that as the distance between Neptune and the Sun changes, there is a corresponding impact on the incidence of burglaries in Indiana.
The coefficient of determination, denoted as r-squared, was 0.7873143, indicating that approximately 78.7% of the variability in burglary rates in Indiana can be explained by the distance of Neptune from the Sun. This finding underscores the substantial influence of celestial bodies on terrestrial criminal behavior, much like how the gravitational pull of the moon influences ocean tides, except in a slightly less poetic manner.
The statistical significance of the correlation was established with a p-value of less than 0.01, indicating that the likelihood of observing such a strong association by random chance is less than 1%. This further supports the notion that the relationship between Neptune's distance from the Sun and burglary rates in Indiana is not merely a cosmic coincidence but a statistically noteworthy phenomenon.
The results are visually depicted in Figure 1, which showcases a scatterplot illustrating the strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana. The figure not only provides a compelling visual representation of the association but also serves as a reminder that even the most astronomical of phenomena can have down-to-earth implications.
Overall, these findings offer a novel perspective on the potential influence of planetary positions on criminal behavior and raise intriguing questions about the cosmic forces that may shape human actions. While this study does not aim to provide definitive answers, it certainly invites further exploration into the interconnectedness of celestial occurrences and earthly events, prompting us to ponder the celestial constellations of crime and punishment.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study traverse the cosmic expanse to unveil a compelling connection between the distance of Neptune from the Sun and burglary rates in the state of Indiana. Our results not only corroborate prior research on planetary influences on human behavior but also elevate the discourse to the outer reaches of our solar system, where Neptune, the enigmatic ice giant, asserts its gravitational sway.

Building on the pioneering work of Smith and Doe (2010), who delved into the notable impact of Mars' retrograde motion on violent crimes, our study expands the cosmic curiosity to encompass Neptune's celestial influence. While Mars may be the god of war, Neptune, with its frosty countenance, appears to exert a subtle yet influential pull on criminal activities. Our results echo the tentative links proposed by Jones (2015), as we venture into the uncharted territory of planetary effects on earthly events, filling the nebulous space left by prior research with empirical evidence.

Surprisingly, our findings align with the speculative theories put forth by Starry McStarface (2018) and Luna Lovegood (2007), who championed unconventional perspectives on the cosmic ballet's entanglement with earthly misdeeds. The statistical significance of our results lends credence to their whimsical yet thought-provoking notions, demonstrating that the cosmic culprits they proposed may not be mere flights of fancy but tangible influencers of human behavior.

Moving from the literary musings to the scientific realm, our study provides empirical support for the enduring fascination that popular culture and fiction have for cosmic influences on criminal behavior. Although "Cosmic Criminal Minds" and "Neptune Mysteries: Planetary Perplexities" may have been presented as entertainment rather than empirical evidence, our findings underscore the persistent allure of celestial intrigue in the public imagination.

The robust correlation coefficient and the high degree of explained variability underscore the substantial impact of Neptune's orbital dynamics on the incidence of burglaries in Indiana. The statistically significant p-value further fortifies the notion that the connection between Neptune's distance from the Sun and burglary rates in Indiana is not a fluke of cosmic chance but a palpable phenomenon worthy of scientific inquiry.

Our study, while rooted in empiricism, invites a cosmic contemplation of the earthly implications of planetary movements. It prompts us to ponder the celestial constellations of crime and punishment, infusing a dose of cosmic whimsy into the typically terrestrial domain of criminological research. The curious reader may find themselves drawn into the gravitational pull of this newfound cosmic perspective, where Neptune's distant dance with the Sun resonates with the earthly ebb and flow of criminal activity. As we gaze upon the stars, we are not only reminded of the vast expanse of the cosmos but also of the cosmic dance that shapes our earthly affairs.


Model: gpt-3.5-turbo-1106
System prompt: You are a witty academic researcher. Your writing sounds like it belongs in a statistics journal.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 Burglaries in Indiana. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana"

[[ABSTRACT]]
This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

[[INTRDUCTION]]
Crime and celestial bodies - a seemingly disparate pair brought together in a gravitational study that aims to uncover potential cosmic influences on criminal behavior. While it may sound far-fetched, the idea of planetary proximity playing a role in criminal activity is not entirely out of this world. In fact, the gravitational pull of Neptune, the farthest and most mysterious planet in our solar system, may have a closer connection to earthly crimes than previously imagined.
The notion that the distance between Neptune and the Sun could have an impact on criminal activities may initially appear as implausible as finding diamonds on Uranus. However, with the advancements in statistical analysis and the availability of data culled from sources such as Astropy and the FBI Criminal Justice Information Services, we are uniquely positioned to explore the potential relationship between cosmic phenomena and criminal acts.
Past research has delved into various factors influencing crime, from socioeconomic conditions to environmental stimuli, but very few have ventured to investigate the potential influence of planetary positions on criminal behavior. As such, this study aims to fill that void by examining the correlation between the distance of Neptune from the Sun and burglary rates in the state of Indiana.
Lurking beneath the surface of our seemingly mundane and routine existence, there may be an unseen force at play, hiding behind the interstellar curtains. Our findings may just shine a light on this cosmic connection to earthly crimes and provide a fresh perspective on the forces that drive criminal behavior. So, let us embark on this celestial journey, armed with data and statistics, to debunk or perhaps confirm the notion that Neptune's influence extends far beyond the boundaries of our solar system and into the realm of criminal activities.

[[RESULTS]]
The data analysis revealed a strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana for the time period of 1985 to 2022. The correlation coefficient, r, was calculated to be 0.8873074, indicating a robust association between the two variables. This suggests that as the distance between Neptune and the Sun changes, there is a corresponding impact on the incidence of burglaries in Indiana.
The coefficient of determination, denoted as r-squared, was 0.7873143, indicating that approximately 78.7% of the variability in burglary rates in Indiana can be explained by the distance of Neptune from the Sun. This finding underscores the substantial influence of celestial bodies on terrestrial criminal behavior, much like how the gravitational pull of the moon influences ocean tides, except in a slightly less poetic manner.
The statistical significance of the correlation was established with a p-value of less than 0.01, indicating that the likelihood of observing such a strong association by random chance is less than 1%. This further supports the notion that the relationship between Neptune's distance from the Sun and burglary rates in Indiana is not merely a cosmic coincidence but a statistically noteworthy phenomenon.
The results are visually depicted in Figure 1, which showcases a scatterplot illustrating the strong positive correlation between the distance of Neptune from the Sun and burglary rates in Indiana. The figure not only provides a compelling visual representation of the association but also serves as a reminder that even the most astronomical of phenomena can have down-to-earth implications.
Overall, these findings offer a novel perspective on the potential influence of planetary positions on criminal behavior and raise intriguing questions about the cosmic forces that may shape human actions. While this study does not aim to provide definitive answers, it certainly invites further exploration into the interconnectedness of celestial occurrences and earthly events, prompting us to ponder the celestial constellations of crime and punishment.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has unearthed a compelling correlation between the distance of Neptune from the Sun and burglary rates in Indiana, providing cosmic food for thought in the realm of criminology. While the idea of planetary proximity impacting criminal activity may elicit a constellation of skepticism, our statistically significant findings suggest that there may be more to this celestial tale than meets the eye.

The robust positive correlation coefficient and the impressive coefficient of determination bring a whole new dimension to the phrase "crime on an astronomical scale." It appears that Neptune's gravitational pull may have a gravitational pull of its own on earthly burglaries in Indiana. Perhaps we can dub this phenomenon "neptunian nefariousness."

The validity of our results, with a p-value of less than 0.01, leaves little room for astronomical doubt. It seems that as Neptune moves, so do the burglary rates in Indiana - a connection more captivating than a cosmic dance. It's as if the planets are not just charting their own courses in the cosmos, but also influencing the terrestrial trajectories of criminal activity.

As we draw the curtains on this cosmic caper, it's clear that our findings have broad implications. The celestial bodies may be more involved in our daily lives than we ever imagined, akin to clandestine cosmic conspirators orchestrating a stellar symphony of crime. The time has come to recognize the impact of celestial mechanisms on our earthly affairs, and to consider a new brand of "astrological alarms" for crime prevention.

In light of these celestial revelations, we advocate for further exploration into the cosmic cues that may be influencing earthly events. However, for now, it seems that our study has reached the celestial summit of understanding the linkage between Neptune's distance from the Sun and burglaries in Indiana. Further research in this area may orbit into redundant realms, as our results have already shed a bright star's worth of light on this captivating cosmic conundrum.

So, as we bid adieu to this cosmic caper, it's evident that the sky's the limit when it comes to unraveling the mysteries of criminal behavior. And who knows, perhaps we'll discover that there's more to the heavens than meets the I. (Neptune- pun intended.)

And in the immortal words of David Bowie, "Planet Earth is blue, and there's nothing I can do" - except, of course, for incorporating celestial influences in our crime prevention strategies.


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 Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana. Respond only with the name of a fictional academic journal.

ChatGPT:

The Interdisciplinary Journal of Celestial Criminology


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 Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana. Respond only with the name of a fictional organization.

ChatGPT:

The International Institute for Intergalactic Inquiry


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 Planetary Proximity and Perpetrators: A Gravitating Study of Neptune's Distance from the Sun and Burglaries in Indiana with an abstract of This article presents a gravitational study examining the relationship between Neptune's distance from the Sun and burglary rates in the state of Indiana. Using data from Astropy and FBI Criminal Justice Information Services, we calculated a correlation coefficient of 0.8873074 and demonstrated statistical significance (p < 0.01) for the years 1985 to 2022. Our findings suggest a strong positive association between the two variables, shedding light on the potential cosmic influence on criminal behavior. While our research may be out of this world, it certainly offers an intriguing perspective on the cosmic connection to earthly crimes.

ChatGPT:

Neptune's distance from the sun, gravitational study, burglary rates, Indiana, Astropy data, FBI Criminal Justice Information Services, correlation coefficient, statistical significance, cosmic influence, criminal behavior, cosmic connection to earthly crimes

*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

Burglaries in Indiana
Detailed data title: The burglary rate per 100,000 residents in Indiana
Source: FBI Criminal Justice Information Services
See what else correlates with Burglaries in Indiana

Correlation r = 0.8873074 (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.7873143 (Coefficient of determination)
This means 78.7% of the change in the one variable (i.e., Burglaries in Indiana) 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.2E-13. 0.0000000000001172059648949699
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.89 in 1.2E-11% of random cases. Said differently, if you correlated 8,531,988,972,542 random variables You don't actually need 8 trillion 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.79, 0.94 ] 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
Burglaries in Indiana (Burglary rate)914.6886.7946.7935.2969.1943.3977.1952.1852850.5821.6783.8821.7789.2714.5676.1697.9692670.7677.2698.3721.3732.6765.4761748.3776.1729.4650.7559.4520.3506447.4386.7320.7280.4211.9226.1




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.




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([914.6,886.7,946.7,935.2,969.1,943.3,977.1,952.1,852,850.5,821.6,783.8,821.7,789.2,714.5,676.1,697.9,692,670.7,677.2,698.3,721.3,732.6,765.4,761,748.3,776.1,729.4,650.7,559.4,520.3,506,447.4,386.7,320.7,280.4,211.9,226.1,])
array_1_name = "The distance between Neptune and the Sun"
array_2_name = "Burglaries in Indiana"

# 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 rating skills are legendary!


Correlation ID: 3111 · Black Variable ID: 1932 · Red Variable ID: 20090
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0