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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Global Commercial Vehicle Production and the second variable is The number of college psychology teachers in Montana.  The chart goes from 2003 to 2019, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the demand for commercial vehicles revved up, it drove a shift in focus for Montanan college grads. They wheely couldn't resist the truck industry, leading to a decrease in psychology teachers. It's a case of automotive ambition steering them away from the academic path. Looks like these professors are trading Freud for Ford and Jung for a dump truck!

Model: dalle-3
Prompt: Create an image of a cyberpunk-style automobile factory, where robotic arms whir and spark as they assemble sleek, futuristic commercial vehicles on a neon-lit factory floor. In the background, a college classroom in Montana is dimly lit, with empty seats and abandoned textbooks as the remaining psychology teachers engage in a heated discussion about the psychological impacts of road rage and traffic congestion, their faces illuminated by holographic projections. The contrast between the high-tech factory and the obsolete classroom reflects the changing landscape of psychology in the modern age. 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 situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: The increase in Global Commercial Vehicle Production led to a decrease in the number of college psychology teachers in Montana due to the shift in focus towards the study of road rage management and the psychological impact of traffic congestion on drivers, causing psychology educators to seek alternative career paths.. Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: Celtic art A Discovery magazine cover image Cute 2D animation Cyberpunk Oragami
ChatGPT: Cyberpunk

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that depicts the following situation. Keep the description simple. The increase in Global Commercial Vehicle Production led to a decrease in the number of college psychology teachers in Montana due to the shift in focus towards the study of road rage management and the psychological impact of traffic congestion on drivers, causing psychology educators to seek alternative career paths.
ChatGPT: Imagine a bustling automobile factory with an assembly line churning out commercial vehicles at an increased pace. Meanwhile, in a college classroom in Montana, a once-busy psychology lecture hall now sits mostly empty as some of the professors have transitioned to other career paths. The remaining few psychology teachers are seen discussing the psychological effects of road rage and traffic congestion on drivers, reflecting the shift in focus in the field of psychology.

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: [ Cyberpunk ] and depicting this scene: Imagine a bustling automobile factory with an assembly line churning out commercial vehicles at an increased pace. Meanwhile, in a college classroom in Montana, a once-busy psychology lecture hall now sits mostly empty as some of the professors have transitioned to other career paths. The remaining few psychology teachers are seen discussing the psychological effects of road rage and traffic congestion on drivers, reflecting the shift in focus in the field of psychology. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Create an image of a cyberpunk-style automobile factory, where robotic arms whir and spark as they assemble sleek, futuristic commercial vehicles on a neon-lit factory floor. In the background, a college classroom in Montana is dimly lit, with empty seats and abandoned textbooks as the remaining psychology teachers engage in a heated discussion about the psychological impacts of road rage and traffic congestion, their faces illuminated by holographic projections. The contrast between the high-tech factory and the obsolete classroom reflects the changing landscape of psychology in the modern age.

*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 Global Commercial Vehicle Production caused The number of college psychology teachers in Montana to decrease. Include one good pun.

AI academic paper

(Because p < 0.01)
Studying the Psychology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

The International Journal of Transportation Psychology

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from Statista and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of -0.8768624 and p < 0.01 for 2003 to 2019.

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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The world of academia is often ripe with unexpected connections and curious correlations. As researchers, we are constantly on the lookout for those "Eureka" moments when disparate entities come together in an intriguing dance of causation or correlation. The outer reaches of statistical analysis often lead us to ponder the whimsical and the bizarre, like the peculiar relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana. This unlikely pair has sparked both laughter and perplexity among the scholarly community, with whispers of "What do commercial vehicles and psychology professors have in common? They both like to analyze and decode human behavior!"

With the rise of big data and the ever-growing arsenal of statistical tools, it is no surprise that researchers have taken a keen interest in examining unconventional relationships, and this peculiar juxtaposition has not escaped our scrutiny. The conundrum has left many scratching their heads, prompting quips such as "Why did the statistician take a psychology class? To figure out what's driving this correlation!" Our endeavor seeks to shed light on this enigmatic association, unraveling the threads of statistical significance and potential implications – all while maintaining a sense of humor in the pursuit of knowledge.

Our study aims to build upon the existing body of research by delving into the labyrinth of global commercial vehicle production and the academic landscape of psychology in the state of Montana. We are driven by the curiosity to uncover the underlying mechanisms behind this unexpected pairing, all while embracing the occasional dad joke along the way. As we venture into the depths of statistical analysis and academic inquiry, we invite our readers to join us on this rollercoaster of data-driven wit and scholarly exploration, because after all, "What did the psychologist say to the commercial vehicle? Let's park these correlations and search for their driving force!"


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading CVS receipts.

Here is the title and abstract of the paper:
[[TITLE]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The world of academia is often ripe with unexpected connections and curious correlations. As researchers, we are constantly on the lookout for those "Eureka" moments when disparate entities come together in an intriguing dance of causation or correlation. The outer reaches of statistical analysis often lead us to ponder the whimsical and the bizarre, like the peculiar relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana. This unlikely pair has sparked both laughter and perplexity among the scholarly community, with whispers of "What do commercial vehicles and psychology professors have in common? They both like to analyze and decode human behavior!"
With the rise of big data and the ever-growing arsenal of statistical tools, it is no surprise that researchers have taken a keen interest in examining unconventional relationships, and this peculiar juxtaposition has not escaped our scrutiny. The conundrum has left many scratching their heads, prompting quips such as "Why did the statistician take a psychology class? To figure out what's driving this correlation!" Our endeavor seeks to shed light on this enigmatic association, unraveling the threads of statistical significance and potential implications – all while maintaining a sense of humor in the pursuit of knowledge.
Our study aims to build upon the existing body of research by delving into the labyrinth of global commercial vehicle production and the academic landscape of psychology in the state of Montana. We are driven by the curiosity to uncover the underlying mechanisms behind this unexpected pairing, all while embracing the occasional dad joke along the way. As we venture into the depths of statistical analysis and academic inquiry, we invite our readers to join us on this rollercoaster of data-driven wit and scholarly exploration, because after all, "What did the psychologist say to the commercial vehicle? Let's park these correlations and search for their driving force!"

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their study, Smith and Doe (2015) examined the correlation between Global Commercial Vehicle Production and various industry factors, finding a significant relationship between production rates and economic indicators. Conversely, Jones (2018) explored the demographics of college faculty in the United States, focusing on areas with unique characteristics that may impact faculty distribution. These serious studies lay the groundwork for our investigation into the unexpected connection between commercial vehicles and psychology professors in the state of Montana.

Turning to non-fiction literature, "The Psychology of Transportation" by Jane M. Doe discusses the psychological aspects of driving and the impact of vehicles on human behavior. Moreover, "Global Economic Trends" by John Smith provides insights into the commercial vehicle industry's place in the global economy. These scholarly works offer valuable context for the intersection of our seemingly unrelated variables.

Transitioning to the realm of fiction, "Drive Me Crazy" by A. Wheeler follows the story of a quirky psychologist who finds herself entangled in a web of commercial vehicle mysteries. The whimsical novel "The Road Less Traveled" by M. Tires explores the existential journey of a psychology professor who embarks on a cross-country trip, encountering commercial vehicles and introspective moments along the way. These imaginative narratives serve as a lighthearted backdrop to our exploration of the unlikely correlation between global commercial vehicle production and the psychology professor population in Montana.

Expanding our search for insight, we perused miscellaneous sources such as fortune cookies, horoscopes, and even grocery store receipts. While the fortune cookies offered cryptic messages about "driving toward unexpected connections," the horoscopes tantalizingly hinted at "aligning professional paths with industrial influences." As for the grocery store receipts, they simply reminded us to stock up on snacks for an extended research journey. While these unconventional sources did little to illuminate our inquiry, they did provide comedic relief and a healthy dose of skepticism.

In summary, the wealth of literature surrounding our peculiar research question highlights the intricate interplay of serious scholarship, creative storytelling, and unorthodox humor. As we delve into the statistical nuances and scholarly discourse, we keep in mind the words of wisdom from an ancient philosopher: "The journey of a thousand correlations begins with a single dataset." With this philosophical guidance and a touch of levity, we embark on our endeavor to unravel the mysteries of commercial vehicles and psychology professors, armed with statistical tools and a penchant for puns.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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 Statista and Bureau of Larbor Statistics . You used data from 2003 to 2019

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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

[[INTRODUCTION]]
The world of academia is often ripe with unexpected connections and curious correlations. As researchers, we are constantly on the lookout for those "Eureka" moments when disparate entities come together in an intriguing dance of causation or correlation. The outer reaches of statistical analysis often lead us to ponder the whimsical and the bizarre, like the peculiar relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana. This unlikely pair has sparked both laughter and perplexity among the scholarly community, with whispers of "What do commercial vehicles and psychology professors have in common? They both like to analyze and decode human behavior!"
With the rise of big data and the ever-growing arsenal of statistical tools, it is no surprise that researchers have taken a keen interest in examining unconventional relationships, and this peculiar juxtaposition has not escaped our scrutiny. The conundrum has left many scratching their heads, prompting quips such as "Why did the statistician take a psychology class? To figure out what's driving this correlation!" Our endeavor seeks to shed light on this enigmatic association, unraveling the threads of statistical significance and potential implications – all while maintaining a sense of humor in the pursuit of knowledge.
Our study aims to build upon the existing body of research by delving into the labyrinth of global commercial vehicle production and the academic landscape of psychology in the state of Montana. We are driven by the curiosity to uncover the underlying mechanisms behind this unexpected pairing, all while embracing the occasional dad joke along the way. As we venture into the depths of statistical analysis and academic inquiry, we invite our readers to join us on this rollercoaster of data-driven wit and scholarly exploration, because after all, "What did the psychologist say to the commercial vehicle? Let's park these correlations and search for their driving force!"

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the mysterious dance of causation or correlation between Global Commercial Vehicle Production and the number of college psychology faculty members in Montana, our research team embarked on a data odyssey spanning the years 2003 to 2019. Armed with an insatiable thirst for statistical enlightenment and a knack for quirky humor, our methodological approach was as diverse as the quirky connection we sought to dissect. As the saying goes, "Why don't statistical researchers ever get lost? Because they follow the significance level!"

We began by sourcing data from a myriad of sources, unleashing an academic treasure hunt across the digital landscape. Our trusty companions, Statista and the Bureau of Labor Statistics, became our scholarly sherpa guides through the peaks and valleys of information abundance. Much like miners panning for gold, we meticulously sifted through datasets and statistical indicators, seeking that elusive glint of correlation amidst the data bedrock. And just like prospectors telling jokes to pass the time, we infused our data extraction process with lighthearted banter and the occasional dad joke to keep our spirits high. "Why did the statistician bring a ladder to class? Because he heard the heights of correlations are up there!"

Armed with a bountiful harvest of data, we set forth on a quest of statistical validation and analysis, navigating the treacherous waters of quantitative inquiry with both precision and jest. Utilizing cutting-edge statistical software and a touch of whimsy, we subjected the collected data to a rigorous regime of correlation analysis, regression models, and wild pun interludes to keep our research spirits buoyant. "What did the statistician say to the psychology professor about their research methods? Let's correlate our minds and regress to some punny outcomes!"

In our relentless pursuit of scholarly illumination, we ensured that our methodology maintained a delicate balance between robust statistical rigor and the occasional whimsical twist, recognizing that a touch of humor can enliven even the most serious of academic endeavors. Our data journey was akin to a scholarly tango, gracefully pirouetting through the realms of statistical significance and p-values, all while infusing the process with a dance of unexpected laughter. "Why don't data scientists trust atoms? Because they make up everything, including correlations!"

Upon completing our convoluted dance of statistical discovery, we emerged with a comprehensive dataset and a statistically robust understanding of the enigmatic connection between Global Commercial Vehicle Production and the number of psychology faculty members in Montana. Our findings were not only academically illuminating but also left us with an abundance of punny anecdotes to regale our fellow researchers with. With our methodological adventures concluded, we now stand ready to present our findings, armed with data, laughter, and a newfound appreciation for the unexpected quirks of statistical exploration.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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 Statista and Bureau of Larbor Statistics .

For the time period 2003 to 2019, you found a correlation -0.8768624, r-squared of 0.7688877, 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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The world of academia is often ripe with unexpected connections and curious correlations. As researchers, we are constantly on the lookout for those "Eureka" moments when disparate entities come together in an intriguing dance of causation or correlation. The outer reaches of statistical analysis often lead us to ponder the whimsical and the bizarre, like the peculiar relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana. This unlikely pair has sparked both laughter and perplexity among the scholarly community, with whispers of "What do commercial vehicles and psychology professors have in common? They both like to analyze and decode human behavior!"
With the rise of big data and the ever-growing arsenal of statistical tools, it is no surprise that researchers have taken a keen interest in examining unconventional relationships, and this peculiar juxtaposition has not escaped our scrutiny. The conundrum has left many scratching their heads, prompting quips such as "Why did the statistician take a psychology class? To figure out what's driving this correlation!" Our endeavor seeks to shed light on this enigmatic association, unraveling the threads of statistical significance and potential implications – all while maintaining a sense of humor in the pursuit of knowledge.
Our study aims to build upon the existing body of research by delving into the labyrinth of global commercial vehicle production and the academic landscape of psychology in the state of Montana. We are driven by the curiosity to uncover the underlying mechanisms behind this unexpected pairing, all while embracing the occasional dad joke along the way. As we venture into the depths of statistical analysis and academic inquiry, we invite our readers to join us on this rollercoaster of data-driven wit and scholarly exploration, because after all, "What did the psychologist say to the commercial vehicle? Let's park these correlations and search for their driving force!"

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The correlation analysis between Global Commercial Vehicle Production and the number of psychology faculty members in Montana yielded a coefficient of -0.8768624, indicating a strong negative relationship. This finding suggests that as the production of commercial vehicles increases, the number of psychology professors in Montana tends to decrease. It seems like the cars and the professors are playing opposite day!

The coefficient of determination, denoted by r-squared, stood at 0.7688877, signifying that approximately 76.89% of the variability in the number of psychology faculty members in Montana can be explained by the fluctuations in global commercial vehicle production. Who knew commercial vehicles could influence the psyche of the professors so much?

Moreover, the p-value being less than 0.01 underscores the statistical significance of our findings, providing robust evidence for the unusual relationship under investigation. It's as if the data is saying, "I'm not just making this up – the correlation is real!"

Fig. 1 presents a scatterplot depicting the strong negative correlation between Global Commercial Vehicle Production and the number of psychology faculty members in Montana. The data points form a clear downward trend, emphasizing the inverse relationship between these two variables.

Our results intrigue not only the statistical community but also the dad joke enthusiasts. This finding opens the door to a whole new realm of comedic material. "Why did the psychology professor bring a car door to class? So he could open up to the students! And the students said, 'Stop wheeling those jokes in!'"

We urge future researchers to delve into this curious connection, exploring the depths of commercial vehicle production and the enigmatic world of psychology faculty members in Montana. Who knows? Perhaps this unlikely pairing will lead to a groundbreaking revelation that will drive the field forward – pun intended!


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

[[LITERATURE REVIEW]]
In their study, Smith and Doe (2015) examined the correlation between Global Commercial Vehicle Production and various industry factors, finding a significant relationship between production rates and economic indicators. Conversely, Jones (2018) explored the demographics of college faculty in the United States, focusing on areas with unique characteristics that may impact faculty distribution. These serious studies lay the groundwork for our investigation into the unexpected connection between commercial vehicles and psychology professors in the state of Montana.
Turning to non-fiction literature, "The Psychology of Transportation" by Jane M. Doe discusses the psychological aspects of driving and the impact of vehicles on human behavior. Moreover, "Global Economic Trends" by John Smith provides insights into the commercial vehicle industry's place in the global economy. These scholarly works offer valuable context for the intersection of our seemingly unrelated variables.
Transitioning to the realm of fiction, "Drive Me Crazy" by A. Wheeler follows the story of a quirky psychologist who finds herself entangled in a web of commercial vehicle mysteries. The whimsical novel "The Road Less Traveled" by M. Tires explores the existential journey of a psychology professor who embarks on a cross-country trip, encountering commercial vehicles and introspective moments along the way. These imaginative narratives serve as a lighthearted backdrop to our exploration of the unlikely correlation between global commercial vehicle production and the psychology professor population in Montana.
Expanding our search for insight, we perused miscellaneous sources such as fortune cookies, horoscopes, and even grocery store receipts. While the fortune cookies offered cryptic messages about "driving toward unexpected connections," the horoscopes tantalizingly hinted at "aligning professional paths with industrial influences." As for the grocery store receipts, they simply reminded us to stock up on snacks for an extended research journey. While these unconventional sources did little to illuminate our inquiry, they did provide comedic relief and a healthy dose of skepticism.
In summary, the wealth of literature surrounding our peculiar research question highlights the intricate interplay of serious scholarship, creative storytelling, and unorthodox humor. As we delve into the statistical nuances and scholarly discourse, we keep in mind the words of wisdom from an ancient philosopher: "The journey of a thousand correlations begins with a single dataset." With this philosophical guidance and a touch of levity, we embark on our endeavor to unravel the mysteries of commercial vehicles and psychology professors, armed with statistical tools and a penchant for puns.

[[RESULTS]]
The correlation analysis between Global Commercial Vehicle Production and the number of psychology faculty members in Montana yielded a coefficient of -0.8768624, indicating a strong negative relationship. This finding suggests that as the production of commercial vehicles increases, the number of psychology professors in Montana tends to decrease. It seems like the cars and the professors are playing opposite day!
The coefficient of determination, denoted by r-squared, stood at 0.7688877, signifying that approximately 76.89% of the variability in the number of psychology faculty members in Montana can be explained by the fluctuations in global commercial vehicle production. Who knew commercial vehicles could influence the psyche of the professors so much?
Moreover, the p-value being less than 0.01 underscores the statistical significance of our findings, providing robust evidence for the unusual relationship under investigation. It's as if the data is saying, "I'm not just making this up – the correlation is real!"
Fig. 1 presents a scatterplot depicting the strong negative correlation between Global Commercial Vehicle Production and the number of psychology faculty members in Montana. The data points form a clear downward trend, emphasizing the inverse relationship between these two variables.
Our results intrigue not only the statistical community but also the dad joke enthusiasts. This finding opens the door to a whole new realm of comedic material. "Why did the psychology professor bring a car door to class? So he could open up to the students! And the students said, 'Stop wheeling those jokes in!'"
We urge future researchers to delve into this curious connection, exploring the depths of commercial vehicle production and the enigmatic world of psychology faculty members in Montana. Who knows? Perhaps this unlikely pairing will lead to a groundbreaking revelation that will drive the field forward – pun intended!

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study unearthed a remarkable and unexpected negative correlation between Global Commercial Vehicle Production and the number of psychology faculty members in the state of Montana. This finding was consistent with the previous research conducted by Smith and Doe (2015), who identified significant relationships between vehicle production rates and economic indicators. It appears that vehicles not only drive the economy but also have an impact on the academic landscape. Talk about a drive-by influence!

Similarly, the work of Jones (2018), which explored the demographics of college faculty, provided valuable context for our research. The study's emphasis on unique characteristics that may influence faculty distribution resonates with the quirky nature of our investigation. It seems that the road to understanding the dynamics of psychology faculty members in Montana is paved with unexpected twists and turns – just like a winding mountain highway.

Our results also shed light on the whimsical and light-hearted backdrop of our study, as discussed in the literature review. The fictional narratives of "Drive Me Crazy" and "The Road Less Traveled" reflect the intersecting worlds of psychology and commercial vehicles, mirroring the unexpected correlation we uncovered. It's almost as if reality is imitating fiction – a psychosocial doppelgänger manifestation!

Moreover, the statistical significance of our findings, as indicated by the p-value of less than 0.01, further reinforces the robustness of the unexpected relationship we observed. It seems that statistical evidence is revving its engines and propelling us toward intriguing new avenues of exploration. Who knew that the world of academia could be so influenced by the hum of engines and the whisper of wind through open windows?

Our research has set the stage not only for scholarly amusement but also for future investigations into the crossroads of seemingly unrelated variables. The unexpected correlation between global commercial vehicle production and psychology faculty members in Montana invites a plethora of pun opportunities. Who would have thought that commercial vehicles and psychology professors would pair up as the ultimate odd couple?

In conclusion, our findings provide a unique lens through which to behold the interplay of industrial and academic influences. This study opens the door to new research avenues that may offer fresh perspectives on the intricate relationship between commercial vehicles and academic realms. We believe that this unanticipated correlation has the potential to drive the field forward, paving the way for innovative scholarly inquiries – and, perhaps, an onslaught of psychology-themed dad jokes!


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Global Commercial Vehicle Production and The number of college psychology teachers in Montana. 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]]
Studying the "Psych"ology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana

[[ABSTRACT]]
The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.

Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"

However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

[[INTRDUCTION]]
The world of academia is often ripe with unexpected connections and curious correlations. As researchers, we are constantly on the lookout for those "Eureka" moments when disparate entities come together in an intriguing dance of causation or correlation. The outer reaches of statistical analysis often lead us to ponder the whimsical and the bizarre, like the peculiar relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana. This unlikely pair has sparked both laughter and perplexity among the scholarly community, with whispers of "What do commercial vehicles and psychology professors have in common? They both like to analyze and decode human behavior!"
With the rise of big data and the ever-growing arsenal of statistical tools, it is no surprise that researchers have taken a keen interest in examining unconventional relationships, and this peculiar juxtaposition has not escaped our scrutiny. The conundrum has left many scratching their heads, prompting quips such as "Why did the statistician take a psychology class? To figure out what's driving this correlation!" Our endeavor seeks to shed light on this enigmatic association, unraveling the threads of statistical significance and potential implications – all while maintaining a sense of humor in the pursuit of knowledge.
Our study aims to build upon the existing body of research by delving into the labyrinth of global commercial vehicle production and the academic landscape of psychology in the state of Montana. We are driven by the curiosity to uncover the underlying mechanisms behind this unexpected pairing, all while embracing the occasional dad joke along the way. As we venture into the depths of statistical analysis and academic inquiry, we invite our readers to join us on this rollercoaster of data-driven wit and scholarly exploration, because after all, "What did the psychologist say to the commercial vehicle? Let's park these correlations and search for their driving force!"

[[RESULTS]]
The correlation analysis between Global Commercial Vehicle Production and the number of psychology faculty members in Montana yielded a coefficient of -0.8768624, indicating a strong negative relationship. This finding suggests that as the production of commercial vehicles increases, the number of psychology professors in Montana tends to decrease. It seems like the cars and the professors are playing opposite day!
The coefficient of determination, denoted by r-squared, stood at 0.7688877, signifying that approximately 76.89% of the variability in the number of psychology faculty members in Montana can be explained by the fluctuations in global commercial vehicle production. Who knew commercial vehicles could influence the psyche of the professors so much?
Moreover, the p-value being less than 0.01 underscores the statistical significance of our findings, providing robust evidence for the unusual relationship under investigation. It's as if the data is saying, "I'm not just making this up – the correlation is real!"
Fig. 1 presents a scatterplot depicting the strong negative correlation between Global Commercial Vehicle Production and the number of psychology faculty members in Montana. The data points form a clear downward trend, emphasizing the inverse relationship between these two variables.
Our results intrigue not only the statistical community but also the dad joke enthusiasts. This finding opens the door to a whole new realm of comedic material. "Why did the psychology professor bring a car door to class? So he could open up to the students! And the students said, 'Stop wheeling those jokes in!'"
We urge future researchers to delve into this curious connection, exploring the depths of commercial vehicle production and the enigmatic world of psychology faculty members in Montana. Who knows? Perhaps this unlikely pairing will lead to a groundbreaking revelation that will drive the field forward – pun intended!

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has revealed a compelling and enigmatic correlation between Global Commercial Vehicle Production and the number of psychology faculty members in Montana. The strong negative relationship, resembling a game of psychological dodgeball, highlights the unexpected interplay between these seemingly unrelated entities. This finding paves the way for a new breed of academic humor, such as, "Why did the psychology professor avoid commercial vehicles? They drove him to negative correlations!"

Our study not only provides statistical significance but also serves as a lighthearted reminder that even in the realm of scholarly inquiry, there's room for a good dad joke or two. As we close the doors on this investigation, we firmly assert that no further research is needed in this area. After all, as our findings show, the road between global commercial vehicle production and the psychology professor population in Montana is well and truly paved with statistical significance and silly quips.


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 Studying the Psychology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana. Respond only with the name of a fictional academic journal.

ChatGPT:

The International Journal of Transportation Psychology


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 Studying the Psychology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Human-Vehicle Interaction 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 Studying the Psychology of Commercial Vehicles: A Correlation Examination of Global Commercial Vehicle Production and the Number of Psychology Professors in Montana with an abstract of The relationship between Global Commercial Vehicle Production and the number of college psychology faculty members in the state of Montana has long been a source of humor, curiosity, and bewilderment. This study sought to delve into this quirky association using data from Statista and the Bureau of Labor Statistics. Analyzing the years 2003 to 2019, our research team unveiled a correlation coefficient of -0.8768624 and a significance level of p < 0.01, providing a statistically robust base for our findings.
Much to our surprise, the results indicated a strong negative correlation between these seemingly disparate entities, leaving us to ponder if commercial vehicle production is truly driving the psychology professor population down the road. Cue the chorus of "Why did the psychology professor bring a car door to class? So he could open up to the students!"
However, before we jump to any wild conclusions, further investigation and interdisciplinary quips are warranted. This unexpected connection leads to a plethora of pun opportunities, such as "What did the commercial vehicle production executive say to the psychology teacher? You're driving me crazy with all these correlations!" Our study aims to not only serve as a source of scholarly amusement but also to encourage future research into the playful interplay of seemingly unrelated variables.

ChatGPT:

global commercial vehicle production, montana, psychology professors, correlation examination, psychology faculty members, commercial vehicle production data, bureau of labor statistics, quirky association, correlation coefficient, significance level, interdisciplinary research, scholarly amusement, playful interplay, seemingly unrelated variables

*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

Global Commercial Vehicle Production
Source: Statista
See what else correlates with Global Commercial Vehicle Production

The number of college psychology teachers in Montana
Detailed data title: BLS estimate of psychology teachers, postsecondary in Montana
Source: Bureau of Larbor Statistics
See what else correlates with The number of college psychology teachers in Montana

Correlation r = -0.8768624 (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.7688877 (Coefficient of determination)
This means 76.9% of the change in the one variable (i.e., The number of college psychology teachers in Montana) is predictable based on the change in the other (i.e., Global Commercial Vehicle Production) over the 17 years from 2003 through 2019.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 3.8E-6. 0.0000038459308739033440000000
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.88 in 0.00038% of random cases. Said differently, if you correlated 260,015 random variables You don't actually need 260 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 16 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 16 because we have two variables measured over a period of 17 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.96, -0.68 ] 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.
20032004200520062007200820092010201120122013201420152016201720182019
Global Commercial Vehicle Production (Vehicles)18700000199000001960000019300000201000001780000014000000194000002020000021100000219000000022670000246000002412000025010000
The number of college psychology teachers in Montana (Laborers)707060801201401308080902003403601009010080




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. Inverted Y-axis: I inverted the Y-axis on the chart above so that the lines would move together. This is visually pleasing, but not at all intuitive. Below is a line graph that does not invert the Y-axis and starts 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([18700000,19900000,19600000,19300000,20100000,17800000,14000000,19400000,20200000,21100000,21900000,0,0,22670000,24600000,24120000,25010000,])
array_2 = np.array([70,70,60,80,120,140,130,80,80,90,200,340,360,100,90,100,80,])
array_1_name = "Global Commercial Vehicle Production"
array_2_name = "The number of college psychology teachers in Montana"

# 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 top-notch!


Correlation ID: 1151 · Black Variable ID: 463 · Red Variable ID: 10692
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0