about · email me · subscribe
Spurious correlation #1,761 · 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 Physical sciences and the second variable is Professor salaries in the US.  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 Physical sciences decreased, there was a corresponding drop in overly elaborate physics experiments designed for the sole purpose of impressing the department head. Without these displays of academic showmanship, the value of such professors in the job market took a hit, leading to lower salaries. It turns out, there's no quantum entanglement between Master's degrees and professor paychecks!

Model: dalle-3
Prompt: Prompt: Generate a hyper-realistic image of a university auditorium filled with professors in the physical sciences presenting their research findings. Behind them, a banner proudly displays "Masters Degrees Awarded in Physical Sciences." The dean of the department, well-dressed in a suit, hands out paychecks to each professor reflecting their high salaries. The scene should capture the enthusiasm and intellectual atmosphere of the auditorium, while also portraying the sense of accomplishment and prosperity among the professors. 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 Physical sciences and Professor salaries in the US. 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: Glitch art Photorealism Cutsy graphics A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s Hyper-realistic
ChatGPT: Hyper-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 Master's degrees awarded in Physical sciences and Professor salaries in the US together. Keep the description simple.
ChatGPT: In a university auditorium, a group of professors in the physical sciences present their research findings. Behind them, a banner proudly displays "Masters Degrees Awarded in Physical Sciences." As they speak, the dean of the department, well-dressed in a suit, hands out paychecks to each professor, reflecting their high salaries.

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: [ Hyper-realistic ] and depicting this scene: In a university auditorium, a group of professors in the physical sciences present their research findings. Behind them, a banner proudly displays "Masters Degrees Awarded in Physical Sciences." As they speak, the dean of the department, well-dressed in a suit, hands out paychecks to each professor, reflecting their high salaries. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Prompt: Generate a hyper-realistic image of a university auditorium filled with professors in the physical sciences presenting their research findings. Behind them, a banner proudly displays "Masters Degrees Awarded in Physical Sciences." The dean of the department, well-dressed in a suit, hands out paychecks to each professor reflecting their high salaries. The scene should capture the enthusiasm and intellectual atmosphere of the auditorium, while also portraying the sense of accomplishment and prosperity among the professors.

*Variations in the User Prompts from chart to chart are just the result of random number generation in Python. I wrote a few arrays of various styles and methods to ask questions to change up the results. Every time this site writes an explanation or generates an image, the script picks from each at random.

I sequence the requests into multiple prompts because I find GPT 3.5 to perform much better with short, well-managed contexts. Thus, I track the context directly in Python and only ask ChatGPT targeted questions.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in Master's degrees awarded in Physical sciences caused Professor salaries in the US to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

Journal of Intergalactic Education Research

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 Physical sciences and Professor salaries in the US. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title an alliteration.

Your research team used data from National Center for Education Statistics and National Center for Education Statistics to assess this nagging question. You found a correlation coefficient of 0.8837832 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.


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 Physical sciences and Professor salaries in the US. 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The pursuit of understanding the nuanced relationship between education and income has long been a central area of inquiry for researchers across disciplines. As the academic landscape continues to evolve, one cannot help but be drawn to the magnetism of master's degrees in physical sciences and their gravitational pull on professorial salaries in the United States. It is this tantalizing interplay that forms the subject of our investigation, seeking to uncover the mysteries behind this seemingly enchanting connection.

Before delving into the specifics of our analysis, it is worth acknowledging the multifaceted nature of the academic world. It's a world where equations and theorems often intercept with budget drafts and payroll discussions. Hence, the marriage between academic qualifications and financial compensation is neither formulaic nor deterministic. Rather, it is akin to navigating a maze where statistical methods and econometric models act as our trusty guideposts, illuminating the path through the labyrinth of data.

The correlation between the number of master's degrees awarded in physical sciences and professorial salaries is an engrossing puzzle, intriguing in both its complexity and potential implications. Indeed, the allure of educational qualifications and compensation has prompted us to embark on a journey that transcends conventional wisdom and delves into the heart of this arcane connection.

The data, gathered meticulously from the National Center for Education Statistics, has given us a treasure trove of information on the awarding of master's degrees in the physical sciences, while the National Center for Education Statistics has furnished us with comprehensive insights into the ebb and flow of professorial salaries. With these rich resources at our disposal, we stand on the precipice of unlocking a truly mesmerizing correlation.

In this paper, we unveil the results of our comprehensive analysis, wherein we apply rigorous statistical techniques to unravel the nexus between the number of master's degrees in physical sciences and the pecuniary rewards enjoyed by professors. Through our exploration, we aim to shed light on the dynamics underlying this mesmerizing relationship, demystifying the forces that propel the gravitational pull of master's degrees on professorial paychecks.

In traversing this terrain, we exude cautious optimism, cognizant of the pitfalls that accompany the pursuit of knowledge. It is our hope that our findings serve as a beacon, igniting curiosity and catalyzing further research in this spellbinding nexus between academic qualifications and earning potential. Our journey begins with an open mind and a quiver full of analytical tools, ready to decode the enigma of Master's Magic.

I find myself saying, "Welcome to Master's Magic, where we'll master the art of connecting master's degrees and paychecks!"


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 Physical sciences and Professor salaries in the US. 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 name a couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The pursuit of understanding the nuanced relationship between education and income has long been a central area of inquiry for researchers across disciplines. As the academic landscape continues to evolve, one cannot help but be drawn to the magnetism of master's degrees in physical sciences and their gravitational pull on professorial salaries in the United States. It is this tantalizing interplay that forms the subject of our investigation, seeking to uncover the mysteries behind this seemingly enchanting connection.
Before delving into the specifics of our analysis, it is worth acknowledging the multifaceted nature of the academic world. It's a world where equations and theorems often intercept with budget drafts and payroll discussions. Hence, the marriage between academic qualifications and financial compensation is neither formulaic nor deterministic. Rather, it is akin to navigating a maze where statistical methods and econometric models act as our trusty guideposts, illuminating the path through the labyrinth of data.
The correlation between the number of master's degrees awarded in physical sciences and professorial salaries is an engrossing puzzle, intriguing in both its complexity and potential implications. Indeed, the allure of educational qualifications and compensation has prompted us to embark on a journey that transcends conventional wisdom and delves into the heart of this arcane connection.
The data, gathered meticulously from the National Center for Education Statistics, has given us a treasure trove of information on the awarding of master's degrees in the physical sciences, while the National Center for Education Statistics has furnished us with comprehensive insights into the ebb and flow of professorial salaries. With these rich resources at our disposal, we stand on the precipice of unlocking a truly mesmerizing correlation.
In this paper, we unveil the results of our comprehensive analysis, wherein we apply rigorous statistical techniques to unravel the nexus between the number of master's degrees in physical sciences and the pecuniary rewards enjoyed by professors. Through our exploration, we aim to shed light on the dynamics underlying this mesmerizing relationship, demystifying the forces that propel the gravitational pull of master's degrees on professorial paychecks.
In traversing this terrain, we exude cautious optimism, cognizant of the pitfalls that accompany the pursuit of knowledge. It is our hope that our findings serve as a beacon, igniting curiosity and catalyzing further research in this spellbinding nexus between academic qualifications and earning potential. Our journey begins with an open mind and a quiver full of analytical tools, ready to decode the enigma of Master's Magic.
I find myself saying, "Welcome to Master's Magic, where we'll master the art of connecting master's degrees and paychecks!"

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

As Smith (2015) adeptly puts it, the relationship between educational qualifications and financial compensation is a subject that has intrigued scholars for decades. This sentiment is echoed by Doe (2017), who delves into the complexities of educational attainment and its impact on earnings, providing a sturdy foundation for our subsequent analysis. Compellingly, Jones (2019) echoes these sentiments, emphasizing the significance of considering diverse educational fields when exploring the nexus between academia and remuneration.

Turning our attention to the literary world, "Educational Attainment and Earning Potential" by Nobel (2018) offers a comprehensive treatment of this enthralling intersection. Furthermore, "The Physics of Paychecks" by Newton (2016) provides a perspective that aligns closely with the focus of our investigation, setting the stage for our foray into the gravitational pull of master's degrees in physical sciences on professorial paychecks.

In the realm of fiction, "The Mastery Paradox" by Austen (1813) offers a whimsical tale that, in an alternate universe, may have explored the enchanting dynamics we seek to unravel. Additionally, "The Professor's Windfall" by Rowling (1997) captivates readers with a narrative that, while not directly related to our scholarly pursuit, piques our imagination regarding academic fortunes.

In the digital sphere, the pervasive "Master's Degree Cat" meme encapsulates the zeitgeist of higher education, subtly hinting at the mystique surrounding advanced degrees and their potential impact on one's financial prospects. Similarly, the "Salaries in Science" meme serves as a lighthearted nod to the intersection of academia and earnings, infusing levity into our earnest endeavors.

With this eclectic array of sources as our backdrop, we pivot towards unraveling the empirical evidence that underpins the enigmatic correlation between master's degrees in physical sciences and professorial salaries in the United States. As we embark on this scholarly odyssey, we do so with an unwavering commitment to meticulously dissecting the intricate threads of Master's Magic, all while keeping our wit and humor close at hand.


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 Physical sciences and Professor salaries in the US. 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 National Center for Education 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

[[INTRODUCTION]]
The pursuit of understanding the nuanced relationship between education and income has long been a central area of inquiry for researchers across disciplines. As the academic landscape continues to evolve, one cannot help but be drawn to the magnetism of master's degrees in physical sciences and their gravitational pull on professorial salaries in the United States. It is this tantalizing interplay that forms the subject of our investigation, seeking to uncover the mysteries behind this seemingly enchanting connection.
Before delving into the specifics of our analysis, it is worth acknowledging the multifaceted nature of the academic world. It's a world where equations and theorems often intercept with budget drafts and payroll discussions. Hence, the marriage between academic qualifications and financial compensation is neither formulaic nor deterministic. Rather, it is akin to navigating a maze where statistical methods and econometric models act as our trusty guideposts, illuminating the path through the labyrinth of data.
The correlation between the number of master's degrees awarded in physical sciences and professorial salaries is an engrossing puzzle, intriguing in both its complexity and potential implications. Indeed, the allure of educational qualifications and compensation has prompted us to embark on a journey that transcends conventional wisdom and delves into the heart of this arcane connection.
The data, gathered meticulously from the National Center for Education Statistics, has given us a treasure trove of information on the awarding of master's degrees in the physical sciences, while the National Center for Education Statistics has furnished us with comprehensive insights into the ebb and flow of professorial salaries. With these rich resources at our disposal, we stand on the precipice of unlocking a truly mesmerizing correlation.
In this paper, we unveil the results of our comprehensive analysis, wherein we apply rigorous statistical techniques to unravel the nexus between the number of master's degrees in physical sciences and the pecuniary rewards enjoyed by professors. Through our exploration, we aim to shed light on the dynamics underlying this mesmerizing relationship, demystifying the forces that propel the gravitational pull of master's degrees on professorial paychecks.
In traversing this terrain, we exude cautious optimism, cognizant of the pitfalls that accompany the pursuit of knowledge. It is our hope that our findings serve as a beacon, igniting curiosity and catalyzing further research in this spellbinding nexus between academic qualifications and earning potential. Our journey begins with an open mind and a quiver full of analytical tools, ready to decode the enigma of Master's Magic.
I find myself saying, "Welcome to Master's Magic, where we'll master the art of connecting master's degrees and paychecks!"

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Our research methodology was designed to rigorously examine the relationship between master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging data from the National Center for Education Statistics and the National Center for Education Statistics, we embarked on a journey to untangle the intricate web of educational qualifications and financial recompense.

To commence this scholarly odyssey, we first collected data on master's degrees awarded in physical sciences from the National Center for Education Statistics. This extensive dataset provided a wealth of information on the number of master's degrees conferred annually, encompassing the period from 2012 to 2021. As we delved into this trove of data, we couldn't help but marvel at the sheer diversity of physical science disciplines, each adding its own unique flavor to the cauldron of academia.

With the data on master's degrees in hand, we turned our gaze towards the labyrinthine realm of professorial salaries. Drawing from the National Center for Education Statistics, we gathered detailed insights into the monetary compensations enjoyed by professors across the United States during the same period. Amidst this sea of figures, the dance of dollar signs and academic titles made for a compelling spectacle, akin to observing a cosmic symphony where each note represented a professor's remuneration.

Our next step involved harnessing the power of statistical analysis to unravel the nexus between master's degrees in physical sciences and professorial paychecks. Employing a sophisticated array of econometric models, we sought to tease out the nuanced interplay between these variables. The process of selecting the most suitable model was not unlike finding the perfect wand for a wizard - a blend of intuition, expertise, and a touch of magic.

Furthermore, we meticulously controlled for various confounding factors such as geographic location, level of institution, and years of teaching experience, akin to ensuring that our experimental concoction was free from any extraneous ingredients that could skew our results.

Once all the data had been gathered and curated, the stage was set for the grand unveiling of our findings. Through a sequence of statistical tests and sensitivity analyses, we endeavored to peer through the veil that shrouded the mysterious connection between master's degrees in physical sciences and professorial salaries. The unveiling of these results marks the culmination of our laborious journey, where academic rigor danced with the statistical wizardry, yielding insights that transcend the boundaries of mere numbers and formulae.

As we journeyed through this methodological quagmire, we remained ever steadfast in our commitment to untangling the enigma of Master's Magic, wary of the allure of logical fallacies and statistical mirages. It is our fervent hope that our unyielding pursuit of knowledge will pave the way for further exploration and revelations in this captivating domain of academic inquiry and financial alchemy.


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 Physical sciences and Professor salaries in the US. 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 National Center for Education Statistics .

For the time period 2012 to 2021, you found a correlation 0.8837832, r-squared of 0.7810727, 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The pursuit of understanding the nuanced relationship between education and income has long been a central area of inquiry for researchers across disciplines. As the academic landscape continues to evolve, one cannot help but be drawn to the magnetism of master's degrees in physical sciences and their gravitational pull on professorial salaries in the United States. It is this tantalizing interplay that forms the subject of our investigation, seeking to uncover the mysteries behind this seemingly enchanting connection.
Before delving into the specifics of our analysis, it is worth acknowledging the multifaceted nature of the academic world. It's a world where equations and theorems often intercept with budget drafts and payroll discussions. Hence, the marriage between academic qualifications and financial compensation is neither formulaic nor deterministic. Rather, it is akin to navigating a maze where statistical methods and econometric models act as our trusty guideposts, illuminating the path through the labyrinth of data.
The correlation between the number of master's degrees awarded in physical sciences and professorial salaries is an engrossing puzzle, intriguing in both its complexity and potential implications. Indeed, the allure of educational qualifications and compensation has prompted us to embark on a journey that transcends conventional wisdom and delves into the heart of this arcane connection.
The data, gathered meticulously from the National Center for Education Statistics, has given us a treasure trove of information on the awarding of master's degrees in the physical sciences, while the National Center for Education Statistics has furnished us with comprehensive insights into the ebb and flow of professorial salaries. With these rich resources at our disposal, we stand on the precipice of unlocking a truly mesmerizing correlation.
In this paper, we unveil the results of our comprehensive analysis, wherein we apply rigorous statistical techniques to unravel the nexus between the number of master's degrees in physical sciences and the pecuniary rewards enjoyed by professors. Through our exploration, we aim to shed light on the dynamics underlying this mesmerizing relationship, demystifying the forces that propel the gravitational pull of master's degrees on professorial paychecks.
In traversing this terrain, we exude cautious optimism, cognizant of the pitfalls that accompany the pursuit of knowledge. It is our hope that our findings serve as a beacon, igniting curiosity and catalyzing further research in this spellbinding nexus between academic qualifications and earning potential. Our journey begins with an open mind and a quiver full of analytical tools, ready to decode the enigma of Master's Magic.
I find myself saying, "Welcome to Master's Magic, where we'll master the art of connecting master's degrees and paychecks!"

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our analysis unveil a striking correlation between the number of master's degrees awarded in physical sciences and professorial salaries in the United States from 2012 to 2021. The correlation coefficient of 0.8837832 denotes a robust and compelling connection, akin to two particles gravitationally attracted to one another. This correlation speaks volumes about the enchanting interplay between educational qualifications and financial remuneration.

The r-squared value of 0.7810727 further underscores the strength of this relationship, illuminating a significant proportion of the variance in professorial salaries that can be attributed to the number of master's degrees awarded in physical sciences. It's as if we've stumbled upon a hidden treasure map, leading us to the pot of gold at the end of a statistical rainbow.

With a p-value of less than 0.01, our results provide resounding evidence for the significance of this correlation. This p-value, much like a stick of dynamite, blows away any doubts about the substantial connection between the variables under scrutiny. It's a result that would make any statistician sit up and take notice.

[Fig. 1 about here]

Figure 1 depicts the scatterplot illustrating the strong, positive correlation between the number of master's degrees awarded in physical sciences and professorial salaries. The data points form a clear, upward trend, akin to a rocket blasting off toward the stratosphere. The figure serves as a visual testament to the compelling nature of our findings, capturing the essence of the captivating relationship we have uncovered.

Our analysis not only reveals a statistically significant connection but also points toward the potential influence of master's degrees in physical sciences on the financial rewards reaped by professors. This correlation has the potential to stir a whirlwind of curiosity, prompting further investigation into the intricate dance between academic qualifications and earning potential. In essence, our findings shed light on the alchemical synthesis of Master's Magic – the harmonious fusion of physical science qualifications and professorial paychecks.


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 Physical sciences and Professor salaries in the US. 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

[[LITERATURE REVIEW]]
As Smith (2015) adeptly puts it, the relationship between educational qualifications and financial compensation is a subject that has intrigued scholars for decades. This sentiment is echoed by Doe (2017), who delves into the complexities of educational attainment and its impact on earnings, providing a sturdy foundation for our subsequent analysis. Compellingly, Jones (2019) echoes these sentiments, emphasizing the significance of considering diverse educational fields when exploring the nexus between academia and remuneration.
Turning our attention to the literary world, "Educational Attainment and Earning Potential" by Nobel (2018) offers a comprehensive treatment of this enthralling intersection. Furthermore, "The Physics of Paychecks" by Newton (2016) provides a perspective that aligns closely with the focus of our investigation, setting the stage for our foray into the gravitational pull of master's degrees in physical sciences on professorial paychecks.
In the realm of fiction, "The Mastery Paradox" by Austen (1813) offers a whimsical tale that, in an alternate universe, may have explored the enchanting dynamics we seek to unravel. Additionally, "The Professor's Windfall" by Rowling (1997) captivates readers with a narrative that, while not directly related to our scholarly pursuit, piques our imagination regarding academic fortunes.
In the digital sphere, the pervasive "Master's Degree Cat" meme encapsulates the zeitgeist of higher education, subtly hinting at the mystique surrounding advanced degrees and their potential impact on one's financial prospects. Similarly, the "Salaries in Science" meme serves as a lighthearted nod to the intersection of academia and earnings, infusing levity into our earnest endeavors.
With this eclectic array of sources as our backdrop, we pivot towards unraveling the empirical evidence that underpins the enigmatic correlation between master's degrees in physical sciences and professorial salaries in the United States. As we embark on this scholarly odyssey, we do so with an unwavering commitment to meticulously dissecting the intricate threads of Master's Magic, all while keeping our wit and humor close at hand.

[[RESULTS]]
The results of our analysis unveil a striking correlation between the number of master's degrees awarded in physical sciences and professorial salaries in the United States from 2012 to 2021. The correlation coefficient of 0.8837832 denotes a robust and compelling connection, akin to two particles gravitationally attracted to one another. This correlation speaks volumes about the enchanting interplay between educational qualifications and financial remuneration.
The r-squared value of 0.7810727 further underscores the strength of this relationship, illuminating a significant proportion of the variance in professorial salaries that can be attributed to the number of master's degrees awarded in physical sciences. It's as if we've stumbled upon a hidden treasure map, leading us to the pot of gold at the end of a statistical rainbow.
With a p-value of less than 0.01, our results provide resounding evidence for the significance of this correlation. This p-value, much like a stick of dynamite, blows away any doubts about the substantial connection between the variables under scrutiny. It's a result that would make any statistician sit up and take notice.
[Fig. 1 about here]
Figure 1 depicts the scatterplot illustrating the strong, positive correlation between the number of master's degrees awarded in physical sciences and professorial salaries. The data points form a clear, upward trend, akin to a rocket blasting off toward the stratosphere. The figure serves as a visual testament to the compelling nature of our findings, capturing the essence of the captivating relationship we have uncovered.
Our analysis not only reveals a statistically significant connection but also points toward the potential influence of master's degrees in physical sciences on the financial rewards reaped by professors. This correlation has the potential to stir a whirlwind of curiosity, prompting further investigation into the intricate dance between academic qualifications and earning potential. In essence, our findings shed light on the alchemical synthesis of Master's Magic – the harmonious fusion of physical science qualifications and professorial paychecks.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study provide compelling evidence in support of the literature review that delves into the relationship between educational qualifications and financial compensation. The robust correlation coefficient of 0.8837832 further solidifies the gravitational pull of master's degrees in physical sciences on professorial paychecks, confirming the assertions made by Smith (2015) and the tantalizing provocations of Jane Austen's "The Mastery Paradox." It's rather amusing to observe how a topic that once seemed as enigmatic as a wizard's incantation is now brought into sharper focus through the lens of statistical analysis.

In addition, the r-squared value of 0.7810727 depicts the substantial proportion of the variance in professorial salaries that can be ascribed to the number of master's degrees awarded in physical sciences, breathing life into the very concept of "The Professor's Windfall" as suggested in Rowling's work. The literature review touched upon the whimsy of educational attainment, and our results have certainly evoked a sense of wonder that parallels the captivating allure of "The Physics of Paychecks" by Newton.

The visual appeal of our findings, captured in Figure 1, resonates with the intriguing musings of the "Master's Degree Cat" meme, as it visually encapsulates the upward trend, reminiscent of a rocket's trajectory, akin to the soaring ambitions of an aspiring researcher. The comedic genius of the "Salaries in Science" meme suddenly seems to offer a window into the underlying statistical magic we have uncovered, turning the lighthearted nods into unintended prophecies of our scholarly revelations.

In summary, our results not only corroborate the existing literature but also breathe new life into the enthralling narratives and digital musings that have subtly hinted at the profound interplay between educational qualifications and financial rewards. This scholarly pursuit has uncovered the alchemical synthesis of Master's Magic, saliently illuminating the intersection of academic qualifications and earning potential in the domain of physical sciences. The gravitational pull of this correlation, much like the unseen forces of the universe, continues to invite further exploration and, perhaps, a touch of academic whimsy.


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 Physical sciences and Professor salaries in the US. 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]]
Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US

[[ABSTRACT]]
This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

[[INTRDUCTION]]
The pursuit of understanding the nuanced relationship between education and income has long been a central area of inquiry for researchers across disciplines. As the academic landscape continues to evolve, one cannot help but be drawn to the magnetism of master's degrees in physical sciences and their gravitational pull on professorial salaries in the United States. It is this tantalizing interplay that forms the subject of our investigation, seeking to uncover the mysteries behind this seemingly enchanting connection.
Before delving into the specifics of our analysis, it is worth acknowledging the multifaceted nature of the academic world. It's a world where equations and theorems often intercept with budget drafts and payroll discussions. Hence, the marriage between academic qualifications and financial compensation is neither formulaic nor deterministic. Rather, it is akin to navigating a maze where statistical methods and econometric models act as our trusty guideposts, illuminating the path through the labyrinth of data.
The correlation between the number of master's degrees awarded in physical sciences and professorial salaries is an engrossing puzzle, intriguing in both its complexity and potential implications. Indeed, the allure of educational qualifications and compensation has prompted us to embark on a journey that transcends conventional wisdom and delves into the heart of this arcane connection.
The data, gathered meticulously from the National Center for Education Statistics, has given us a treasure trove of information on the awarding of master's degrees in the physical sciences, while the National Center for Education Statistics has furnished us with comprehensive insights into the ebb and flow of professorial salaries. With these rich resources at our disposal, we stand on the precipice of unlocking a truly mesmerizing correlation.
In this paper, we unveil the results of our comprehensive analysis, wherein we apply rigorous statistical techniques to unravel the nexus between the number of master's degrees in physical sciences and the pecuniary rewards enjoyed by professors. Through our exploration, we aim to shed light on the dynamics underlying this mesmerizing relationship, demystifying the forces that propel the gravitational pull of master's degrees on professorial paychecks.
In traversing this terrain, we exude cautious optimism, cognizant of the pitfalls that accompany the pursuit of knowledge. It is our hope that our findings serve as a beacon, igniting curiosity and catalyzing further research in this spellbinding nexus between academic qualifications and earning potential. Our journey begins with an open mind and a quiver full of analytical tools, ready to decode the enigma of Master's Magic.
I find myself saying, "Welcome to Master's Magic, where we'll master the art of connecting master's degrees and paychecks!"

[[RESULTS]]
The results of our analysis unveil a striking correlation between the number of master's degrees awarded in physical sciences and professorial salaries in the United States from 2012 to 2021. The correlation coefficient of 0.8837832 denotes a robust and compelling connection, akin to two particles gravitationally attracted to one another. This correlation speaks volumes about the enchanting interplay between educational qualifications and financial remuneration.
The r-squared value of 0.7810727 further underscores the strength of this relationship, illuminating a significant proportion of the variance in professorial salaries that can be attributed to the number of master's degrees awarded in physical sciences. It's as if we've stumbled upon a hidden treasure map, leading us to the pot of gold at the end of a statistical rainbow.
With a p-value of less than 0.01, our results provide resounding evidence for the significance of this correlation. This p-value, much like a stick of dynamite, blows away any doubts about the substantial connection between the variables under scrutiny. It's a result that would make any statistician sit up and take notice.
[Fig. 1 about here]
Figure 1 depicts the scatterplot illustrating the strong, positive correlation between the number of master's degrees awarded in physical sciences and professorial salaries. The data points form a clear, upward trend, akin to a rocket blasting off toward the stratosphere. The figure serves as a visual testament to the compelling nature of our findings, capturing the essence of the captivating relationship we have uncovered.
Our analysis not only reveals a statistically significant connection but also points toward the potential influence of master's degrees in physical sciences on the financial rewards reaped by professors. This correlation has the potential to stir a whirlwind of curiosity, prompting further investigation into the intricate dance between academic qualifications and earning potential. In essence, our findings shed light on the alchemical synthesis of Master's Magic – the harmonious fusion of physical science qualifications and professorial paychecks.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has brought to light a captivating correlation between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. The robust correlation coefficient, akin to a magnetic force of attraction, has elucidated the captivating relationship between educational achievements and monetary rewards. The r-squared value further emphasizes the proportion of variance in professorial salaries linked to the number of master's degrees awarded in physical sciences, akin to unraveling hidden secrets in a statistical maze.


This finding provides a shining beacon for researchers, illuminating the potential impact of educational qualifications on financial remuneration. It's as if we've stumbled upon the holy grail of academic alchemy, where the fusion of physical science qualifications and professorial paychecks yields an enchanting outcome. Figure 1 serves as a visual testament to the compelling nature of our discoveries, resembling a fireworks display of statistical significance.

In essence, our research adds a delightful twist to the age-old tale of education and income, showcasing a correlation that is both statistically robust and intellectually intriguing. The results of our study encourage further exploration into the intricate dance between academic qualifications and earning potential, presenting a cornucopia of opportunities for future inquiry.

Therefore, it is with a merry heart and a statistical wink that we assert that no further research is needed in this area. We have indeed witnessed the magic of master's degrees in physical sciences on professorial paychecks, and for now, the case is closed.


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 Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Intergalactic Education Research


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 Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US. Respond only with the name of a fictional organization.

ChatGPT:

The Consortium for Advanced Educational Research and Development


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 Master’s Magic: Measuring the Marriage between Master's Degrees in Physical Sciences and Professorial Paychecks in the US with an abstract of This study delves into the relationship between the number of master's degrees awarded in physical sciences and professorial salaries in the United States. Leveraging rich data from the National Center for Education Statistics and the National Center for Education Statistics, we conducted a rigorous analysis to probe this association. Our findings reveal a robust correlation coefficient of 0.8837832 and a significant p-value of less than 0.01 for the period spanning 2012 to 2021. The results highlight a compelling connection, shedding light on the gravitational pull of master's degrees in physical sciences on professorial paychecks, elucidating a phenomenon that goes far beyond mere quirk or fluke. This masterful correlation, like a well-conducted experiment, indicates that a higher number of physical science master's degrees is positively linked to enhanced professorial remuneration, illustrating a dynamic interplay that will no doubt spark further inquiry and perhaps even a few sparks of curiosity among the academic community.

ChatGPT:

Master's Degrees, Physical Sciences, Professorial Paychecks, United States, National Center for Education Statistics, Correlation Coefficient, P-Value, 2012-2021, Graduate Education, Higher Education, Academic Salaries, Science Education

*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 Physical sciences
Detailed data title: Master's degrees conferred by postsecondary institutions in Physical sciences and science technologies
Source: National Center for Education Statistics
See what else correlates with Master's degrees awarded in Physical sciences

Professor salaries in the US
Detailed data title: Average salary of full-time instructional faculty on 9-month contracts in degree-granting postsecondary institutions, by academic rank of Professor
Source: National Center for Education Statistics
See what else correlates with Professor salaries in the US

Correlation r = 0.8837832 (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.7810727 (Coefficient of determination)
This means 78.1% of the change in the one variable (i.e., Professor salaries in the US) is predictable based on the change in the other (i.e., Master's degrees awarded in Physical 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.00069. 0.0006920919767978740000000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

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

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.88 in 0.069% of random cases. Said differently, if you correlated 1,445 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.57, 0.97 ] 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 Physical sciences (Degrees awarded)6911701469847100713171367196712169786778
Professor salaries in the US (Salary)131745132028134443136755138492138746138826139640136906130262




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([6911,7014,6984,7100,7131,7136,7196,7121,6978,6778,])
array_2 = np.array([131745,132028,134443,136755,138492,138746,138826,139640,136906,130262,])
array_1_name = "Master's degrees awarded in Physical sciences"
array_2_name = "Professor salaries in the US"

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

You're a rater extraordinaire!


Correlation ID: 1761 · Black Variable ID: 1335 · Red Variable ID: 1201
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0