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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Associates degrees awarded in consumer sciences and the second variable is NYSE Composite Index Annual Percentage Change.  The chart goes from 2011 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of people with expertise in family and consumer sciences rose, so did their skills in budgeting, leading to more stock investments. You could say they really knew how to bring home the bacon, and the bull market prospered as a result! It seems like when it comes to financial success, these graduates were no underdogs.

Model: dalle-3
Prompt: An ideal prompt for this image would be "Create an image of a person confidently holding a freshly folded fitted sheet in a cozy living room. They are reviewing stock market charts on their phone, with a prominently displayed diploma of an Associate's degree in Family and Consumer Sciences/Human Sciences on the wall. The stock market graph exhibits a surge in the NYSE Composite Index Annual Percentage Change. The scene should have a futuristic ambiance." 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: Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. 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: Scalar art An image that looks like it is a scene from 'Star Wars' Futuristic Symbolism Macabre
ChatGPT: Futuristic

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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change, in the following situation: Because as more people began to understand the complexities of folding fitted sheets, they gained a newfound confidence that translated into savvy investment decisions, leading to a surge in the stock market. It turns out that mastering the art of home economics directly correlates with a keen understanding of market trends. Who knew that perfecting the art of ironing could lead to financial success?. Keep the description simple.
ChatGPT: In a cozy living room, a person proudly holds up their freshly folded fitted sheet in one hand, while confidently reviewing stock market charts on their phone with the other hand. Meanwhile, in the background, a diploma for an Associate's degree in Family and Consumer Sciences/Human Sciences is prominently displayed on the wall, showcasing the valuable expertise gained in home economics. The person's newfound confidence in mastering household skills reflects in their astute investment decisions, as the stock market graph shows a visible surge in the NYSE Composite Index Annual Percentage Change.

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: [ Futuristic ] and depicting this scene: In a cozy living room, a person proudly holds up their freshly folded fitted sheet in one hand, while confidently reviewing stock market charts on their phone with the other hand. Meanwhile, in the background, a diploma for an Associate's degree in Family and Consumer Sciences/Human Sciences is prominently displayed on the wall, showcasing the valuable expertise gained in home economics. The person's newfound confidence in mastering household skills reflects in their astute investment decisions, as the stock market graph shows a visible surge in the NYSE Composite Index Annual Percentage Change. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An ideal prompt for this image would be "Create an image of a person confidently holding a freshly folded fitted sheet in a cozy living room. They are reviewing stock market charts on their phone, with a prominently displayed diploma of an Associate's degree in Family and Consumer Sciences/Human Sciences on the wall. The stock market graph exhibits a surge in the NYSE Composite Index Annual Percentage Change. The scene should have a futuristic ambiance."

*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 Associates degrees awarded in Family and consumer sciences/human sciences caused NYSE Composite Index Annual Percentage Change to increase. Include one good pun.

AI academic paper

(Because p < 0.05)
Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change

The Journal of Comedic Connections

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 dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from National Center for Education Statistics and 1stock1 to assess this nagging question. You found a correlation coefficient of 0.6037859 and p < 0.05 for 2011 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]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Family and Consumer Sciences (FCS) and Human Sciences have long been associated with the study of important life skills such as nutrition, parenting, and resource management. These fields aim to enrich the lives of individuals and families by equipping them with the knowledge to navigate the complexities of everyday living. However, it is rare for these disciplines to find themselves mentioned in the same conversation as the New York Stock Exchange (NYSE) Composite Index. The unlikely bedfellows of aprons and stock options have raised many an eyebrow and prompted a few quizzical looks, but as the saying goes, "Where there's a will, there's a way – and where there's a won't, there's a won't!"

One might ask, "What does the NYSE have to do with Family and Consumer Sciences?" Well, dear reader, that is precisely the question we sought to answer in this study. As we delve into the world of finance, let us not forget that there's always room for a little bit of "stock" humor to lighten the mood. After all, why did the financial analyst bring a ladder to work? He heard the market was on the rise! (Cue the collective groans.)

The aim of this research is to explore the potential relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. By uncovering any correlations between these seemingly disparate entities, we hope to shed light on a connection that may have gone unnoticed or neglected in the academic and financial spheres. If nothing else, we might uncover some "stocking" secrets that have been hiding in plain sight.

The significance of this inquiry lies not only in its potential to elucidate unexplored intersections between education and economics but also in the opportunity it presents to add a quirkier dimension to the study of these fields. One could say we are venturing into uncharted "stock" territories in pursuit of knowledge and a good pun or two. After all, why did the economist bring embezzled funds to the picnic? He wanted to be sure he had a "stake" in it!


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Family and Consumer Sciences (FCS) and Human Sciences have long been associated with the study of important life skills such as nutrition, parenting, and resource management. These fields aim to enrich the lives of individuals and families by equipping them with the knowledge to navigate the complexities of everyday living. However, it is rare for these disciplines to find themselves mentioned in the same conversation as the New York Stock Exchange (NYSE) Composite Index. The unlikely bedfellows of aprons and stock options have raised many an eyebrow and prompted a few quizzical looks, but as the saying goes, "Where there's a will, there's a way – and where there's a won't, there's a won't!"
One might ask, "What does the NYSE have to do with Family and Consumer Sciences?" Well, dear reader, that is precisely the question we sought to answer in this study. As we delve into the world of finance, let us not forget that there's always room for a little bit of "stock" humor to lighten the mood. After all, why did the financial analyst bring a ladder to work? He heard the market was on the rise! (Cue the collective groans.)
The aim of this research is to explore the potential relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. By uncovering any correlations between these seemingly disparate entities, we hope to shed light on a connection that may have gone unnoticed or neglected in the academic and financial spheres. If nothing else, we might uncover some "stocking" secrets that have been hiding in plain sight.
The significance of this inquiry lies not only in its potential to elucidate unexplored intersections between education and economics but also in the opportunity it presents to add a quirkier dimension to the study of these fields. One could say we are venturing into uncharted "stock" territories in pursuit of knowledge and a good pun or two. After all, why did the economist bring embezzled funds to the picnic? He wanted to be sure he had a "stake" in it!

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous studies have sought to explore the relationship between academic degrees and financial indicators. In "Smith et al. (2015)," the authors find a compelling correlation between STEM degrees and the NASDAQ Composite Index, demonstrating the interconnectedness of educational pursuits and stock market trends.

Now, as we delve into the curious realm of Family and Consumer Sciences/Human Sciences, one might wonder: are there any "stock-i-ng" parallels waiting to be uncovered? It appears that the intersection of these fields with the financial domain may hold more surprises than initially anticipated. As the plot thickens, one can't help but wonder: Are there "stock" secrets hidden within the folds of aprons and financial reports?

In "Doe and Jones (2018)," the authors delve into the complexities of household economics and financial decision-making, shedding light on the intricate dance between domestic management and monetary considerations. How fitting it is to contemplate such matters alongside the annual percentage change of the NYSE Composite Index.

Speaking of household matters, what did the financial planner say to the chef? "You should invest in the stock pot market!" (Cue the resounding laughter, or perhaps just a few pity chuckles.)

In the realm of non-fiction literature, "The Complete Tightwad Gazette" by Amy Dacyczyn and "Your Money or Your Life" by Vicki Robin and Joe Dominguez offer invaluable insights into frugality, financial independence, and the management of household resources. It's remarkable how discussions of budgeting and saving can seamlessly segue into contemplations of stock market performance.

Reaching slightly beyond the boundaries of serious academic literature, we encounter fiction works such as "Rich Dad Poor Dad" by Robert T. Kiyosaki and "The Wealthy Barber" by David Chilton. While fictional in nature, these books offer engaging narratives that intertwine financial wisdom and storytelling, presenting a fusion of practical advice and entertainment that speaks to the current inquiry.

But what about the whimsical and light-hearted depictions of home economics and financial matters? Consider the subtle yet valuable lessons dispersed throughout beloved children's shows and cartoons, such as "Blue's Clues" and "Arthur." These delightful programs often showcase everyday life scenarios, which may subtly shape the financial sensibilities of young viewers, indirectly influencing their future educational and career choices.

In the spirit of unexpected connections, perhaps we should ask: What do you get when you cross a financial analyst and a family counselor? Investment advice with a "side" of emotional support!


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and 1stock1 . You used data from 2011 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]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

[[INTRODUCTION]]
Family and Consumer Sciences (FCS) and Human Sciences have long been associated with the study of important life skills such as nutrition, parenting, and resource management. These fields aim to enrich the lives of individuals and families by equipping them with the knowledge to navigate the complexities of everyday living. However, it is rare for these disciplines to find themselves mentioned in the same conversation as the New York Stock Exchange (NYSE) Composite Index. The unlikely bedfellows of aprons and stock options have raised many an eyebrow and prompted a few quizzical looks, but as the saying goes, "Where there's a will, there's a way – and where there's a won't, there's a won't!"
One might ask, "What does the NYSE have to do with Family and Consumer Sciences?" Well, dear reader, that is precisely the question we sought to answer in this study. As we delve into the world of finance, let us not forget that there's always room for a little bit of "stock" humor to lighten the mood. After all, why did the financial analyst bring a ladder to work? He heard the market was on the rise! (Cue the collective groans.)
The aim of this research is to explore the potential relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. By uncovering any correlations between these seemingly disparate entities, we hope to shed light on a connection that may have gone unnoticed or neglected in the academic and financial spheres. If nothing else, we might uncover some "stocking" secrets that have been hiding in plain sight.
The significance of this inquiry lies not only in its potential to elucidate unexplored intersections between education and economics but also in the opportunity it presents to add a quirkier dimension to the study of these fields. One could say we are venturing into uncharted "stock" territories in pursuit of knowledge and a good pun or two. After all, why did the economist bring embezzled funds to the picnic? He wanted to be sure he had a "stake" in it!

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index, a series of rigorous and, one might say, "stocking" research methods were employed.

Firstly, data on the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences from 2011 to 2021 was collected from the National Center for Education Statistics. This information was then cross-checked with data from 1stock1 to ensure its accuracy, because as any cautious investor knows, it's always wise to verify your sources. As part of the data validation process, any outliers were scrutinized with a level of suspicion befitting a particularly speculative stock.

Next, the Annual Percentage Change of the NYSE Composite Index from 2011 to 2021 was obtained from reliable financial databases. This process involved filtering out any irregularities or market anomalies that might disrupt the statistical analysis. One couldn't help but think of the parallels between filtering data and filtering coffee – both are essential for a smooth and robust result.

The statistical analysis of the data involved using a variety of modeling techniques, including linear regression and correlation analysis. A correlation coefficient was calculated to assess the strength and direction of the relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. This coefficient was then scrutinized with the attentiveness of a cautious investor watching the market for signs of volatility.

Furthermore, to account for any potential confounding variables, a series of sensitivity analyses were conducted. These analyses aimed to ensure that the observed relationship between the academic and financial variables was not unduly influenced by external factors. It was imperative to maintain a level of scrutiny akin to that of an investor carefully evaluating a stock's performance in the face of market fluctuations.

In addition, a sub-analysis exploring the potential impact of specific subfields within Family and Consumer Sciences/Human Sciences on the NYSE Composite Index was undertaken. This sub-analysis aimed to provide a nuanced understanding of how particular areas of study within these disciplines might relate to fluctuations in the stock market – a sort of "investment portfolio" of academic pursuits, if you will.

Finally, the robustness of the findings was assessed through a range of sensitivity tests and robustness checks. These measures were undertaken to ensure that the results were not merely a flash in the pan, but rather stood firm like a well-diversified investment portfolio in the face of market volatility.

Together, these methodological approaches formed a comprehensive and robust framework for investigating the intriguing connection between Associates degrees in Family and Consumer Sciences/Human Sciences and the NYSE Composite Index Annual Percentage Change. One might even say that the comparison between academic and financial realms was a "stock-i-ng" revelation. It may seem like a stretch, but given the nature of our research, we were willing to "invest"igate.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

For the time period 2011 to 2021, you found a correlation 0.6037859, r-squared of 0.3645574, and p < 0.05.

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]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Family and Consumer Sciences (FCS) and Human Sciences have long been associated with the study of important life skills such as nutrition, parenting, and resource management. These fields aim to enrich the lives of individuals and families by equipping them with the knowledge to navigate the complexities of everyday living. However, it is rare for these disciplines to find themselves mentioned in the same conversation as the New York Stock Exchange (NYSE) Composite Index. The unlikely bedfellows of aprons and stock options have raised many an eyebrow and prompted a few quizzical looks, but as the saying goes, "Where there's a will, there's a way – and where there's a won't, there's a won't!"
One might ask, "What does the NYSE have to do with Family and Consumer Sciences?" Well, dear reader, that is precisely the question we sought to answer in this study. As we delve into the world of finance, let us not forget that there's always room for a little bit of "stock" humor to lighten the mood. After all, why did the financial analyst bring a ladder to work? He heard the market was on the rise! (Cue the collective groans.)
The aim of this research is to explore the potential relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. By uncovering any correlations between these seemingly disparate entities, we hope to shed light on a connection that may have gone unnoticed or neglected in the academic and financial spheres. If nothing else, we might uncover some "stocking" secrets that have been hiding in plain sight.
The significance of this inquiry lies not only in its potential to elucidate unexplored intersections between education and economics but also in the opportunity it presents to add a quirkier dimension to the study of these fields. One could say we are venturing into uncharted "stock" territories in pursuit of knowledge and a good pun or two. After all, why did the economist bring embezzled funds to the picnic? He wanted to be sure he had a "stake" in it!

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data revealed a statistically significant positive correlation between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index for the time period 2011 to 2021. The correlation coefficient was found to be 0.6037859, with an r-squared of 0.3645574, indicating that 36.46% of the variability in the NYSE Composite Index Annual Percentage Change could be explained by the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences.

The scatterplot (Fig. 1) provides a visual representation of the strong relationship between these variables. It's almost as if they were meant to be together, like a well-matched pair of socks - or should we say "stocks"?

These results suggest a compelling link between educational pursuits in the realms of Family and Consumer Sciences/Human Sciences and the ebb and flow of the stock market. It's as if these disciplines have been quietly investing in each other all along, much like a proud parent discreetly acquiring shares in their child's lemonade stand.

The dad joke can't help it, can it? It's like the punchline to a well-timed quip at a financial conference - unexpected, yet oddly fitting.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

[[LITERATURE REVIEW]]
Numerous studies have sought to explore the relationship between academic degrees and financial indicators. In "Smith et al. (2015)," the authors find a compelling correlation between STEM degrees and the NASDAQ Composite Index, demonstrating the interconnectedness of educational pursuits and stock market trends.
Now, as we delve into the curious realm of Family and Consumer Sciences/Human Sciences, one might wonder: are there any "stock-i-ng" parallels waiting to be uncovered? It appears that the intersection of these fields with the financial domain may hold more surprises than initially anticipated. As the plot thickens, one can't help but wonder: Are there "stock" secrets hidden within the folds of aprons and financial reports?
In "Doe and Jones (2018)," the authors delve into the complexities of household economics and financial decision-making, shedding light on the intricate dance between domestic management and monetary considerations. How fitting it is to contemplate such matters alongside the annual percentage change of the NYSE Composite Index.
Speaking of household matters, what did the financial planner say to the chef? "You should invest in the stock pot market!" (Cue the resounding laughter, or perhaps just a few pity chuckles.)
In the realm of non-fiction literature, "The Complete Tightwad Gazette" by Amy Dacyczyn and "Your Money or Your Life" by Vicki Robin and Joe Dominguez offer invaluable insights into frugality, financial independence, and the management of household resources. It's remarkable how discussions of budgeting and saving can seamlessly segue into contemplations of stock market performance.
Reaching slightly beyond the boundaries of serious academic literature, we encounter fiction works such as "Rich Dad Poor Dad" by Robert T. Kiyosaki and "The Wealthy Barber" by David Chilton. While fictional in nature, these books offer engaging narratives that intertwine financial wisdom and storytelling, presenting a fusion of practical advice and entertainment that speaks to the current inquiry.
But what about the whimsical and light-hearted depictions of home economics and financial matters? Consider the subtle yet valuable lessons dispersed throughout beloved children's shows and cartoons, such as "Blue's Clues" and "Arthur." These delightful programs often showcase everyday life scenarios, which may subtly shape the financial sensibilities of young viewers, indirectly influencing their future educational and career choices.
In the spirit of unexpected connections, perhaps we should ask: What do you get when you cross a financial analyst and a family counselor? Investment advice with a "side" of emotional support!

[[RESULTS]]
The analysis of the data revealed a statistically significant positive correlation between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index for the time period 2011 to 2021. The correlation coefficient was found to be 0.6037859, with an r-squared of 0.3645574, indicating that 36.46% of the variability in the NYSE Composite Index Annual Percentage Change could be explained by the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences.
The scatterplot (Fig. 1) provides a visual representation of the strong relationship between these variables. It's almost as if they were meant to be together, like a well-matched pair of socks - or should we say "stocks"?
These results suggest a compelling link between educational pursuits in the realms of Family and Consumer Sciences/Human Sciences and the ebb and flow of the stock market. It's as if these disciplines have been quietly investing in each other all along, much like a proud parent discreetly acquiring shares in their child's lemonade stand.
The dad joke can't help it, can it? It's like the punchline to a well-timed quip at a financial conference - unexpected, yet oddly fitting.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The present study set out to examine the relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Our findings indicated a statistically significant positive correlation between these variables, aligning with previous research that has explored the interconnectedness of academic pursuits and financial indicators.

The moderate positive correlation coefficient of 0.6037859 (p < 0.05) observed in our study echoes the findings of Smith et al. (2015) in their investigation of STEM degrees and the NASDAQ Composite Index. These consistent results suggest that academic disciplines in seemingly disparate fields may indeed have a "share"d interest in the stock market's performance. It appears that the financial footprints left by educational choices may extend beyond the expected realms of business and economics, resembling a cleverly executed investment strategy.

The scatterplot depicting the relationship between Associates degrees in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index serves as a visual testament to the bond observed in the quantitative analysis. It's as though these variables are engaged in a harmonious dance, much like a well-coordinated couple navigating the ballroom of financial data. One might even say they are "bullish" on each other's prospects, forging a partnership as enduring as that of bread and butter – or rather, stocks and bonds.

In light of the literature review's reflections on the interplay between household economics and financial decision-making, it becomes apparent that the unexpected connection uncovered in this study is not without precedent. If financial planners and chefs can find common ground in the "stock pot market," then why shouldn't academic disciplines and stock market trends form a similarly robust relationship?

While we stop short of drawing definitive conclusions at this juncture, the findings lend credence to the notion that educational choices within the realm of Family and Consumer Sciences/Human Sciences may hold implications for, and be influenced by, stock market performance. It's almost as though these academic pursuits and financial fluctuations have been engaged in a subtle tango, their steps harmonizing with rhythm and finesse akin to a well-orchestrated investment portfolio.

This study, in all its seriousness and statistical rigor, casts a lighthearted yet thought-provoking "light" on the potential connectedness of academic degrees and financial movements. Who knew that academic pursuits and stock market dynamics could form such a compelling duet, harmonizing in a manner as captivating as a well-tuned piano performance? The melody of this connection, much like a perfectly timed dad joke, enters unexpectedly yet resonates deeply with its audience.


Model: gpt-3.5-turbo-1106
System prompt: You are a dry but witty academic researcher. You speak in the passive voice, and your writing sounds like it belongs in a medical or economics 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 Associates degrees awarded in Family and consumer sciences/human sciences and NYSE Composite Index Annual Percentage Change. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change"

[[ABSTRACT]]
This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.

The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

[[INTRDUCTION]]
Family and Consumer Sciences (FCS) and Human Sciences have long been associated with the study of important life skills such as nutrition, parenting, and resource management. These fields aim to enrich the lives of individuals and families by equipping them with the knowledge to navigate the complexities of everyday living. However, it is rare for these disciplines to find themselves mentioned in the same conversation as the New York Stock Exchange (NYSE) Composite Index. The unlikely bedfellows of aprons and stock options have raised many an eyebrow and prompted a few quizzical looks, but as the saying goes, "Where there's a will, there's a way – and where there's a won't, there's a won't!"
One might ask, "What does the NYSE have to do with Family and Consumer Sciences?" Well, dear reader, that is precisely the question we sought to answer in this study. As we delve into the world of finance, let us not forget that there's always room for a little bit of "stock" humor to lighten the mood. After all, why did the financial analyst bring a ladder to work? He heard the market was on the rise! (Cue the collective groans.)
The aim of this research is to explore the potential relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. By uncovering any correlations between these seemingly disparate entities, we hope to shed light on a connection that may have gone unnoticed or neglected in the academic and financial spheres. If nothing else, we might uncover some "stocking" secrets that have been hiding in plain sight.
The significance of this inquiry lies not only in its potential to elucidate unexplored intersections between education and economics but also in the opportunity it presents to add a quirkier dimension to the study of these fields. One could say we are venturing into uncharted "stock" territories in pursuit of knowledge and a good pun or two. After all, why did the economist bring embezzled funds to the picnic? He wanted to be sure he had a "stake" in it!

[[RESULTS]]
The analysis of the data revealed a statistically significant positive correlation between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index for the time period 2011 to 2021. The correlation coefficient was found to be 0.6037859, with an r-squared of 0.3645574, indicating that 36.46% of the variability in the NYSE Composite Index Annual Percentage Change could be explained by the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences.
The scatterplot (Fig. 1) provides a visual representation of the strong relationship between these variables. It's almost as if they were meant to be together, like a well-matched pair of socks - or should we say "stocks"?
These results suggest a compelling link between educational pursuits in the realms of Family and Consumer Sciences/Human Sciences and the ebb and flow of the stock market. It's as if these disciplines have been quietly investing in each other all along, much like a proud parent discreetly acquiring shares in their child's lemonade stand.
The dad joke can't help it, can it? It's like the punchline to a well-timed quip at a financial conference - unexpected, yet oddly fitting.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has shed light on the hitherto overlooked correlation between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. The results indicate a statistically significant positive relationship between these variables, suggesting that the financial market and the pursuit of knowledge in everyday living may indeed have more in common than meets the eye.

One might even say that this relationship is as strong as a well-constructed portfolio – it just "makes cents"!

This unexpected connection between seemingly unrelated domains prompts further inquiry into the potential underlying mechanisms driving this correlation. Is there a factor, yet to be uncovered, that explains the interplay between education in life skills and the dynamics of the stock market? Or is it simply a case of "two peas in a portfolio" finding their way to each other in the grand garden of academia and finance?

Given these findings, it is evident that there is a need for a broader conversation on the symbiotic relationship between education and financial systems. After all, who wouldn't want to understand the "commodity" of knowledge and its impact on the trading floor? It's a discussion that deserves a prime spot in the academic and financial arenas.

Therefore, with our results in mind, we confidently assert that no further research is needed in this area. It seems we've "stocked" the knowledge shelves to capacity!


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 Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Comedic Connections


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 Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Empirical Studies in Absurd Connections (SESAC)


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 Degrees of Connection: A Dow-Rite Funny Study on the Relationship Between Associates Degrees in Family and Consumer Sciences/Human Sciences and NYSE Composite Index Annual Percentage Change with an abstract of This paper investigates the curious and, dare I say, "stock-i-ng" relationship between the number of Associates degrees awarded in Family and Consumer Sciences/Human Sciences and the Annual Percentage Change of the NYSE Composite Index. Using data from the National Center for Education Statistics and 1stock1, we analyzed the annual percentage change in the NYSE Composite Index from 2011 to 2021 and the number of Associates degrees awarded in the aforementioned fields during the same period. Our results revealed a statistically significant correlation coefficient of 0.6037859 (p < 0.05), indicating a moderate positive relationship between the two variables.
The findings suggest that there may be more to these seemingly distinct realms of academia and finance than meets the eye. Perhaps we could even say they have a "stake" in each other's success! One might wonder, is there a financial aspect to choosing a career in Family and Consumer Sciences? Are there "stock" options for those pursuing Human Sciences? While we shouldn't jump to "conclusions" just yet, these findings certainly offer food for thought.

ChatGPT:

Associates degrees, Family and Consumer Sciences, Human Sciences, NYSE Composite Index, annual percentage change, correlation, National Center for Education Statistics, 1stock1, academia, finance relationship, career choices, financial aspect

*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

Associates degrees awarded in consumer sciences
Detailed data title: Associate's degrees conferred by postsecondary institutions with a field of study of Family and consumer sciences/human sciences
Source: National Center for Education Statistics
See what else correlates with Associates degrees awarded in consumer sciences

NYSE Composite Index Annual Percentage Change
Source: 1stock1
See what else correlates with NYSE Composite Index Annual Percentage Change

Correlation r = 0.6037859 (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.3645574 (Coefficient of determination)
This means 36.5% of the change in the one variable (i.e., NYSE Composite Index Annual Percentage Change) is predictable based on the change in the other (i.e., Associates degrees awarded in consumer sciences) over the 11 years from 2011 through 2021.

p < 0.05, which statistically significant(Null hypothesis significance test)
The p-value is 0.049. 0.0491776347103301050000000000
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.6 in 4.9% of random cases. Said differently, if you correlated 20 random variables Which I absolutely did.
with the same 10 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 10 because we have two variables measured over a period of 11 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.01, 0.88 ] 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.
20112012201320142015201620172018201920202021
Associates degrees awarded in consumer sciences (Degrees awarded)85329506899686698750893088718858936592819773
NYSE Composite Index Annual Percentage Change (Percentage)-6.1112.9323.184.22-6.429.0115.84-11.222.324.418.17




Why this works

  1. Data dredging: I have 25,153 variables in my database. I compare all these variables against each other to find ones that randomly match up. That's 632,673,409 correlation calculations! This is called “data dredging.” Instead of starting with a hypothesis and testing it, I instead abused the data to see what correlations shake out. It’s a dangerous way to go about analysis, because any sufficiently large dataset will yield strong correlations completely at random.
  2. Lack of causal connection: There is probably Because these pages are automatically generated, it's possible that the two variables you are viewing are in fact causually related. I take steps to prevent the obvious ones from showing on the site (I don't let data about the weather in one city correlate with the weather in a neighboring city, for example), but sometimes they still pop up. If they are related, cool! You found a loophole.
    no direct connection between these variables, despite what the AI says above. This is exacerbated by the fact that I used "Years" as the base variable. Lots of things happen in a year that are not related to each other! Most studies would use something like "one person" in stead of "one year" to be the "thing" studied.
  3. Observations not independent: For many variables, sequential years are not independent of each other. If a population of people is continuously doing something every day, there is no reason to think they would suddenly change how they are doing that thing on January 1. A simple Personally I don't find any p-value calculation to be 'simple,' but you know what I mean.
    p-value calculation does not take this into account, so mathematically it appears less probable than it really is.
  4. Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves. Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
    Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.




Try it yourself

You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.

Step 2: Open a plaintext editor like Notepad and paste the code below into it.

Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"

Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.

Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.

Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.

Step 7: Run the Python script by typing "python calculate_correlation.py"

If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:

"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."


# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats

# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):

    # Calculate Pearson correlation coefficient and p-value
    correlation, p_value = stats.pearsonr(array1, array2)

    # Calculate R-squared as the square of the correlation coefficient
    r_squared = correlation**2

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([8532,9506,8996,8669,8750,8930,8871,8858,9365,9281,9773,])
array_2 = np.array([-6.11,12.93,23.18,4.22,-6.42,9.01,15.84,-11.2,22.32,4.4,18.17,])
array_1_name = "Associates degrees awarded in consumer sciences"
array_2_name = "NYSE Composite Index Annual Percentage Change"

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating skills are legendary!


Correlation ID: 2811 · Black Variable ID: 1227 · Red Variable ID: 315
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0