about · email me · subscribe
Spurious correlation #2,664 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in Transportation and the second variable is The number of building inspectors in Nebraska.  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more transportation and materials moving experts acquired their Bachelor's degrees, they gained a deeper understanding of the importance of structurally sound buildings. This led to a surge in demand for building inspectors in Nebraska, as the newly minted transportation degree holders couldn't help but assess the integrity of every building they encountered, creating a quirky domino effect in the world of infrastructure.

Model: dalle-3
Prompt: Generate an image of a bustling cityscape with a group of enthusiastic graduates wearing caps and gowns, proudly displaying their Bachelor's degrees in transportation and materials moving in front of a row of sturdy, newly constructed buildings. Meanwhile, a team of focused building inspectors is briskly walking through the streets, carefully examining the structural integrity of the buildings with clipboards in hand. The scene is vibrant with the energy of knowledge and safety awareness, depicting progress and construction safety in a visually captivating manner. The emphasis should be on the convergence of academic achievement and construction diligence. 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: Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. 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: Magic realism Realistic Concept art An image that looks like it is a scene from 'Star Wars' a Polaroid photo
ChatGPT: Realistic

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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska, in the following situation: Because as more people become experts in moving things, they realize the need for safety in buildings. The rising number of Bachelor's degrees in Transportation and materials moving has ignited a wave of interest in inspecting the integrity of buildings, creating a demand for more building inspectors in Nebraska. It's like a traffic jam of knowledge leading to a construction safety boom!. Keep the description simple.
ChatGPT: In a bustling city, a group of graduates wearing caps and gowns proudly hold their Bachelor's degrees in transportation and materials moving. They stand in front of a line of sturdy, newly constructed buildings. Meanwhile, a team of building inspectors is seen briskly walking through the streets, their clipboards in hand, meticulously examining the structural integrity of the buildings. The energy of knowledge and safety awareness converges, creating a vibrant scene of progress and construction safety.

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: [ Realistic ] and depicting this scene: In a bustling city, a group of graduates wearing caps and gowns proudly hold their Bachelor's degrees in transportation and materials moving. They stand in front of a line of sturdy, newly constructed buildings. Meanwhile, a team of building inspectors is seen briskly walking through the streets, their clipboards in hand, meticulously examining the structural integrity of the buildings. The energy of knowledge and safety awareness converges, creating a vibrant scene of progress and construction safety. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a bustling cityscape with a group of enthusiastic graduates wearing caps and gowns, proudly displaying their Bachelor's degrees in transportation and materials moving in front of a row of sturdy, newly constructed buildings. Meanwhile, a team of focused building inspectors is briskly walking through the streets, carefully examining the structural integrity of the buildings with clipboards in hand. The scene is vibrant with the energy of knowledge and safety awareness, depicting progress and construction safety in a visually captivating manner. The emphasis should be on the convergence of academic achievement and construction diligence.

*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 Bachelor's degrees awarded in Transportation and materials moving caused The number of building inspectors in Nebraska to increase.

AI academic paper

(Because p < 0.01)
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

The Journal of Transport and Infrastructure Studies

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from National Center for Education Statistics and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9877277 and p < 0.01 for 2012 to 2021.

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]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.


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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The world of research is often a winding road, full of unexpected turns and surprising confluences that provoke excitement, reflection, and a healthy dose of bewilderment. In this paper, we set out to unravel the intricacies of the seemingly unrelated realms of transportation and materials moving, and building inspection in the state of Nebraska. As we embark on this journey, we are reminded of the enduring adage that "where there's data, there's a way," illustrating the importance of meticulous examination and analysis in unearthing hidden connections amidst the sea of statistical noise.

Much like a complex network of highways and byways, our investigation seeks to navigate the terrain of labor market dynamics, traversing the interwoven paths of academic pursuits and professional vocations. With a touch of statistical sleuthing and a dash of curiosity, we bring forth compelling evidence of a substantial correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the Cornhusker State.

It is undeniable that the relationship between these two arenas may not immediately jump out as the most riveting topic to dedicate one's research efforts to. However, as we delve deeper into the underpinnings of this correlation, we uncover a fascinating mosaic of interconnectedness that transcends conventional wisdom and challenges our assumptions about the labor market. In doing so, we are reminded that even in the seemingly mundane aspects of statistical analysis, there are hidden nuggets of humor and intrigue waiting to be uncovered.

Join us on this expedition as we unpack the nuances of these unexpected bedfellows, all while maintaining a healthy sense of scientific whimsy and a good dose of tongue-in-cheek humor. After all, who could resist the allure of exploring the uncharted territory where transportation meets building inspection, and where correlations reveal themselves with a flair that borders on the comical?



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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The world of research is often a winding road, full of unexpected turns and surprising confluences that provoke excitement, reflection, and a healthy dose of bewilderment. In this paper, we set out to unravel the intricacies of the seemingly unrelated realms of transportation and materials moving, and building inspection in the state of Nebraska. As we embark on this journey, we are reminded of the enduring adage that "where there's data, there's a way," illustrating the importance of meticulous examination and analysis in unearthing hidden connections amidst the sea of statistical noise.
Much like a complex network of highways and byways, our investigation seeks to navigate the terrain of labor market dynamics, traversing the interwoven paths of academic pursuits and professional vocations. With a touch of statistical sleuthing and a dash of curiosity, we bring forth compelling evidence of a substantial correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the Cornhusker State.
It is undeniable that the relationship between these two arenas may not immediately jump out as the most riveting topic to dedicate one's research efforts to. However, as we delve deeper into the underpinnings of this correlation, we uncover a fascinating mosaic of interconnectedness that transcends conventional wisdom and challenges our assumptions about the labor market. In doing so, we are reminded that even in the seemingly mundane aspects of statistical analysis, there are hidden nuggets of humor and intrigue waiting to be uncovered.
Join us on this expedition as we unpack the nuances of these unexpected bedfellows, all while maintaining a healthy sense of scientific whimsy and a good dose of tongue-in-cheek humor. After all, who could resist the allure of exploring the uncharted territory where transportation meets building inspection, and where correlations reveal themselves with a flair that borders on the comical?


-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The relationship between Bachelor's degrees awarded in Transportation and materials moving and the number of building inspectors in Nebraska has not received extensive attention in academic literature. However, recent studies have shed light on this curious correlation, prompting further investigation into this unexpected connection.

Smith et al. (2015) conducted a thorough analysis exploring the educational and occupational pathways in the field of transportation. The authors find a notable increase in the number of individuals pursuing Bachelor's degrees in Transportation-related disciplines over the past decade, reflecting the growing interest in this area. Meanwhile, Doe (2018) examines the labor market trends in Nebraska and notes a steady rise in the demand for building inspectors, particularly in the context of infrastructure development and urban planning.

Furthermore, Jones (2019) delves into the impact of educational qualifications on occupational choices and underscores the significance of specialized training in fields related to transportation and materials moving. These studies provide a foundational understanding of the educational and occupational landscape, setting the stage for our exploration of the unexpected correlation between these domains.

Turning to non-fiction literature, "The Art of Building Inspection" by A. Carpenter (2016) and "Transportation Trends: A Comprehensive Analysis" edited by R. Engineer (2017) offer valuable insights into the respective fields under consideration. Additionally, "Infrastructure Matters: Navigating the Complexities of Urban Development" by S. Urbanist (2019) provides a comprehensive overview of the intricate relationships between transportation infrastructure and building inspection practices.

In the realm of fiction, works such as "The Inspector's Journey" by E. Novel (2015) and "Roads Less Traveled: A Tale of Transporters" by T. Storyteller (2018) offer imaginative narratives that, while not directly tied to our research, serve as a reminder of the universal fascination with the themes of inspection and transportation.

In a departure from traditional academic sources, our research team also perused unconventional materials in the pursuit of comprehensive literature review. This included an extensive analysis of the informational content on the backs of shampoo bottles, providing unexpected yet oddly captivating insights into the world of labeling and regulation. While unconventional, this approach exemplifies our commitment to thorough investigation and a lighthearted exploration of the unexpected.


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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Bureau of Larbor Statistics . You used data from 2012 to 2021

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]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

[[INTRODUCTION]]
The world of research is often a winding road, full of unexpected turns and surprising confluences that provoke excitement, reflection, and a healthy dose of bewilderment. In this paper, we set out to unravel the intricacies of the seemingly unrelated realms of transportation and materials moving, and building inspection in the state of Nebraska. As we embark on this journey, we are reminded of the enduring adage that "where there's data, there's a way," illustrating the importance of meticulous examination and analysis in unearthing hidden connections amidst the sea of statistical noise.
Much like a complex network of highways and byways, our investigation seeks to navigate the terrain of labor market dynamics, traversing the interwoven paths of academic pursuits and professional vocations. With a touch of statistical sleuthing and a dash of curiosity, we bring forth compelling evidence of a substantial correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the Cornhusker State.
It is undeniable that the relationship between these two arenas may not immediately jump out as the most riveting topic to dedicate one's research efforts to. However, as we delve deeper into the underpinnings of this correlation, we uncover a fascinating mosaic of interconnectedness that transcends conventional wisdom and challenges our assumptions about the labor market. In doing so, we are reminded that even in the seemingly mundane aspects of statistical analysis, there are hidden nuggets of humor and intrigue waiting to be uncovered.
Join us on this expedition as we unpack the nuances of these unexpected bedfellows, all while maintaining a healthy sense of scientific whimsy and a good dose of tongue-in-cheek humor. After all, who could resist the allure of exploring the uncharted territory where transportation meets building inspection, and where correlations reveal themselves with a flair that borders on the comical?


-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To begin our endeavor into unraveling the mysterious connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in Nebraska, our team employed a data-driven approach that could put even the most meticulous crossword puzzle aficionado to shame. We meticulously sourced our data from the hallowed halls of the National Center for Education Statistics and the eclectic archives of the Bureau of Labor Statistics, ensuring that our analytical toolkit was replete with the choicest selection of statistical goodies.

Our odyssey through the labyrinth of data commenced with a thorough exploration of the number of Bachelor's degrees awarded in Transportation and materials moving, making sure not to get lost in the statistical traffic. After charting the tumultuous seas of labor statistics, we delved into the murky depths of building inspection employment figures, carefully avoiding any statistical potholes along the way.

Armed with a multifaceted analysis that would make even the most seasoned statistician envious, we took a magnifying glass to the data from the years 2012 to 2021. Unearthing the hidden gems within the dataset required a deft touch and a keen eye for detail, as we navigated through fluctuating trends and unforeseen correlations with all the finesse of a symphony conductor guiding an orchestra through a cacophony of data points.

In order to elucidate the intricate relationship between these seemingly unrelated realms, we employed the formidable power of statistical software to calculate the correlation coefficient, leaving no stone unturned in our quest for empirical enlightenment. The resulting coefficient of 0.9877277 stood as a testament to the serendipitous dance of data points, guiding us towards a conclusion that was as unexpected as it was captivating.

Our approach was rigorous, methodical, and, dare we say, infused with a dash of statistical savoir-faire that brought a touch of levity to the often staid world of research. As we emerged from the labyrinth of data analysis, armed with our findings and a newfound appreciation for the whims of statistical fate, we could not help but marvel at the unpredictable twists and turns that led us to this intriguing discovery.

In the end, our methodology may have been as convoluted as a tangled highway interchange, but the journey was paved with statistical revelations and a healthy dose of scientific amusement. After all, in the grand tapestry of research, it's not just about reaching the destination, but enjoying the rollercoaster ride of discovery along the way.


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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Bureau of Larbor Statistics .

For the time period 2012 to 2021, you found a correlation 0.9877277, r-squared of 0.9756061, 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]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The world of research is often a winding road, full of unexpected turns and surprising confluences that provoke excitement, reflection, and a healthy dose of bewilderment. In this paper, we set out to unravel the intricacies of the seemingly unrelated realms of transportation and materials moving, and building inspection in the state of Nebraska. As we embark on this journey, we are reminded of the enduring adage that "where there's data, there's a way," illustrating the importance of meticulous examination and analysis in unearthing hidden connections amidst the sea of statistical noise.
Much like a complex network of highways and byways, our investigation seeks to navigate the terrain of labor market dynamics, traversing the interwoven paths of academic pursuits and professional vocations. With a touch of statistical sleuthing and a dash of curiosity, we bring forth compelling evidence of a substantial correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the Cornhusker State.
It is undeniable that the relationship between these two arenas may not immediately jump out as the most riveting topic to dedicate one's research efforts to. However, as we delve deeper into the underpinnings of this correlation, we uncover a fascinating mosaic of interconnectedness that transcends conventional wisdom and challenges our assumptions about the labor market. In doing so, we are reminded that even in the seemingly mundane aspects of statistical analysis, there are hidden nuggets of humor and intrigue waiting to be uncovered.
Join us on this expedition as we unpack the nuances of these unexpected bedfellows, all while maintaining a healthy sense of scientific whimsy and a good dose of tongue-in-cheek humor. After all, who could resist the allure of exploring the uncharted territory where transportation meets building inspection, and where correlations reveal themselves with a flair that borders on the comical?


-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our analysis of the data from the National Center for Education Statistics and the Bureau of Labor Statistics during the period from 2012 to 2021 yielded a statistically significant correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation coefficient of 0.9877277, coupled with an r-squared value of 0.9756061, indicates a remarkably robust relationship between these two seemingly unrelated domains. The p-value of less than 0.01 further solidifies the strength of this association, raising eyebrows and prompting quizzical looks from even the most seasoned researchers.

Fig. 1 presents a scatterplot that irrefutably captures the striking correlation we stumbled upon. The plot itself is reminiscent of a well-constructed bridge, showcasing the close alignment of the two variables and providing a visual testament to the unexpected connection we unveiled. As we gaze upon this graph, we cannot help but appreciate the irony that while building inspectors check the structural integrity of bridges, our findings suggest that the path to becoming a building inspector may be paved with degrees in transportation.

The robustness of this correlation is akin to a sturdy overpass, built on a foundation of data and statistical analysis. While some may view this association as a mere statistical curiosity, our findings encourage a deeper reflection on the interplay between the transportation industry and the world of building inspection. As we navigate the twists and turns of this correlation, we are reminded that in the realm of research, there are often unexpected intersections ripe for exploration, reminding us that the data-driven journey can be as enjoyable as the destination.

In unraveling this surprising link, we have not only laid the groundwork for further inquiry into the underpinnings of labor market dynamics but also shed light on the whimsical nature of statistical relationships. It appears that even in the most unassuming of statistical analyses, there lies the potential for unexpected laughter and contemplation. Our results stand as a reminder that the world of research is not immune to the delightful absurdity that permeates our daily lives, and that every correlation, no matter how seemingly mundane, has the potential to surprise and amuse.


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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

[[LITERATURE REVIEW]]
The relationship between Bachelor's degrees awarded in Transportation and materials moving and the number of building inspectors in Nebraska has not received extensive attention in academic literature. However, recent studies have shed light on this curious correlation, prompting further investigation into this unexpected connection.
Smith et al. (2015) conducted a thorough analysis exploring the educational and occupational pathways in the field of transportation. The authors find a notable increase in the number of individuals pursuing Bachelor's degrees in Transportation-related disciplines over the past decade, reflecting the growing interest in this area. Meanwhile, Doe (2018) examines the labor market trends in Nebraska and notes a steady rise in the demand for building inspectors, particularly in the context of infrastructure development and urban planning.
Furthermore, Jones (2019) delves into the impact of educational qualifications on occupational choices and underscores the significance of specialized training in fields related to transportation and materials moving. These studies provide a foundational understanding of the educational and occupational landscape, setting the stage for our exploration of the unexpected correlation between these domains.
Turning to non-fiction literature, "The Art of Building Inspection" by A. Carpenter (2016) and "Transportation Trends: A Comprehensive Analysis" edited by R. Engineer (2017) offer valuable insights into the respective fields under consideration. Additionally, "Infrastructure Matters: Navigating the Complexities of Urban Development" by S. Urbanist (2019) provides a comprehensive overview of the intricate relationships between transportation infrastructure and building inspection practices.
In the realm of fiction, works such as "The Inspector's Journey" by E. Novel (2015) and "Roads Less Traveled: A Tale of Transporters" by T. Storyteller (2018) offer imaginative narratives that, while not directly tied to our research, serve as a reminder of the universal fascination with the themes of inspection and transportation.
In a departure from traditional academic sources, our research team also perused unconventional materials in the pursuit of comprehensive literature review. This included an extensive analysis of the informational content on the backs of shampoo bottles, providing unexpected yet oddly captivating insights into the world of labeling and regulation. While unconventional, this approach exemplifies our commitment to thorough investigation and a lighthearted exploration of the unexpected.

[[RESULTS]]
Our analysis of the data from the National Center for Education Statistics and the Bureau of Labor Statistics during the period from 2012 to 2021 yielded a statistically significant correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation coefficient of 0.9877277, coupled with an r-squared value of 0.9756061, indicates a remarkably robust relationship between these two seemingly unrelated domains. The p-value of less than 0.01 further solidifies the strength of this association, raising eyebrows and prompting quizzical looks from even the most seasoned researchers.
Fig. 1 presents a scatterplot that irrefutably captures the striking correlation we stumbled upon. The plot itself is reminiscent of a well-constructed bridge, showcasing the close alignment of the two variables and providing a visual testament to the unexpected connection we unveiled. As we gaze upon this graph, we cannot help but appreciate the irony that while building inspectors check the structural integrity of bridges, our findings suggest that the path to becoming a building inspector may be paved with degrees in transportation.
The robustness of this correlation is akin to a sturdy overpass, built on a foundation of data and statistical analysis. While some may view this association as a mere statistical curiosity, our findings encourage a deeper reflection on the interplay between the transportation industry and the world of building inspection. As we navigate the twists and turns of this correlation, we are reminded that in the realm of research, there are often unexpected intersections ripe for exploration, reminding us that the data-driven journey can be as enjoyable as the destination.
In unraveling this surprising link, we have not only laid the groundwork for further inquiry into the underpinnings of labor market dynamics but also shed light on the whimsical nature of statistical relationships. It appears that even in the most unassuming of statistical analyses, there lies the potential for unexpected laughter and contemplation. Our results stand as a reminder that the world of research is not immune to the delightful absurdity that permeates our daily lives, and that every correlation, no matter how seemingly mundane, has the potential to surprise and amuse.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The enigmatic relationship we uncovered between the number of Bachelor's degrees in Transportation and materials moving and the quantity of building inspectors in Nebraska has piqued the interest of our research team, prompting delightful musings and eyebrow-raising revelations. Our findings not only corroborate but also add a whimsical twist to prior research. Smith et al.'s (2015) exploration of the educational pathways in transportation has received an unexpected and amusing reinforcement through our discovery. The surge in individuals pursuing degrees in Transportation-related disciplines aligns with the surprising correlation we identified, exemplifying the delightful synchronicity between academic investigations and statistical whimsy.

Furthermore, Doe's (2018) examination of the labor market trends in Nebraska receives an unexpected sprinkle of amusement as our results elucidate a steady rise in the demand for building inspectors, seemingly intertwined with the flourishing interest in transportation degrees. The overlap in these realms may just be the 'building blocks' of a comically serendipitous career correlation, where inspectors inspect and transporters transport, with statistics cheerfully playing the role of the amused observer.

While the aforementioned literature provides a serious framework for our investigation, we also heeded the lessons from the off-kilter narratives found in fiction. E. Novel's "The Inspector's Journey" and T. Storyteller's "Roads Less Traveled: A Tale of Transporters" may appear whimsical at first glance, but they have inadvertently nudged us towards the unanticipated juncture we now find ourselves in—a merry intersection of transportation and building inspection, giggling at the sheer unpredictability of academic forays.

Our findings, with a correlation coefficient akin to a solidly constructed bridge, emphasize the lighthearted interconnectedness between these fields, reminding us that sometimes, statistical roads lead to remarkably unconventional destinations. As we navigate the curious crossroads of statistical association, we are compelled to appreciate the whimsy that underpins our society's peculiar interconnectedness, quite literally laying the groundwork for an uplifting and unexpected approach to labor market dynamics.

In the colorful tapestry of research, our results unveil the humorous nuances and unexpected laughter embedded in seemingly mundane statistical correlations. While our study delves into an unconventional correlation, it serves as a reminder that statistical analysis, much like life, is often rife with delightful surprises and comedic nuances. The bridge we have constructed with our findings, encapsulating the paradoxical relationship between transportation degrees and building inspectors, stands as a testament to the whimsical beauty of scholarly inquiry, proving that sometimes, the path to understanding may involve a humorous detour.


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 Bachelor's degrees awarded in Transportation and materials moving and The number of building inspectors in Nebraska. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska

[[ABSTRACT]]
This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

[[INTRDUCTION]]
The world of research is often a winding road, full of unexpected turns and surprising confluences that provoke excitement, reflection, and a healthy dose of bewilderment. In this paper, we set out to unravel the intricacies of the seemingly unrelated realms of transportation and materials moving, and building inspection in the state of Nebraska. As we embark on this journey, we are reminded of the enduring adage that "where there's data, there's a way," illustrating the importance of meticulous examination and analysis in unearthing hidden connections amidst the sea of statistical noise.
Much like a complex network of highways and byways, our investigation seeks to navigate the terrain of labor market dynamics, traversing the interwoven paths of academic pursuits and professional vocations. With a touch of statistical sleuthing and a dash of curiosity, we bring forth compelling evidence of a substantial correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the Cornhusker State.
It is undeniable that the relationship between these two arenas may not immediately jump out as the most riveting topic to dedicate one's research efforts to. However, as we delve deeper into the underpinnings of this correlation, we uncover a fascinating mosaic of interconnectedness that transcends conventional wisdom and challenges our assumptions about the labor market. In doing so, we are reminded that even in the seemingly mundane aspects of statistical analysis, there are hidden nuggets of humor and intrigue waiting to be uncovered.
Join us on this expedition as we unpack the nuances of these unexpected bedfellows, all while maintaining a healthy sense of scientific whimsy and a good dose of tongue-in-cheek humor. After all, who could resist the allure of exploring the uncharted territory where transportation meets building inspection, and where correlations reveal themselves with a flair that borders on the comical?


[[RESULTS]]
Our analysis of the data from the National Center for Education Statistics and the Bureau of Labor Statistics during the period from 2012 to 2021 yielded a statistically significant correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation coefficient of 0.9877277, coupled with an r-squared value of 0.9756061, indicates a remarkably robust relationship between these two seemingly unrelated domains. The p-value of less than 0.01 further solidifies the strength of this association, raising eyebrows and prompting quizzical looks from even the most seasoned researchers.
Fig. 1 presents a scatterplot that irrefutably captures the striking correlation we stumbled upon. The plot itself is reminiscent of a well-constructed bridge, showcasing the close alignment of the two variables and providing a visual testament to the unexpected connection we unveiled. As we gaze upon this graph, we cannot help but appreciate the irony that while building inspectors check the structural integrity of bridges, our findings suggest that the path to becoming a building inspector may be paved with degrees in transportation.
The robustness of this correlation is akin to a sturdy overpass, built on a foundation of data and statistical analysis. While some may view this association as a mere statistical curiosity, our findings encourage a deeper reflection on the interplay between the transportation industry and the world of building inspection. As we navigate the twists and turns of this correlation, we are reminded that in the realm of research, there are often unexpected intersections ripe for exploration, reminding us that the data-driven journey can be as enjoyable as the destination.
In unraveling this surprising link, we have not only laid the groundwork for further inquiry into the underpinnings of labor market dynamics but also shed light on the whimsical nature of statistical relationships. It appears that even in the most unassuming of statistical analyses, there lies the potential for unexpected laughter and contemplation. Our results stand as a reminder that the world of research is not immune to the delightful absurdity that permeates our daily lives, and that every correlation, no matter how seemingly mundane, has the potential to surprise and amuse.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has illuminated a remarkably robust correlation between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in Nebraska. Our findings, while initially surprising, underscore the intricate interplay between seemingly disparate fields, akin to uncovering a hidden road map where transportation meets building inspection. The statistical significance of this correlation, with a remarkable correlation coefficient of 0.9877277, paves the way for a new way of thinking about labor market dynamics. It is as if the data itself is signaling to us, "You've got to be kidding me!"

As we look back on our journey, we are reminded that research endeavors can often take unexpected and comical detours, much like a GPS that insists on taking the scenic route. Our study not only enriches our understanding of labor market dynamics but also serves as a gentle reminder of the whimsical nature of statistical relationships. We couldn't help but chuckle at the surprising bridge that formed between the world of transportation and the domain of building inspection, reminding us that even in the most ostensibly mundane realms of statistical analysis, there may reside unexpected humor and intrigue.

In the end, it seems that more research in this area may just drive us around in circles. We are confident in asserting that this correlation is a solid finding, and any further investigations are likely to yield diminishing returns. After all, there are only so many jokes you can make about transportation and building inspection before they start to lose their luster. So let's park our curiosity here and appreciate the delightful absurdity that emerges from the most unexpected statistical relationships.


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 Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Transport and Infrastructure Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Interdisciplinary Infrastructure 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 Build a Bridge and Get over It: The Surprising Link between Bachelor's Degrees in Transportation and Materials Moving and the Number of Building Inspectors in Nebraska with an abstract of This study delves into the unexpected connection between the number of Bachelor's degrees awarded in Transportation and materials moving and the quantity of building inspectors in the state of Nebraska. The correlation between these seemingly disparate fields was uncovered through a meticulous analysis of data from the National Center for Education Statistics and the Bureau of Labor Statistics, covering the years 2012 to 2021. Our research team unearthed a significant correlation coefficient of 0.9877277, with statistical significance at p < 0.01, shedding light on an intriguing relationship that has long been overlooked. As we build a framework to understand the interplay between these domains, our findings open the door to a bridge of knowledge that will allow us to traverse uncharted territory in the realm of labor market dynamics. This investigation paves the way for further exploration into how the transportation and building inspection industries intersect, all while reminding us that research findings can often take unexpected and amusing detours.

ChatGPT:

Bachelor's degrees in Transportation, Materials Moving, Building Inspectors, Nebraska, Labor Market Dynamics, National Center for Education Statistics, Bureau of Labor Statistics, Correlation Coefficient, Statistical Significance, Interdisciplinary Studies

*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

Bachelor's degrees awarded in Transportation
Detailed data title: Bachelor's degrees conferred by postsecondary institutions, in field of study: Transportation and materials moving
Source: National Center for Education Statistics
See what else correlates with Bachelor's degrees awarded in Transportation

The number of building inspectors in Nebraska
Detailed data title: BLS estimate of construction and building inspectors in Nebraska
Source: Bureau of Larbor Statistics
See what else correlates with The number of building inspectors in Nebraska

Correlation r = 0.9877277 (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.9756061 (Coefficient of determination)
This means 97.6% of the change in the one variable (i.e., The number of building inspectors in Nebraska) is predictable based on the change in the other (i.e., Bachelor's degrees awarded in Transportation) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 9.8E-8. 0.0000000977835127447418900000
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.99 in 9.8E-6% of random cases. Said differently, if you correlated 10,226,673 random variables You don't actually need 10 million 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 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 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.95, 1 ] 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.
2012201320142015201620172018201920202021
Bachelor's degrees awarded in Transportation (Degrees awarded)4876466145884730453147084924505152515993
The number of building inspectors in Nebraska (Laborers)360350350350310350380410460630




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.




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([4876,4661,4588,4730,4531,4708,4924,5051,5251,5993,])
array_2 = np.array([360,350,350,350,310,350,380,410,460,630,])
array_1_name = "Bachelor's degrees awarded in Transportation"
array_2_name = "The number of building inspectors in Nebraska"

# 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 shining a light on this correlation!


Correlation ID: 2664 · Black Variable ID: 1294 · Red Variable ID: 11028
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0