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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of film and video editors in Connecticut and the second variable is Solar power generated in Sudan.  The chart goes from 2009 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more film and video editors in Connecticut honed their craft, they inadvertently perfected the art of brightening scenes. This led to an unexpected side effect - a surge in solar panel efficiency in Sudan as the edited videos somehow beamed a newfound cinematic radiance, energizing the previously lackluster solar power production. It seems the real power of editing was not just in shaping stories, but in also shining a light on renewable energy in a truly illuminating collaboration between the entertainment industry and the sun-drenched deserts of Sudan. Who knew that the key to boosting solar power lay in the reel world of film editing!

Model: dalle-3
Prompt: [An image that looks like it is a scene from 'Star Wars'] Prompt: In a bustling film studio on an intergalactic planet, a group of alien film and video editors gather around their holographic workstations, busily editing scenes filled with vibrant sunshine and radiant landscapes from various planets. Their editing screens glow with the warmth of golden sunsets, clear blue skies, and otherworldly sunrises. As they meticulously perfect each frame, the positive energy emanating from the sunny scenes seems to surge into the cosmos. Meanwhile, across the galaxy on a distant planet, the solar power stations and energy harvesting arrays begin to hum with newfound energy. The solar power generated increases visibly, brighter and more abundant than before, as the filmmakers' sunny disposition seems to have transcended planetary boundaries, infusing the entire galaxy with the positive energy and clean power that their edited scenes depict. 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 number of film and video editors in Connecticut and Solar power generated in Sudan. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: a funny image you would see on reddit Cutsy art illustration Charcoal An image that looks like it is a scene from 'Star Wars' Parallax art
ChatGPT: An image that looks like it is a scene from 'Star Wars'

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 number of film and video editors in Connecticut and Solar power generated in Sudan, in the following situation: Because the film and video editors in Connecticut started editing sunnier scenes, they inadvertently boosted solar power in Sudan by channeling all that positive energy into the universe. The increased solar power was simply a reflection of the cinematographers' sunny disposition, shining a light on clean energy all the way in Sudan!. Keep the description simple.
ChatGPT: In a bustling film studio in Connecticut, a group of film and video editors gather around their workstations, busily editing scenes filled with vibrant sunshine and radiant landscapes. Their editing screens glow with the warmth of golden sunsets and clear blue skies. As they meticulously perfect each frame, the positive energy emanating from the sunny scenes seems to surge into the universe. Meanwhile, across the globe in Sudan, the solar panels atop buildings and fields begin to hum with newfound energy. The solar power generated increases visibly, brighter and more abundant than before. The filmmakers' sunny disposition seems to have transcended geographical boundaries, infusing Sudan with the positive energy and clean power that their edited scenes depict.

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 'Star Wars' ] and depicting this scene: In a bustling film studio in Connecticut, a group of film and video editors gather around their workstations, busily editing scenes filled with vibrant sunshine and radiant landscapes. Their editing screens glow with the warmth of golden sunsets and clear blue skies. As they meticulously perfect each frame, the positive energy emanating from the sunny scenes seems to surge into the universe. Meanwhile, across the globe in Sudan, the solar panels atop buildings and fields begin to hum with newfound energy. The solar power generated increases visibly, brighter and more abundant than before. The filmmakers' sunny disposition seems to have transcended geographical boundaries, infusing Sudan with the positive energy and clean power that their edited scenes depict. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [An image that looks like it is a scene from 'Star Wars'] Prompt: In a bustling film studio on an intergalactic planet, a group of alien film and video editors gather around their holographic workstations, busily editing scenes filled with vibrant sunshine and radiant landscapes from various planets. Their editing screens glow with the warmth of golden sunsets, clear blue skies, and otherworldly sunrises. As they meticulously perfect each frame, the positive energy emanating from the sunny scenes seems to surge into the cosmos. Meanwhile, across the galaxy on a distant planet, the solar power stations and energy harvesting arrays begin to hum with newfound energy. The solar power generated increases visibly, brighter and more abundant than before, as the filmmakers' sunny disposition seems to have transcended planetary boundaries, infusing the entire galaxy with the positive energy and clean power that their edited scenes depict.

*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 an increase in The number of film and video editors in Connecticut caused Solar power generated in Sudan to increase. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan

Journal of Cinematic Synchronicity

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 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from Bureau of Larbor Statistics and Energy Information Administration to assess this nagging question. You found a correlation coefficient of 0.9468392 and p < 0.01 for 2009 to 2020.

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]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Lights, camera, solar action! As we eagerly delve into the realms of film editing and solar power, we are embarking on an intellectual adventure that is bound to shine a light on an unconventional connection. Much like a good film, where every scene contributes to the plot, our research aims to uncover the intricate relationship between the number of film and video editors in Connecticut and the solar power generated in Sudan. We aim to unravel this puzzle and shed some light on this unexpected correlation, making the audience say, "solar panel? More like solar pun-dle!"

On the surface, these two industries may seem as unrelated as a sequel to 'Gone with the Wind', but our analysis has revealed a "solar eclipse" of a relationship. The synergy between the creative art of film editing and the power of solar energy is as surprising as the plot twist in a suspenseful thriller. The numbers may have left us stunned, but we are committed to "editing" our understanding and "shooting" for a deeper comprehension of this intriguing phenomenon.

The Bureau of Labor Statistics provided us with the number of film and video editors in Connecticut over the past decade, while the Energy Information Administration offered insights into the solar power generation in Sudan. The statistical analysis of this data has revealed a correlation coefficient that is as strong as the spotlight on the leading actor, with a statistically significant p-value that takes the cake, or should we say, the clapboard.

Stay tuned as we embark on an academic exploration that promises to be as dramatic as an Oscar-winning film, with unexpected plot twists and "reel" insights into the interplay between these two seemingly disparate sectors. It's a "solar-cine-ematic" journey that is sure to captivate and energize both the academic and industry communities. And hey – what did the solar panel say to the film editor? "You light up my life!" Enough said. Let's roll the credits on this introduction and dim the lights as we delve deeper into this enigmatic connection.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Lights, camera, solar action! As we eagerly delve into the realms of film editing and solar power, we are embarking on an intellectual adventure that is bound to shine a light on an unconventional connection. Much like a good film, where every scene contributes to the plot, our research aims to uncover the intricate relationship between the number of film and video editors in Connecticut and the solar power generated in Sudan. We aim to unravel this puzzle and shed some light on this unexpected correlation, making the audience say, "solar panel? More like solar pun-dle!"
On the surface, these two industries may seem as unrelated as a sequel to 'Gone with the Wind', but our analysis has revealed a "solar eclipse" of a relationship. The synergy between the creative art of film editing and the power of solar energy is as surprising as the plot twist in a suspenseful thriller. The numbers may have left us stunned, but we are committed to "editing" our understanding and "shooting" for a deeper comprehension of this intriguing phenomenon.
The Bureau of Labor Statistics provided us with the number of film and video editors in Connecticut over the past decade, while the Energy Information Administration offered insights into the solar power generation in Sudan. The statistical analysis of this data has revealed a correlation coefficient that is as strong as the spotlight on the leading actor, with a statistically significant p-value that takes the cake, or should we say, the clapboard.
Stay tuned as we embark on an academic exploration that promises to be as dramatic as an Oscar-winning film, with unexpected plot twists and "reel" insights into the interplay between these two seemingly disparate sectors. It's a "solar-cine-ematic" journey that is sure to captivate and energize both the academic and industry communities. And hey – what did the solar panel say to the film editor? "You light up my life!" Enough said. Let's roll the credits on this introduction and dim the lights as we delve deeper into this enigmatic connection.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "Smith et al.," the authors find a surprising link between the number of film and video editors in Connecticut and the solar power generation in Sudan. Now, it's time to shed some light on existing literature that might shine a spotlight on this unexpected relationship. Our journey through the scholarly realm takes us through a variety of sources, some more illuminating than others.

In "The Solar Connection" by John Doe, the author explores the intricate web of solar power generation and its impact on global energy patterns. While this work may not directly address film editing, one cannot help but ponder the potential for a "solar-powered" film studio. Imagine, "The Power of the Sun: A Director's Cut." Okay, maybe not the next box-office hit, but it's a bright idea, isn't it?

Moving on to a different genre, "The Art of Film Editing" by Jones delves into the creative process behind film editing. While this classic work may not explicitly tie film editing to solar energy, one can't help but wonder if the energy from the sun could power an all-night editing session. Could we call it "solar-cutting" instead of "film-cutting"? No?

Stepping into the realm of fiction, "Solaris" by Stanislaw Lem may not be directly related to our investigation, but the juxtaposition of solar energy and the expansiveness of space evokes imaginative possibilities. Perhaps the next big sci-fi blockbuster could be set in a solar-powered spacecraft that's powered by the energy generated by film editors' intense brainstorming sessions. "Solaris 2: The Editing Odyssey." It's a "cinematic universe" waiting to happen!

And who could forget the classic board game "Solarquest"? While it may not hold direct answers to our quest for understanding the link between film editing and solar power, the idea of traversing a solar system powered entirely by renewable energy is both whimsical and thought-provoking. Imagine a film editor's cut the line: "I'll trade you ten kilowatts of solar power for a prime spot at the Cannes Film Festival."

In "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, the interconnectedness of the universe is humorously explored. As we ponder the unexpected link between film editing and solar power, one cannot help but think of the "reel-y" vast and interconnected nature of the cosmos in which we live. Maybe we're just scratching the surface of a much larger, "cinemagical" universe of connections.

It's clear that the literature presents a smorgasbord of possibilities and connections, some serious and some, dare we say, "punny." Our investigation may be shedding new light on the relationship between film editing and solar power, but one thing's for sure – it's a "bright idea" worth exploring further.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and Energy Information Administration . You used data from 2009 to 2020

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]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

[[INTRODUCTION]]
Lights, camera, solar action! As we eagerly delve into the realms of film editing and solar power, we are embarking on an intellectual adventure that is bound to shine a light on an unconventional connection. Much like a good film, where every scene contributes to the plot, our research aims to uncover the intricate relationship between the number of film and video editors in Connecticut and the solar power generated in Sudan. We aim to unravel this puzzle and shed some light on this unexpected correlation, making the audience say, "solar panel? More like solar pun-dle!"
On the surface, these two industries may seem as unrelated as a sequel to 'Gone with the Wind', but our analysis has revealed a "solar eclipse" of a relationship. The synergy between the creative art of film editing and the power of solar energy is as surprising as the plot twist in a suspenseful thriller. The numbers may have left us stunned, but we are committed to "editing" our understanding and "shooting" for a deeper comprehension of this intriguing phenomenon.
The Bureau of Labor Statistics provided us with the number of film and video editors in Connecticut over the past decade, while the Energy Information Administration offered insights into the solar power generation in Sudan. The statistical analysis of this data has revealed a correlation coefficient that is as strong as the spotlight on the leading actor, with a statistically significant p-value that takes the cake, or should we say, the clapboard.
Stay tuned as we embark on an academic exploration that promises to be as dramatic as an Oscar-winning film, with unexpected plot twists and "reel" insights into the interplay between these two seemingly disparate sectors. It's a "solar-cine-ematic" journey that is sure to captivate and energize both the academic and industry communities. And hey – what did the solar panel say to the film editor? "You light up my life!" Enough said. Let's roll the credits on this introduction and dim the lights as we delve deeper into this enigmatic connection.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the mysterious connection between film and video editing in Connecticut and solar power generation in Sudan, we employed a unique and multi-faceted approach. First, we shamelessly binge-watched films and documentaries, hoping to absorb the creative energy that would inspire our research. We then channeled our inner Sherlock Holmes and scoured the depths of the internet, navigating through virtual jungles akin to Indiana Jones in search of elusive datasets. Our primary sources included the Bureau of Labor Statistics and the Energy Information Administration, which were like treasure troves waiting to be unearthed.

Utilizing a combination of statistical jujitsu and computational wizardry, we transformed raw data into meaningful insights. Our team of data wranglers and number crunchers spared no expense in rigorously analyzing the data from 2009 to 2020. We embraced the chaos of big data, as if we were conducting a symphony of numbers, hoping to strike the perfect chord of correlation between film editors and solar power.

To ensure the veracity of our findings, we conducted numerous cross-validations and sensitivity analyses, akin to a film director shooting multiple takes of the same scene, in order to capture the essence of our results. This included investigating the impact of potential confounding variables, such as the average popcorn consumption per movie-goer and the number of sunny days in Connecticut versus Sudan. Oh, the lengths we go to for the sake of rigorous research!

Despite the inherent humor injected throughout our methodology, our commitment to academic rigor remained steadfast. We employed a range of statistical tests, including Pearson correlation coefficients, regression analyses, and kooky t-tests, in pursuit of uncovering the nuanced relationship between film editing and solar power generation. With each analytical step, we found ourselves peeling back the layers of this unexpected connection, much like unwrapping a surprise ending in a good mystery film.

Our methodology was undoubtedly as diverse and captivating as the best film festivals, designed to captivate, entertain, and ultimately shed light on this fascinating web of inter-industry relationships. With great excitement and a dash of humor, we present our findings, eager to share the story of the unexpected connection between the world of film editing and the power of solar energy. After all, what's research without a few laughs along the way?


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and Energy Information Administration .

For the time period 2009 to 2020, you found a correlation 0.9468392, r-squared of 0.8965045, 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]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Lights, camera, solar action! As we eagerly delve into the realms of film editing and solar power, we are embarking on an intellectual adventure that is bound to shine a light on an unconventional connection. Much like a good film, where every scene contributes to the plot, our research aims to uncover the intricate relationship between the number of film and video editors in Connecticut and the solar power generated in Sudan. We aim to unravel this puzzle and shed some light on this unexpected correlation, making the audience say, "solar panel? More like solar pun-dle!"
On the surface, these two industries may seem as unrelated as a sequel to 'Gone with the Wind', but our analysis has revealed a "solar eclipse" of a relationship. The synergy between the creative art of film editing and the power of solar energy is as surprising as the plot twist in a suspenseful thriller. The numbers may have left us stunned, but we are committed to "editing" our understanding and "shooting" for a deeper comprehension of this intriguing phenomenon.
The Bureau of Labor Statistics provided us with the number of film and video editors in Connecticut over the past decade, while the Energy Information Administration offered insights into the solar power generation in Sudan. The statistical analysis of this data has revealed a correlation coefficient that is as strong as the spotlight on the leading actor, with a statistically significant p-value that takes the cake, or should we say, the clapboard.
Stay tuned as we embark on an academic exploration that promises to be as dramatic as an Oscar-winning film, with unexpected plot twists and "reel" insights into the interplay between these two seemingly disparate sectors. It's a "solar-cine-ematic" journey that is sure to captivate and energize both the academic and industry communities. And hey – what did the solar panel say to the film editor? "You light up my life!" Enough said. Let's roll the credits on this introduction and dim the lights as we delve deeper into this enigmatic connection.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our investigation revealed an astonishing correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Over the twelve-year period from 2009 to 2020, we found a correlation coefficient of 0.9468392, indicating a remarkably strong relationship between these two variables. This correlation was as clear as a sunny day in the Sahara, leaving us all pleasantly surprised and a little bit "bright-eyed and bushy-tailed"!

But wait, there's more! The r-squared value of 0.8965045 suggests that approximately 89.65% of the variability in solar power generation in Sudan can be explained by the number of film and video editors in Connecticut. That's a "cinematic" level of explanatory power that even Hollywood might envy!

Furthermore, the p-value of less than 0.01 indicates that this correlation is statistically significant. It's as if the universe conspired to bring these two seemingly distinct domains together, much like a "solar-powered film festival."

A picture is worth a thousand words, and our scatterplot (Fig. 1) visually illustrates the strong correlation between the number of film editors in Connecticut and solar power in Sudan. It's like seeing the perfect alignment of the stars in a blockbuster film – only this time, the stars are solar panels and film editors!

In conclusion, our findings demonstrate a compelling association between the number of film and video editors in Connecticut and the solar power generated in Sudan. This unexpected revelation offers a captivating storyline that begs for further exploration and analysis. It's clear that this connection is not just a "flash" in the pan – it's a cinematic masterpiece in the making!


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

[[LITERATURE REVIEW]]
In "Smith et al.," the authors find a surprising link between the number of film and video editors in Connecticut and the solar power generation in Sudan. Now, it's time to shed some light on existing literature that might shine a spotlight on this unexpected relationship. Our journey through the scholarly realm takes us through a variety of sources, some more illuminating than others.
In "The Solar Connection" by John Doe, the author explores the intricate web of solar power generation and its impact on global energy patterns. While this work may not directly address film editing, one cannot help but ponder the potential for a "solar-powered" film studio. Imagine, "The Power of the Sun: A Director's Cut." Okay, maybe not the next box-office hit, but it's a bright idea, isn't it?
Moving on to a different genre, "The Art of Film Editing" by Jones delves into the creative process behind film editing. While this classic work may not explicitly tie film editing to solar energy, one can't help but wonder if the energy from the sun could power an all-night editing session. Could we call it "solar-cutting" instead of "film-cutting"? No?
Stepping into the realm of fiction, "Solaris" by Stanislaw Lem may not be directly related to our investigation, but the juxtaposition of solar energy and the expansiveness of space evokes imaginative possibilities. Perhaps the next big sci-fi blockbuster could be set in a solar-powered spacecraft that's powered by the energy generated by film editors' intense brainstorming sessions. "Solaris 2: The Editing Odyssey." It's a "cinematic universe" waiting to happen!
And who could forget the classic board game "Solarquest"? While it may not hold direct answers to our quest for understanding the link between film editing and solar power, the idea of traversing a solar system powered entirely by renewable energy is both whimsical and thought-provoking. Imagine a film editor's cut the line: "I'll trade you ten kilowatts of solar power for a prime spot at the Cannes Film Festival."
In "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, the interconnectedness of the universe is humorously explored. As we ponder the unexpected link between film editing and solar power, one cannot help but think of the "reel-y" vast and interconnected nature of the cosmos in which we live. Maybe we're just scratching the surface of a much larger, "cinemagical" universe of connections.
It's clear that the literature presents a smorgasbord of possibilities and connections, some serious and some, dare we say, "punny." Our investigation may be shedding new light on the relationship between film editing and solar power, but one thing's for sure – it's a "bright idea" worth exploring further.

[[RESULTS]]
The results of our investigation revealed an astonishing correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Over the twelve-year period from 2009 to 2020, we found a correlation coefficient of 0.9468392, indicating a remarkably strong relationship between these two variables. This correlation was as clear as a sunny day in the Sahara, leaving us all pleasantly surprised and a little bit "bright-eyed and bushy-tailed"!
But wait, there's more! The r-squared value of 0.8965045 suggests that approximately 89.65% of the variability in solar power generation in Sudan can be explained by the number of film and video editors in Connecticut. That's a "cinematic" level of explanatory power that even Hollywood might envy!
Furthermore, the p-value of less than 0.01 indicates that this correlation is statistically significant. It's as if the universe conspired to bring these two seemingly distinct domains together, much like a "solar-powered film festival."
A picture is worth a thousand words, and our scatterplot (Fig. 1) visually illustrates the strong correlation between the number of film editors in Connecticut and solar power in Sudan. It's like seeing the perfect alignment of the stars in a blockbuster film – only this time, the stars are solar panels and film editors!
In conclusion, our findings demonstrate a compelling association between the number of film and video editors in Connecticut and the solar power generated in Sudan. This unexpected revelation offers a captivating storyline that begs for further exploration and analysis. It's clear that this connection is not just a "flash" in the pan – it's a cinematic masterpiece in the making!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings bring a ray of sunshine to the world of economic and energy research. Just as a solar-powered film set would illuminate the silver screen, our results shed light on the surprising connection between the number of film and video editors in Connecticut and the solar power generated in Sudan. While some might consider this correlation to be a "solar-powered editing extravaganza," our study takes it seriously and aims to uncover the underlying mechanisms that may explain this unexpected relationship.

The existing literature had already hinted at potential links, albeit in a more speculative manner. For instance, "The Solar Connection" by John Doe encouraged us to envision a "solar-powered" film studio – a concept that now seems less far-fetched given our empirical findings. It turns out that the power of the sun might indeed play a starring role in both film production and energy generation. You could say that the sun's energy is the ultimate "reel" deal, both in Hollywood and the Sahara.

Likewise, "The Hitchhiker's Guide to the Galaxy" offered a whimsical take on the interconnectedness of the universe, and our research has substantiated this notion. The correlation coefficient of 0.9468392 reflects a substantial connection between the number of film editors in Connecticut and the solar power generated in Sudan. It seems that the universe enjoys a good "cinematic crossover" as much as any avid film buff.

Moreover, the r-squared value of 0.8965045 indicates a remarkable explanatory power. This statistical prowess may not command the same attention as a box-office blockbuster, but it certainly holds its own in terms of empirical significance. In essence, our analysis suggests that almost 90% of the variability in solar power generation in Sudan can be attributed to the number of film and video editors in Connecticut. It's a "dazzling display" of statistical strength, to say the least.

Our results also lend credence to the need for further investigation into the potential causal pathways underlying this correlation. While our study doesn't provide a definitive "cut" to the mystery, it certainly sets the stage for more in-depth analysis. Just as a good plot twist keeps the audience intrigued, this unexpected association between seemingly disparate industries beckons for deeper exploration. We might just be witnessing the "beginning of a beautiful friendship" between film editing and solar power.

In summary, our research has not only confirmed the existence of a substantial correlation but has also highlighted the need for a "sequel" in the form of more detailed investigations. It's as if the universe has handed us a "cliffhanger" that demands resolution. Just like a compelling movie, our findings leave the audience eagerly awaiting the next installment – and we aim to deliver just that in future studies. After all, it seems that the reel world and the solar world are more intricately intertwined than we ever imagined.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 number of film and video editors in Connecticut and Solar power generated in Sudan. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
"Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan"

[[ABSTRACT]]
Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.

Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

[[INTRDUCTION]]
Lights, camera, solar action! As we eagerly delve into the realms of film editing and solar power, we are embarking on an intellectual adventure that is bound to shine a light on an unconventional connection. Much like a good film, where every scene contributes to the plot, our research aims to uncover the intricate relationship between the number of film and video editors in Connecticut and the solar power generated in Sudan. We aim to unravel this puzzle and shed some light on this unexpected correlation, making the audience say, "solar panel? More like solar pun-dle!"
On the surface, these two industries may seem as unrelated as a sequel to 'Gone with the Wind', but our analysis has revealed a "solar eclipse" of a relationship. The synergy between the creative art of film editing and the power of solar energy is as surprising as the plot twist in a suspenseful thriller. The numbers may have left us stunned, but we are committed to "editing" our understanding and "shooting" for a deeper comprehension of this intriguing phenomenon.
The Bureau of Labor Statistics provided us with the number of film and video editors in Connecticut over the past decade, while the Energy Information Administration offered insights into the solar power generation in Sudan. The statistical analysis of this data has revealed a correlation coefficient that is as strong as the spotlight on the leading actor, with a statistically significant p-value that takes the cake, or should we say, the clapboard.
Stay tuned as we embark on an academic exploration that promises to be as dramatic as an Oscar-winning film, with unexpected plot twists and "reel" insights into the interplay between these two seemingly disparate sectors. It's a "solar-cine-ematic" journey that is sure to captivate and energize both the academic and industry communities. And hey – what did the solar panel say to the film editor? "You light up my life!" Enough said. Let's roll the credits on this introduction and dim the lights as we delve deeper into this enigmatic connection.

[[RESULTS]]
The results of our investigation revealed an astonishing correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Over the twelve-year period from 2009 to 2020, we found a correlation coefficient of 0.9468392, indicating a remarkably strong relationship between these two variables. This correlation was as clear as a sunny day in the Sahara, leaving us all pleasantly surprised and a little bit "bright-eyed and bushy-tailed"!
But wait, there's more! The r-squared value of 0.8965045 suggests that approximately 89.65% of the variability in solar power generation in Sudan can be explained by the number of film and video editors in Connecticut. That's a "cinematic" level of explanatory power that even Hollywood might envy!
Furthermore, the p-value of less than 0.01 indicates that this correlation is statistically significant. It's as if the universe conspired to bring these two seemingly distinct domains together, much like a "solar-powered film festival."
A picture is worth a thousand words, and our scatterplot (Fig. 1) visually illustrates the strong correlation between the number of film editors in Connecticut and solar power in Sudan. It's like seeing the perfect alignment of the stars in a blockbuster film – only this time, the stars are solar panels and film editors!
In conclusion, our findings demonstrate a compelling association between the number of film and video editors in Connecticut and the solar power generated in Sudan. This unexpected revelation offers a captivating storyline that begs for further exploration and analysis. It's clear that this connection is not just a "flash" in the pan – it's a cinematic masterpiece in the making!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In the denouement of our research odyssey, the confluence of film and video editing in Connecticut and the solar power landscape in Sudan has revealed a captivating correlation, leaving us all with an electrifying cliffhanger. It seems that as the number of film editors in Connecticut rose, so did the solar power generated in Sudan - a plot twist truly worthy of an Academy Award! Our findings suggest an unexpectedly strong connection between these two seemingly unrelated entities, as if the universe were trying to say, "Solar power and film editing: now showing in a theater near you!"

Despite the initial skepticism surrounding this "solar-cinematic" relationship, our statistical analysis has showcased a remarkable correlation coefficient of 0.9468392. It's as if these industries were acting in perfect harmony, much like a well-choreographed dance number in a musical film. One might even say it's a "reel-ly bright" revelation, illuminating a path for future research at the intersection of energy and entertainment.

In the spirit of leaving our audience with a smile, we couldn't resist a dad joke: What did the solar panel say to the film editor? "You light up my life!" This unexpected connection certainly shines a spotlight on the need for further investigation into the underlying mechanisms driving this correlation. Yet, as the curtain closes on our study, we assert with "solar-sure" confidence that no more research is needed in this area. With this final punchline, we bid adieu to this unlikely duo, leaving the audience eagerly anticipating the sequel to this enthralling saga.


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 Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Cinematic Synchronicity


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 Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan. Respond only with the name of a fictional organization.

ChatGPT:

The Association for Solar Cinema Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Editing Energies: The Reel Connection between Film Editors in Connecticut and Solar Power in Sudan with an abstract of Lights, camera, action - and solar panels! In this study, we delve into the unexpected correlation between the number of film and video editors in Connecticut and the solar power generated in Sudan. Our research team utilized data from the Bureau of Labor Statistics and the Energy Information Administration to shed light on this novel connection. Surprisingly, we found a striking correlation coefficient of 0.9468392 and a statistically significant p-value of less than 0.01 for the years 2009 to 2020.
Some might say it's a "cinemati-solar" relationship, but our findings imply a strong association between the two variables. This correlation was quite the "plot twist"! While it may seem like a "reel-y" unexpected link, further research and analysis are needed to truly understand the underlying dynamics at play. Our study offers intriguing insights into the interplay between seemingly unrelated industries, leaving us with a thrilling cliffhanger for future investigation.

ChatGPT:

film editors, Connecticut, solar power, Sudan, correlation, energy statistics, Bureau of Labor Statistics, Energy Information Administration, correlation coefficient, p-value, "cinemati-solar" relationship

*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 number of film and video editors in Connecticut
Detailed data title: BLS estimate of film and video editors in Connecticut
Source: Bureau of Larbor Statistics
See what else correlates with The number of film and video editors in Connecticut

Solar power generated in Sudan
Detailed data title: Total solar power generated in Sudan in billion kWh
Source: Energy Information Administration
See what else correlates with Solar power generated in Sudan

Correlation r = 0.9468392 (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.8965045 (Coefficient of determination)
This means 89.7% of the change in the one variable (i.e., Solar power generated in Sudan) is predictable based on the change in the other (i.e., The number of film and video editors in Connecticut) over the 12 years from 2009 through 2020.

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

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.95 in 0.000306% of random cases. Said differently, if you correlated 327,088 random variables You don't actually need 327 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 11 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 11 because we have two variables measured over a period of 12 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.82, 0.99 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
200920102011201220132014201520162017201820192020
The number of film and video editors in Connecticut (Film And Video Editors)210170160190320300320310320360370480
Solar power generated in Sudan (Billion kWh)0.0010.0010.0040.0060.0130.0130.0130.0180.020.020.0220.028




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. Confounding variable: 2020 is particularly different from the other years on this graph. Confounding variables (like global pandemics) will cause two variables to look connected when in fact a "sneaky third" variable is influencing both of them behind the scenes.




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([210,170,160,190,320,300,320,310,320,360,370,480,])
array_2 = np.array([0.001,0.001,0.004,0.006,0.013,0.013,0.013,0.018,0.02,0.02,0.022,0.028,])
array_1_name = "The number of film and video editors in Connecticut"
array_2_name = "Solar power generated in Sudan"

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

Thanks for being the explorer we needed!


Correlation ID: 3420 · Black Variable ID: 5955 · Red Variable ID: 24002
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0