about · email me · subscribe
Spurious correlation #5,377 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Master's degrees awarded in information sciences and the second variable is Air pollution in Boise City.  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 the number of Master's degrees in information sciences soared, so did the demand for outdated computer equipment, leading to a surge in electronic waste incineration, ultimately polluting the air in Boise City. Remember, sometimes the quest for knowledge can lead to a smoggy outcome!

Model: dalle-3
Prompt: Prompt: Generate an image that showcases a futuristic cityscape dominated by stacks of towering Master's degree diplomas in information sciences, reaching into the sky. The diplomas are illuminated with a brilliant, high-tech glow, representing the surge in academic achievement. At the same time, billowing clouds of smog envelop the city as outdated computer equipment is incinerated, contributing to the air pollution. The scene captures the juxtaposition of knowledge advancement and environmental impact, showcasing a bustling, vibrant city with a hazy skyline. 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: Master's degrees awarded in information sciences and Air pollution in Boise City. 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: Oragami Magic realism High-tech Steampunk inspired by bauhaus
ChatGPT: High-tech

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 Master's degrees awarded in information sciences and Air pollution in Boise City, in the following situation: As the number of Master's degrees in information sciences soared, so did the demand for outdated computer equipment, leading to a surge in electronic waste incineration, ultimately polluting the air in Boise City. Remember, sometimes the quest for knowledge can lead to a smoggy outcome!. Keep the description simple.
ChatGPT: In a bustling Boise City, stacks of Master's degree diplomas in information sciences rise triumphantly into the sky, symbolizing the surge in academic achievement. However, amidst the celebration, clouds of smog form as outdated computer equipment is incinerated, adding to the air pollution. The scene captures the intersection of knowledge advancement and environmental impact, as the pursuit of education inadvertently contributes to the city's hazy skyline.

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: [ High-tech ] and depicting this scene: In a bustling Boise City, stacks of Master's degree diplomas in information sciences rise triumphantly into the sky, symbolizing the surge in academic achievement. However, amidst the celebration, clouds of smog form as outdated computer equipment is incinerated, adding to the air pollution. The scene captures the intersection of knowledge advancement and environmental impact, as the pursuit of education inadvertently contributes to the city's hazy skyline. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate an image that showcases a futuristic cityscape dominated by stacks of towering Master's degree diplomas in information sciences, reaching into the sky. The diplomas are illuminated with a brilliant, high-tech glow, representing the surge in academic achievement. At the same time, billowing clouds of smog envelop the city as outdated computer equipment is incinerated, contributing to the air pollution. The scene captures the juxtaposition of knowledge advancement and environmental impact, showcasing a bustling, vibrant city with a hazy skyline.

*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 Master's degrees awarded in information sciences caused Air pollution in Boise City to increase. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

Journal of Environmental Education and Information Sciences

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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 National Center for Education Statistics and Environmental Protection Agency to assess this nagging question. You found a correlation coefficient of 0.8511197 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]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The pursuit of knowledge in the field of information sciences has long been associated with expanding one's intellectual horizons and gaining new perspectives. However, in the depths of the data and the heights of the information superhighway, could there be an unexpected link between this academic pursuit and the air quality of our esteemed Boise City? This seemingly improbable connection sparks our curiosity and beckons us to delve into the intersection of higher education and atmospheric conditions.

As we embark on this scholarly voyage, it is essential to recognize the growing concern surrounding air pollution and its potential impacts on public health and environmental sustainability. Boise City, known for its picturesque landscape and vibrant community, has also faced its fair share of air quality challenges in recent years. The confluence of industrial activities, vehicular emissions, and natural topographical features prompts us to scrutinize our surroundings with a discerning eye.

On the other hand, the realm of information sciences has witnessed a steady rise in enthusiasm and enrollment. As the digital age continues to unfold, the allure of harnessing, analyzing, and disseminating information has captivated the intellectual curiosity of many aspiring scholars. With the increased availability of Master's degree programs in information sciences, it becomes imperative to scrutinize the potential ramifications of this academic pursuit on environmental factors. Could the intellectual endeavors of information science students be intertwined with the airy delicacies of our city's atmosphere?

In this study, we aim to bridge the realms of academia and air pollution, seeking to unravel the enigmatic relationship between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City. By employing empirical data from the National Center for Education Statistics and the Environmental Protection Agency, we embark on a statistical journey spanning a decade. Our quest is not merely to uncover correlations and coefficients, but to illuminate the underlying narratives that converge in the seemingly disparate worlds of academia and air quality.

As we navigate through the intricacies of this investigation, may we approach this scholarly pursuit with an openness to unexpected revelations and a keen sense of inquiry. The juxtaposition of educational attainments and airborne particles may indeed yield insights that tease the boundaries of conventional wisdom, challenging us to appreciate the intricate dance between human knowledge and natural phenomena. So, let us embrace the journey ahead, poised to uncover the secrets that linger in the air and within the halls of academia.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The pursuit of knowledge in the field of information sciences has long been associated with expanding one's intellectual horizons and gaining new perspectives. However, in the depths of the data and the heights of the information superhighway, could there be an unexpected link between this academic pursuit and the air quality of our esteemed Boise City? This seemingly improbable connection sparks our curiosity and beckons us to delve into the intersection of higher education and atmospheric conditions.
As we embark on this scholarly voyage, it is essential to recognize the growing concern surrounding air pollution and its potential impacts on public health and environmental sustainability. Boise City, known for its picturesque landscape and vibrant community, has also faced its fair share of air quality challenges in recent years. The confluence of industrial activities, vehicular emissions, and natural topographical features prompts us to scrutinize our surroundings with a discerning eye.
On the other hand, the realm of information sciences has witnessed a steady rise in enthusiasm and enrollment. As the digital age continues to unfold, the allure of harnessing, analyzing, and disseminating information has captivated the intellectual curiosity of many aspiring scholars. With the increased availability of Master's degree programs in information sciences, it becomes imperative to scrutinize the potential ramifications of this academic pursuit on environmental factors. Could the intellectual endeavors of information science students be intertwined with the airy delicacies of our city's atmosphere?
In this study, we aim to bridge the realms of academia and air pollution, seeking to unravel the enigmatic relationship between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City. By employing empirical data from the National Center for Education Statistics and the Environmental Protection Agency, we embark on a statistical journey spanning a decade. Our quest is not merely to uncover correlations and coefficients, but to illuminate the underlying narratives that converge in the seemingly disparate worlds of academia and air quality.
As we navigate through the intricacies of this investigation, may we approach this scholarly pursuit with an openness to unexpected revelations and a keen sense of inquiry. The juxtaposition of educational attainments and airborne particles may indeed yield insights that tease the boundaries of conventional wisdom, challenging us to appreciate the intricate dance between human knowledge and natural phenomena. So, let us embrace the journey ahead, poised to uncover the secrets that linger in the air and within the halls of academia.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The confluence of seemingly disparate realms, the academic pursuit of information sciences and the atmospheric composition of Boise City, beckons us to explore the existing landscape of literature to shed light on this intriguing association. In "Smith et al.'s 2015 study," the authors find a growing body of evidence pointing to the significant impact of higher education on various societal and environmental phenomena. Similarly, "Doe and Jones' 2018 research" delves into the nuanced connections between academic pursuits and unexpected environmental outcomes, laying the groundwork for our investigation.

Moving beyond the academic milieu, several non-fiction texts provide valuable insights into the multifaceted interplay between education and environmental factors. "The Big Smoke: A History of Air Pollution in London" by Peter Brimblecombe offers a historical perspective on air pollution, serving as a reminder of the intricate balance between human endeavors and atmospheric conditions. Likewise, "Silent Spring" by Rachel Carson revolutionized environmental awareness, underscoring the critical need to scrutinize the unintended consequences of academic and industrial activities.

Expanding our purview to the realm of fiction, "The Air You Breathe" by Frances de Pontes Peebles presents a captivating tale set against the backdrop of environmental change, weaving together themes of aspiration and atmosphere. Additionally, "Cloud Atlas" by David Mitchell, though focused on broader narratives, hints at the ethereal connections between human knowledge and the intangible, much like our own scholarly endeavor.

Venturing into the unexpected, our inquiry extends to unconventional sources, including a thorough perusal of shopping receipts and restaurant menus, humorously referred to as the "CVS Receipt Study." While not academically sanctioned, the juxtaposition of finding statistical significance in customer purchase patterns and air quality data adds a whimsical layer to our thorough review of the existing literature.

As we immerse ourselves in this eclectic array of sources, from academic studies to literary works and whimsical experiments, we are poised to uncover the unexpected and embrace the quirky corners of knowledge in our pursuit of understanding the intricate dance between information sciences education and the air we breathe in Boise City.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Environmental Protection Agency . 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]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

[[INTRODUCTION]]
The pursuit of knowledge in the field of information sciences has long been associated with expanding one's intellectual horizons and gaining new perspectives. However, in the depths of the data and the heights of the information superhighway, could there be an unexpected link between this academic pursuit and the air quality of our esteemed Boise City? This seemingly improbable connection sparks our curiosity and beckons us to delve into the intersection of higher education and atmospheric conditions.
As we embark on this scholarly voyage, it is essential to recognize the growing concern surrounding air pollution and its potential impacts on public health and environmental sustainability. Boise City, known for its picturesque landscape and vibrant community, has also faced its fair share of air quality challenges in recent years. The confluence of industrial activities, vehicular emissions, and natural topographical features prompts us to scrutinize our surroundings with a discerning eye.
On the other hand, the realm of information sciences has witnessed a steady rise in enthusiasm and enrollment. As the digital age continues to unfold, the allure of harnessing, analyzing, and disseminating information has captivated the intellectual curiosity of many aspiring scholars. With the increased availability of Master's degree programs in information sciences, it becomes imperative to scrutinize the potential ramifications of this academic pursuit on environmental factors. Could the intellectual endeavors of information science students be intertwined with the airy delicacies of our city's atmosphere?
In this study, we aim to bridge the realms of academia and air pollution, seeking to unravel the enigmatic relationship between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City. By employing empirical data from the National Center for Education Statistics and the Environmental Protection Agency, we embark on a statistical journey spanning a decade. Our quest is not merely to uncover correlations and coefficients, but to illuminate the underlying narratives that converge in the seemingly disparate worlds of academia and air quality.
As we navigate through the intricacies of this investigation, may we approach this scholarly pursuit with an openness to unexpected revelations and a keen sense of inquiry. The juxtaposition of educational attainments and airborne particles may indeed yield insights that tease the boundaries of conventional wisdom, challenging us to appreciate the intricate dance between human knowledge and natural phenomena. So, let us embrace the journey ahead, poised to uncover the secrets that linger in the air and within the halls of academia.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To disentangle the enigmatic connection between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City, we employed a blend of statistical analyses, data wrangling acrobatics, and a touch of whimsy. Our journey through this methodological maze began with the collection of pertinent data from the hallowed repositories of the National Center for Education Statistics and the whimsical corridors of the Environmental Protection Agency. Gathered across the expanse of the internet, these data sources provided us with a treasure trove of information spanning the years 2012 to 2021, inviting us to embark on a data-driven odyssey.

First and foremost, our data wrangling exploits involved the meticulous extraction and collation of the number of Master's degrees awarded in information sciences within the Boise City metropolitan area, painting a vivid portrait of the academic pursuits shrouded in pixelated screens and scholarly bibliographies. We then pirouetted into the realm of air pollutants, deftly capturing the concentration of atmospheric contaminants such as particulate matter, ozone, and nitrogen dioxide snaking through the alleys of the City of Trees.

With these disparate datasets in hand, we tapped into the harmonic melody of statistical analyses, dancing with correlation coefficients and p-values in a grand waltz of significance. Our primary weapon of choice was the Pearson correlation coefficient, which graciously unveiled the degree of association between the number of Master's degrees awarded in information sciences and the levels of airborne pollutants in Boise City. Embracing the conventions of hypothesis testing, we merrily assessed the statistical significance of our findings, utilizing an alpha level reminiscent of a much-loved sitcom catchphrase: p < 0.01.

To complement these quantitative ventures, we indulged in the creation of spiffy visual representations, conjuring scatterplots that depicted the whimsical interplay between educational achievements and atmospheric whimsies. These visual aids not only showcased the tantalizing patterns arising from our data but also served as a beacon of elucidation for our scientific voyagers.

While our methods might seem akin to a playful romp through a data-driven wonderland, our analyses were underpinned by a commitment to rigor and precision. We enacted quality control measures to ensure the coherence and integrity of the data, employing validation techniques that would make a meticulous librarian nod in approval. Furthermore, our statistical modeling encompassed exploratory analyses, regression frolics, and sensitivity tests to probe the robustness of our findings and entertain alternative narratives.

In essence, our methodological approach straddled the realms of empirical investigation and scholarly jest, offering a meticulous yet spirited delve into the interwoven realms of academia and atmospheric intrigue. With a twirl and a flourish, we proceeded to unravel the statistical tapestries that bridged the chasm between the learned pursuits of information science and the ethereal nuances of Boise City's air quality.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Environmental Protection Agency .

For the time period 2012 to 2021, you found a correlation 0.8511197, r-squared of 0.7244047, 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]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The pursuit of knowledge in the field of information sciences has long been associated with expanding one's intellectual horizons and gaining new perspectives. However, in the depths of the data and the heights of the information superhighway, could there be an unexpected link between this academic pursuit and the air quality of our esteemed Boise City? This seemingly improbable connection sparks our curiosity and beckons us to delve into the intersection of higher education and atmospheric conditions.
As we embark on this scholarly voyage, it is essential to recognize the growing concern surrounding air pollution and its potential impacts on public health and environmental sustainability. Boise City, known for its picturesque landscape and vibrant community, has also faced its fair share of air quality challenges in recent years. The confluence of industrial activities, vehicular emissions, and natural topographical features prompts us to scrutinize our surroundings with a discerning eye.
On the other hand, the realm of information sciences has witnessed a steady rise in enthusiasm and enrollment. As the digital age continues to unfold, the allure of harnessing, analyzing, and disseminating information has captivated the intellectual curiosity of many aspiring scholars. With the increased availability of Master's degree programs in information sciences, it becomes imperative to scrutinize the potential ramifications of this academic pursuit on environmental factors. Could the intellectual endeavors of information science students be intertwined with the airy delicacies of our city's atmosphere?
In this study, we aim to bridge the realms of academia and air pollution, seeking to unravel the enigmatic relationship between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City. By employing empirical data from the National Center for Education Statistics and the Environmental Protection Agency, we embark on a statistical journey spanning a decade. Our quest is not merely to uncover correlations and coefficients, but to illuminate the underlying narratives that converge in the seemingly disparate worlds of academia and air quality.
As we navigate through the intricacies of this investigation, may we approach this scholarly pursuit with an openness to unexpected revelations and a keen sense of inquiry. The juxtaposition of educational attainments and airborne particles may indeed yield insights that tease the boundaries of conventional wisdom, challenging us to appreciate the intricate dance between human knowledge and natural phenomena. So, let us embrace the journey ahead, poised to uncover the secrets that linger in the air and within the halls of academia.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The correlation analysis between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City yielded intriguing results. Over the ten-year period from 2012 to 2021, we found a remarkably strong correlation coefficient of 0.8511197, indicating a robust relationship between these seemingly disparate variables. The coefficient of determination (r-squared) further underscored the substantial association, with a value of 0.7244047. The p-value of less than 0.01 provided additional support for the statistical significance of the observed correlation.

Figure 1 depicts a scatterplot illustrating the striking correlation between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. The visual representation vividly captures the convergence of these seemingly unrelated factors, inviting further contemplation on the intricate interplay between academic pursuits and atmospheric conditions.

These findings, while unexpected at first glance, spark contemplation on the potential influence of knowledge dissemination and intellectual engagement on the environmental landscape. The strong positive relationship between the pursuit of information sciences education and air pollution levels in Boise City unveils a thought-provoking correlation that prompts us to explore new avenues of inquiry and understanding.

This unexpected bond between academia and air quality in the City of Trees offers a breath of fresh air in our comprehension of the multifaceted dynamics at play. While the initial astonishment may lead to raised eyebrows, our results prod us to embrace the potential unexpected links that underpin our interconnected world. This study opens the door to recognizing the intricate ties between academic attainment and environmental influences, fostering a deeper appreciation for the unanticipated harmony that may arise amidst the complexities of human knowledge and natural phenomena.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

[[LITERATURE REVIEW]]
The confluence of seemingly disparate realms, the academic pursuit of information sciences and the atmospheric composition of Boise City, beckons us to explore the existing landscape of literature to shed light on this intriguing association. In "Smith et al.'s 2015 study," the authors find a growing body of evidence pointing to the significant impact of higher education on various societal and environmental phenomena. Similarly, "Doe and Jones' 2018 research" delves into the nuanced connections between academic pursuits and unexpected environmental outcomes, laying the groundwork for our investigation.
Moving beyond the academic milieu, several non-fiction texts provide valuable insights into the multifaceted interplay between education and environmental factors. "The Big Smoke: A History of Air Pollution in London" by Peter Brimblecombe offers a historical perspective on air pollution, serving as a reminder of the intricate balance between human endeavors and atmospheric conditions. Likewise, "Silent Spring" by Rachel Carson revolutionized environmental awareness, underscoring the critical need to scrutinize the unintended consequences of academic and industrial activities.
Expanding our purview to the realm of fiction, "The Air You Breathe" by Frances de Pontes Peebles presents a captivating tale set against the backdrop of environmental change, weaving together themes of aspiration and atmosphere. Additionally, "Cloud Atlas" by David Mitchell, though focused on broader narratives, hints at the ethereal connections between human knowledge and the intangible, much like our own scholarly endeavor.
Venturing into the unexpected, our inquiry extends to unconventional sources, including a thorough perusal of shopping receipts and restaurant menus, humorously referred to as the "CVS Receipt Study." While not academically sanctioned, the juxtaposition of finding statistical significance in customer purchase patterns and air quality data adds a whimsical layer to our thorough review of the existing literature.
As we immerse ourselves in this eclectic array of sources, from academic studies to literary works and whimsical experiments, we are poised to uncover the unexpected and embrace the quirky corners of knowledge in our pursuit of understanding the intricate dance between information sciences education and the air we breathe in Boise City.

[[RESULTS]]
The correlation analysis between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City yielded intriguing results. Over the ten-year period from 2012 to 2021, we found a remarkably strong correlation coefficient of 0.8511197, indicating a robust relationship between these seemingly disparate variables. The coefficient of determination (r-squared) further underscored the substantial association, with a value of 0.7244047. The p-value of less than 0.01 provided additional support for the statistical significance of the observed correlation.
Figure 1 depicts a scatterplot illustrating the striking correlation between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. The visual representation vividly captures the convergence of these seemingly unrelated factors, inviting further contemplation on the intricate interplay between academic pursuits and atmospheric conditions.
These findings, while unexpected at first glance, spark contemplation on the potential influence of knowledge dissemination and intellectual engagement on the environmental landscape. The strong positive relationship between the pursuit of information sciences education and air pollution levels in Boise City unveils a thought-provoking correlation that prompts us to explore new avenues of inquiry and understanding.
This unexpected bond between academia and air quality in the City of Trees offers a breath of fresh air in our comprehension of the multifaceted dynamics at play. While the initial astonishment may lead to raised eyebrows, our results prod us to embrace the potential unexpected links that underpin our interconnected world. This study opens the door to recognizing the intricate ties between academic attainment and environmental influences, fostering a deeper appreciation for the unanticipated harmony that may arise amidst the complexities of human knowledge and natural phenomena.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our investigation paint a vivid picture of the unexpected dance between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. While one might at first be inclined to dismiss the notion of a tangible link between these two seemingly incongruent entities, our findings robustly support the notion of a remarkable association.

Our study builds upon the existing literature that tentatively probes into the surprising connections between academic pursuits and tangible environmental outcomes. The work of Smith et al. (2015) and Doe and Jones (2018) paved the way for our exploration, and remarkably, our results align with and fortify their earlier observations. Far from being an academic flight of fancy, our findings lend credence to the notion that the pursuit of information sciences education, as outlined in "Smith et al.'s 2015 study," may indeed exert an underappreciated influence on environmental dynamics.

The unexpected yet resolute connection between these variables invites us to consider the potential mechanisms at play. Could it be that the influx of knowledge-hungry individuals obtaining Master's degrees in information sciences catalyzes a stream of intellectual discourse that, in turn, generates heightened societal awareness of environmental issues? Alternatively, might it be the case that the very act of acquiring knowledge in this field brings about innovative approaches to address air quality concerns in Boise City? These are but a few speculations amidst an ocean of potential explanations deserving of further exploration.

The whimsical inclusion of references to non-fiction and fiction works in our literature review, such as "The Big Smoke" by Peter Brimblecombe and "The Air You Breathe" by Frances de Pontes Peebles, intriguingly echoed our empirical observations. These seemingly fanciful allusions surprisingly found validation in the rigorous statistical analysis, highlighting the serendipitous overlap between scholarly pursuits and tangible environmental phenomena.

Our results, depicted in the form of a scatterplot, offer a visually compelling testament to the strong positive relationship we unearthed. The coherence of this relationship underscores the urgent need to go beyond conventional academic boundaries and embrace the potential entanglement of knowledge dissemination and environmental repercussions. The striking correlation between the pursuit of information sciences education and air pollution levels in Boise City opens the door to a deeper understanding of the enigmatic interplay between human intellectual endeavors and atmospheric conditions.

In closing, our study fosters a newfound appreciation for the unforeseen harmony that can arise amidst the complexities of human knowledge and natural phenomena. The unexpected bond between academia and air quality in the City of Trees furnishes an opportunity to delve into uncharted territories, challenging us to remain open to the myriad unexpected links that underpin our interconnected world.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Master's degrees awarded in information sciences and Air pollution in Boise City. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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]]
The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?

[[ABSTRACT]]
In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

[[INTRDUCTION]]
The pursuit of knowledge in the field of information sciences has long been associated with expanding one's intellectual horizons and gaining new perspectives. However, in the depths of the data and the heights of the information superhighway, could there be an unexpected link between this academic pursuit and the air quality of our esteemed Boise City? This seemingly improbable connection sparks our curiosity and beckons us to delve into the intersection of higher education and atmospheric conditions.
As we embark on this scholarly voyage, it is essential to recognize the growing concern surrounding air pollution and its potential impacts on public health and environmental sustainability. Boise City, known for its picturesque landscape and vibrant community, has also faced its fair share of air quality challenges in recent years. The confluence of industrial activities, vehicular emissions, and natural topographical features prompts us to scrutinize our surroundings with a discerning eye.
On the other hand, the realm of information sciences has witnessed a steady rise in enthusiasm and enrollment. As the digital age continues to unfold, the allure of harnessing, analyzing, and disseminating information has captivated the intellectual curiosity of many aspiring scholars. With the increased availability of Master's degree programs in information sciences, it becomes imperative to scrutinize the potential ramifications of this academic pursuit on environmental factors. Could the intellectual endeavors of information science students be intertwined with the airy delicacies of our city's atmosphere?
In this study, we aim to bridge the realms of academia and air pollution, seeking to unravel the enigmatic relationship between the number of Master's degrees awarded in information sciences and the atmospheric composition of Boise City. By employing empirical data from the National Center for Education Statistics and the Environmental Protection Agency, we embark on a statistical journey spanning a decade. Our quest is not merely to uncover correlations and coefficients, but to illuminate the underlying narratives that converge in the seemingly disparate worlds of academia and air quality.
As we navigate through the intricacies of this investigation, may we approach this scholarly pursuit with an openness to unexpected revelations and a keen sense of inquiry. The juxtaposition of educational attainments and airborne particles may indeed yield insights that tease the boundaries of conventional wisdom, challenging us to appreciate the intricate dance between human knowledge and natural phenomena. So, let us embrace the journey ahead, poised to uncover the secrets that linger in the air and within the halls of academia.

[[RESULTS]]
The correlation analysis between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City yielded intriguing results. Over the ten-year period from 2012 to 2021, we found a remarkably strong correlation coefficient of 0.8511197, indicating a robust relationship between these seemingly disparate variables. The coefficient of determination (r-squared) further underscored the substantial association, with a value of 0.7244047. The p-value of less than 0.01 provided additional support for the statistical significance of the observed correlation.
Figure 1 depicts a scatterplot illustrating the striking correlation between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. The visual representation vividly captures the convergence of these seemingly unrelated factors, inviting further contemplation on the intricate interplay between academic pursuits and atmospheric conditions.
These findings, while unexpected at first glance, spark contemplation on the potential influence of knowledge dissemination and intellectual engagement on the environmental landscape. The strong positive relationship between the pursuit of information sciences education and air pollution levels in Boise City unveils a thought-provoking correlation that prompts us to explore new avenues of inquiry and understanding.
This unexpected bond between academia and air quality in the City of Trees offers a breath of fresh air in our comprehension of the multifaceted dynamics at play. While the initial astonishment may lead to raised eyebrows, our results prod us to embrace the potential unexpected links that underpin our interconnected world. This study opens the door to recognizing the intricate ties between academic attainment and environmental influences, fostering a deeper appreciation for the unanticipated harmony that may arise amidst the complexities of human knowledge and natural phenomena.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has shed light on the unexpected correlation between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. The remarkably strong correlation coefficient and statistical significance urge us to consider the uncharted interplay between academia and atmospheric composition. While initially surprising, these findings emphasize the intricate dance between knowledge acquisition and environmental influences.

This study unearths a breath of fresh air in our understanding of the nuanced connections that transcend disciplinary boundaries. The juxtaposition of intellectual pursuits and atmospheric conditions may evoke a wry smile, as we realize that the pursuit of academic enlightenment may carry implications beyond the confines of the lecture hall.

Our results invite contemplation on the potential implications of academic pursuits and knowledge dissemination in shaping our environmental landscape. As we consider the bond between information sciences education and air quality, we are reminded of the whimsical complexities that underpin our world.

However, while the correlation tantalizes the imagination, it also beckons a note of caution against hasty generalizations and ambitious extrapolations. As researchers, we must tread lightly when interpreting these unexpected associations, balancing the allure of novel connections with a dose of scholarly skepticism.

In light of our findings, it is clear that this study has uncovered an intriguing avenue for future exploration. Nonetheless, it is with a tacit nod and a sly grin that we assert the sufficiency of this investigation. No more research is needed in this area.


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 The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Environmental Education and Information Sciences


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 The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge?. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Environmental Informatics and Air Quality 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 The Information Sciences Degree and Air Pollution in Boise City: Breathe Easy or Breathe in Knowledge? with an abstract of In this study, we examine the association between the number of Master's degrees awarded in information sciences and air pollution levels in Boise City. By utilizing data from the National Center for Education Statistics and the Environmental Protection Agency, we performed a ten-year analysis from 2012 to 2021. Our findings reveal a striking correlation coefficient of 0.8511197 and p < 0.01, suggesting a strong positive relationship between the two variables. While this statistical connection may appear curious at first, our results hint at the possibility of a breath of fresh air in our understanding of the impact of information science education on environmental factors. This research provides an important step in recognizing the unforeseen interplay between academic pursuits and atmospheric conditions, shedding light on potential paths for cleaner air and clearer minds in the City of Trees.

ChatGPT:

information sciences degree, air pollution levels, Boise City, Master's degrees awarded, National Center for Education Statistics, Environmental Protection Agency, correlation coefficient, statistical analysis, academic pursuits, atmospheric conditions, cleaner air, clearer minds

*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

Master's degrees awarded in information sciences
Detailed data title: Master's degrees conferred by postsecondary institutions in Computer and information sciences and support services
Source: National Center for Education Statistics
See what else correlates with Master's degrees awarded in information sciences

Air pollution in Boise City
Detailed data title: Percentage of days with moderate or worse air quality in Boise City, ID
Source: Environmental Protection Agency
See what else correlates with Air pollution in Boise City

Correlation r = 0.8511197 (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.7244047 (Coefficient of determination)
This means 72.4% of the change in the one variable (i.e., Air pollution in Boise City) is predictable based on the change in the other (i.e., Master's degrees awarded in information sciences) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.0018. 0.0017887527369227934000000000
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.85 in 0.18% of random cases. Said differently, if you correlated 559 random variables Which I absolutely did.
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.48, 0.96 ] 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
Master's degrees awarded in information sciences (Degrees awarded)20925227822451431475401304655346468456715152754174
Air pollution in Boise City (Bad air quality days)27.868925.753420.27426.575340.437250.13745.205532.054842.349744.9315




Why this works

  1. Data dredging: I have 25,237 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 636,906,169 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([20925,22782,24514,31475,40130,46553,46468,45671,51527,54174,])
array_2 = np.array([27.8689,25.7534,20.274,26.5753,40.4372,50.137,45.2055,32.0548,42.3497,44.9315,])
array_1_name = "Master's degrees awarded in information sciences"
array_2_name = "Air pollution in Boise City"

# 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 correlation rating is out of this world!


Correlation ID: 5377 · Black Variable ID: 1318 · Red Variable ID: 20370
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0