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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of athletes and sports competitors in Tennessee and the second variable is Taiwan Semiconductor Manufacturing Company's stock price (TSM).  The chart goes from 2003 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

More athletes in Tennessee means more energy is being generated, leading to a surge in demand for semiconductors to power electronic devices. You could say the athletes are really giving TSM a run for their money!

Model: dalle-3
Prompt: "Generate a realistic image of a vibrant scene in a bustling stadium in Tennessee. The field is filled with a diverse crowd of athletes and sports competitors preparing for competition. Overlooking the stadium, there is a large screen displaying the rising stock ticker for Taiwan Semiconductor Manufacturing Company. The athletes are in high spirits, exuding energy and optimism as they get ready for their events. The atmosphere is full of excitement and anticipation as the stock price steadily climbs, creating a dynamic and invigorating 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: The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price. 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: Realistic Woodblock painting A photo-realistic image 3D Pixar Style Realistic
ChatGPT: Realistic

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price together. Keep the description simple.
ChatGPT: In a bustling stadium in Tennessee, a crowd of athletes and sports competitors is gathered on the field, as the stock ticker for Taiwan Semiconductor Manufacturing Company's rises on the large screen overlooking the stadium. The athletes are in high spirits, preparing for competition, while the stock price steadily climbs, creating an atmosphere of energy and optimism.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ Realistic ] and depicting this scene: In a bustling stadium in Tennessee, a crowd of athletes and sports competitors is gathered on the field, as the stock ticker for Taiwan Semiconductor Manufacturing Company's rises on the large screen overlooking the stadium. The athletes are in high spirits, preparing for competition, while the stock price steadily climbs, creating an atmosphere of energy and optimism. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: "Generate a realistic image of a vibrant scene in a bustling stadium in Tennessee. The field is filled with a diverse crowd of athletes and sports competitors preparing for competition. Overlooking the stadium, there is a large screen displaying the rising stock ticker for Taiwan Semiconductor Manufacturing Company. The athletes are in high spirits, exuding energy and optimism as they get ready for their events. The atmosphere is full of excitement and anticipation as the stock price steadily climbs, creating a dynamic and invigorating 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 The number of athletes and sports competitors in Tennessee caused Taiwan Semiconductor Manufacturing Company's stock price (TSM) to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price

Journal of Applied Finance and Stock Market Analysis

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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.7900535 and p < 0.01 for 2003 to 2022.

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]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between athletic activities and stock prices has rarely been explored in academic literature, and yet, it presents an intriguing avenue for understanding potential market influencers. In the realm of financial analysis, where investors often strive for peak performance, uncovering such surprising connections can provide a crucial competitive edge. This study aims to shed light on the unexpected correlation between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), known for its own prowess in the global market.

But before we dive into the numbers, let's warm up with a sporty quip: Why did the runner stop betting on stocks? Because he didn't want to stretch himself too thin! In a similar vein, it's time to lace up our analytical sneakers and sprint through the data.

In recent years, the impact of various external factors on stock prices has attracted increasing attention in economic research. While traditional determinants such as interest rates, inflation, and company performance have dominated discussions, the influence of seemingly unrelated variables, such as sports participation, has often been overlooked. However, as we delve into the findings, we might find that this overlooked factor is truly a "game-changer" in the world of finance.

Now, imagine the world of finance as a relay race, with investors passing the baton of market insight. The unexpected link between athlete numbers and TSM stock price might just provide an unexpected boost for those who know how to "run" with the right data.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). 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 movies that you watched that are tangentially related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between athletic activities and stock prices has rarely been explored in academic literature, and yet, it presents an intriguing avenue for understanding potential market influencers. In the realm of financial analysis, where investors often strive for peak performance, uncovering such surprising connections can provide a crucial competitive edge. This study aims to shed light on the unexpected correlation between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), known for its own prowess in the global market.
But before we dive into the numbers, let's warm up with a sporty quip: Why did the runner stop betting on stocks? Because he didn't want to stretch himself too thin! In a similar vein, it's time to lace up our analytical sneakers and sprint through the data.
In recent years, the impact of various external factors on stock prices has attracted increasing attention in economic research. While traditional determinants such as interest rates, inflation, and company performance have dominated discussions, the influence of seemingly unrelated variables, such as sports participation, has often been overlooked. However, as we delve into the findings, we might find that this overlooked factor is truly a "game-changer" in the world of finance.
Now, imagine the world of finance as a relay race, with investors passing the baton of market insight. The unexpected link between athlete numbers and TSM stock price might just provide an unexpected boost for those who know how to "run" with the right data.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Smith et al., (2015) examine the impact of athletic participation on various economic indicators. They find a positive correlation between the number of athletes and regional economic growth, suggesting that sports activities may contribute to the overall prosperity of an area. This association brings to mind the old adage: "Why was the math book sad? Because it had too many problems." Similarly, it seems the economy can use a little more athleticism to solve its problems.

Moving beyond the realm of economics, Doe (2018) investigates the psychological effects of sports on individual investors. His study reveals that individuals who engage in regular athletic activities tend to exhibit more confidence and risk-taking behavior in their financial decisions. It appears that those who are accustomed to jumping hurdles in the sports world are also keen to take risks in the stock market. One might say they're willing to "leap" before they look, much like a high jumper.

Jones and Smith (2020) delve into the relationship between specific sports competitions and stock prices. They suggest that major sporting events, such as the Olympics or World Cup, can have a temporary impact on the stock market of the host country. As the stadium lights illuminate the playing field, they also seem to cast light on the market trends. It's almost as if the stock prices catch the "athletic fever" and try to keep pace with the athletes.

Shifting our focus to more general literature on financial market analysis and prediction, "A Random Walk Down Wall Street" by Burton Malkiel (1973) offers insightful perspectives on the unpredictability of stock prices, prompting the question: Can the athletic world provide a track for investors to follow, or will the stock market remain a "random walk"?

"The Art of Racing in the Rain" by Garth Stein (2008) explores the bond between a race car driver and his loyal canine companion, using the metaphor of racing to convey life's unexpected twists and turns. Perhaps there are parallels between the high-speed world of racing and the fast-paced nature of stock markets.

The "Rocky" film series, chronicling the underdog boxer Rocky Balboa's journey to victory, brings to mind the resilience and determination often required in both athletic competitions and the stock market. It seems that even in the financial ring, one may need to summon the spirit of Rocky to go the distance.

In summary, the literature reveals an intriguing interplay between athletic activities, stock prices, and investor behavior. As we traverse the landscape of this unusual connection, it becomes evident that the world of finance and sports is not as separate as one might imagine. Just as a good pair of running shoes provides support and stability, so too might the athletic world offer insight into the stock market's unusual performance.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) . You used data from 2003 to 2022

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]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

[[INTRODUCTION]]
The relationship between athletic activities and stock prices has rarely been explored in academic literature, and yet, it presents an intriguing avenue for understanding potential market influencers. In the realm of financial analysis, where investors often strive for peak performance, uncovering such surprising connections can provide a crucial competitive edge. This study aims to shed light on the unexpected correlation between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), known for its own prowess in the global market.
But before we dive into the numbers, let's warm up with a sporty quip: Why did the runner stop betting on stocks? Because he didn't want to stretch himself too thin! In a similar vein, it's time to lace up our analytical sneakers and sprint through the data.
In recent years, the impact of various external factors on stock prices has attracted increasing attention in economic research. While traditional determinants such as interest rates, inflation, and company performance have dominated discussions, the influence of seemingly unrelated variables, such as sports participation, has often been overlooked. However, as we delve into the findings, we might find that this overlooked factor is truly a "game-changer" in the world of finance.
Now, imagine the world of finance as a relay race, with investors passing the baton of market insight. The unexpected link between athlete numbers and TSM stock price might just provide an unexpected boost for those who know how to "run" with the right data.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the relationship between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), an extensive and somewhat unorthodox set of research methods was employed. The data was collected from reputable sources, primarily utilizing information from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period spanning from 2003 to 2022.

To assess the number of athletes and sports competitors in Tennessee, a peculiar yet surprisingly effective approach was taken. First, the research team scoured the depths of the internet, meandering through numerous sports websites, local sports organizations, and historical records of sporting events. Second, data scraping techniques were utilized to gather information on sports events, athlete participation, and trends within the state. This extensive and at times strenuous process provided a comprehensive dataset of athletic activities, ranging from the more traditional sports to the more uncommon competitions.

One might jest that this data collection process was akin to a marathon, with obstacles and unexpected turns along the way. It certainly required a steady pace and unwavering determination to amass a truly representative sample of athletic engagement in Tennessee.

Turning to the stock price of Taiwan Semiconductor Manufacturing Company, the methodology employed a more conventional approach. Data on TSM's stock price was retrieved from financial databases and market analysis platforms, meticulously capturing the price fluctuations and trends over the studied period. This rigid and systematic process mirrored the precision of an athlete's training regimen, ensuring that every change in the stock price was carefully documented and scrutinized.

One could say that the data collection process resembled a well-orchestrated team relay, with each member playing a crucial role in obtaining a holistic understanding of the variables under investigation. This combination of uniquely tailored approaches and standard methodologies was integral in constructing a comprehensive dataset for the subsequent analysis.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) .

For the time period 2003 to 2022, you found a correlation 0.7900535, r-squared of 0.6241845, 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]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between athletic activities and stock prices has rarely been explored in academic literature, and yet, it presents an intriguing avenue for understanding potential market influencers. In the realm of financial analysis, where investors often strive for peak performance, uncovering such surprising connections can provide a crucial competitive edge. This study aims to shed light on the unexpected correlation between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), known for its own prowess in the global market.
But before we dive into the numbers, let's warm up with a sporty quip: Why did the runner stop betting on stocks? Because he didn't want to stretch himself too thin! In a similar vein, it's time to lace up our analytical sneakers and sprint through the data.
In recent years, the impact of various external factors on stock prices has attracted increasing attention in economic research. While traditional determinants such as interest rates, inflation, and company performance have dominated discussions, the influence of seemingly unrelated variables, such as sports participation, has often been overlooked. However, as we delve into the findings, we might find that this overlooked factor is truly a "game-changer" in the world of finance.
Now, imagine the world of finance as a relay race, with investors passing the baton of market insight. The unexpected link between athlete numbers and TSM stock price might just provide an unexpected boost for those who know how to "run" with the right data.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The correlation analysis revealed a strong positive relationship between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price. The correlation coefficient of 0.7900535 indicates a robust linear association between the two variables. This suggests that as the number of athletes and sports competitors in Tennessee increased, there was a tendency for the stock price of TSM to rise as well.

In the context of financial markets, one might say that this unexpected correlation dashes the notion of conventional market influencers. It seems that instead of a typical sprint, investing in TSM is more akin to a marathon, with athletic activities in Tennessee playing an unforeseen role in driving stock prices. One could argue that investors should "run" to reap the benefits of this peculiar linkage, as it offers a unique opportunity to be "ahead of the game."

The r-squared value of 0.6241845 indicates that approximately 62.42% of the variability in TSM stock price can be explained by the number of athletes and sports competitors in Tennessee. This statistical measure reinforces the strength of the relationship observed between the two variables.

In the context of statistical significance, the p-value of less than 0.01 implies that the observed correlation is unlikely to be a result of random chance. In other words, there is compelling evidence to support the assertion that the number of athletes and sports competitors in Tennessee has a notable impact on TSM stock price.

Fig. 1 depicts a scatterplot illustrating the positive correlation between the number of athletes and sports competitors in Tennessee and TSM stock price. The scatterplot visually reinforces the strong relationship observed in the correlation analysis and provides a clear depiction of the data points clustering along a positively sloped trend line.

In light of these results, it appears that keeping an eye on athletic events in Tennessee may be a valuable tool in assessing the potential movements of TSM stock. This unusual link between sporting activities and stock prices offers a new dimension to financial analysis and encourages investors to consider a broader range of factors when making investment decisions.

As the famous runner's adage goes, the key to success is "pacing" oneself. Similarly, investors who recognize the influence of athlete numbers on TSM stock price may find themselves well-positioned to "run" with the market trends and secure their financial finish line.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

[[LITERATURE REVIEW]]
Smith et al., (2015) examine the impact of athletic participation on various economic indicators. They find a positive correlation between the number of athletes and regional economic growth, suggesting that sports activities may contribute to the overall prosperity of an area. This association brings to mind the old adage: "Why was the math book sad? Because it had too many problems." Similarly, it seems the economy can use a little more athleticism to solve its problems.
Moving beyond the realm of economics, Doe (2018) investigates the psychological effects of sports on individual investors. His study reveals that individuals who engage in regular athletic activities tend to exhibit more confidence and risk-taking behavior in their financial decisions. It appears that those who are accustomed to jumping hurdles in the sports world are also keen to take risks in the stock market. One might say they're willing to "leap" before they look, much like a high jumper.
Jones and Smith (2020) delve into the relationship between specific sports competitions and stock prices. They suggest that major sporting events, such as the Olympics or World Cup, can have a temporary impact on the stock market of the host country. As the stadium lights illuminate the playing field, they also seem to cast light on the market trends. It's almost as if the stock prices catch the "athletic fever" and try to keep pace with the athletes.
Shifting our focus to more general literature on financial market analysis and prediction, "A Random Walk Down Wall Street" by Burton Malkiel (1973) offers insightful perspectives on the unpredictability of stock prices, prompting the question: Can the athletic world provide a track for investors to follow, or will the stock market remain a "random walk"?
"The Art of Racing in the Rain" by Garth Stein (2008) explores the bond between a race car driver and his loyal canine companion, using the metaphor of racing to convey life's unexpected twists and turns. Perhaps there are parallels between the high-speed world of racing and the fast-paced nature of stock markets.
The "Rocky" film series, chronicling the underdog boxer Rocky Balboa's journey to victory, brings to mind the resilience and determination often required in both athletic competitions and the stock market. It seems that even in the financial ring, one may need to summon the spirit of Rocky to go the distance.
In summary, the literature reveals an intriguing interplay between athletic activities, stock prices, and investor behavior. As we traverse the landscape of this unusual connection, it becomes evident that the world of finance and sports is not as separate as one might imagine. Just as a good pair of running shoes provides support and stability, so too might the athletic world offer insight into the stock market's unusual performance.

[[RESULTS]]
The correlation analysis revealed a strong positive relationship between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price. The correlation coefficient of 0.7900535 indicates a robust linear association between the two variables. This suggests that as the number of athletes and sports competitors in Tennessee increased, there was a tendency for the stock price of TSM to rise as well.
In the context of financial markets, one might say that this unexpected correlation dashes the notion of conventional market influencers. It seems that instead of a typical sprint, investing in TSM is more akin to a marathon, with athletic activities in Tennessee playing an unforeseen role in driving stock prices. One could argue that investors should "run" to reap the benefits of this peculiar linkage, as it offers a unique opportunity to be "ahead of the game."
The r-squared value of 0.6241845 indicates that approximately 62.42% of the variability in TSM stock price can be explained by the number of athletes and sports competitors in Tennessee. This statistical measure reinforces the strength of the relationship observed between the two variables.
In the context of statistical significance, the p-value of less than 0.01 implies that the observed correlation is unlikely to be a result of random chance. In other words, there is compelling evidence to support the assertion that the number of athletes and sports competitors in Tennessee has a notable impact on TSM stock price.
Fig. 1 depicts a scatterplot illustrating the positive correlation between the number of athletes and sports competitors in Tennessee and TSM stock price. The scatterplot visually reinforces the strong relationship observed in the correlation analysis and provides a clear depiction of the data points clustering along a positively sloped trend line.
In light of these results, it appears that keeping an eye on athletic events in Tennessee may be a valuable tool in assessing the potential movements of TSM stock. This unusual link between sporting activities and stock prices offers a new dimension to financial analysis and encourages investors to consider a broader range of factors when making investment decisions.
As the famous runner's adage goes, the key to success is "pacing" oneself. Similarly, investors who recognize the influence of athlete numbers on TSM stock price may find themselves well-positioned to "run" with the market trends and secure their financial finish line.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study provide compelling evidence of a strong positive relationship between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price. These results are consistent with prior research by Smith et al. (2015), which suggested a link between athletic participation and regional economic growth. The association between athletic activities and financial indicators seems to suggest that the sports world is not merely a spectator's arena, but rather a substantive player in the economic arena. One might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game."

Similarly, the link found in this study supports the findings of Doe (2018), who observed a psychological connection between sports participation and risk-taking behavior in financial decisions. It seems that the confidence and risk-taking attitudes observed in individual investors who engage in athletic activities extend to the broader market, influencing stock prices. Given this connection, it appears that those who are accustomed to jumping hurdles in the sports world are also keen to take risks in the stock market. One might say they're willing to "leap" before they look, much like a high jumper.

In line with the results of Jones and Smith (2020), which suggested that major sporting events can influence stock prices, the current study's findings highlight a noteworthy link between ongoing athletic activities and stock price movement. The influence of the number of athletes and sports competitors in Tennessee on TSM stock price further underscores the interconnectedness between the sports world and the financial markets. One might say that just as the stadium lights illuminate the playing field, they also cast light on the market trends. It's almost as if the stock prices catch the "athletic fever" and try to keep pace with the athletes.

The strong positive relationship between the number of athletes and sports competitors in Tennessee and TSM stock price reveals an intriguing interplay between athletic events and financial markets, challenging the conventional understanding of market influencers. It seems that instead of a typical sprint, investing in TSM is more akin to a marathon, with athletic activities in Tennessee playing an unforeseen role in driving stock prices. In this regard, investors should certainly "run" to reap the benefits of this peculiar linkage, as it offers a unique opportunity to be "ahead of the game."

In conclusion, the unexpected correlation uncovered in this study invites a new perspective on the interconnection between sports and financial markets. As the famous runner's adage goes, the key to success is "pacing" oneself. Similarly, investors who recognize the influence of athlete numbers on TSM stock price may find themselves well-positioned to "run" with the market trends and secure their financial finish line.


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 The number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's stock price (TSM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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]]
"Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price"

[[ABSTRACT]]
This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.

In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

[[INTRDUCTION]]
The relationship between athletic activities and stock prices has rarely been explored in academic literature, and yet, it presents an intriguing avenue for understanding potential market influencers. In the realm of financial analysis, where investors often strive for peak performance, uncovering such surprising connections can provide a crucial competitive edge. This study aims to shed light on the unexpected correlation between the number of athletes and sports competitors in Tennessee and the stock price of Taiwan Semiconductor Manufacturing Company (TSM), known for its own prowess in the global market.
But before we dive into the numbers, let's warm up with a sporty quip: Why did the runner stop betting on stocks? Because he didn't want to stretch himself too thin! In a similar vein, it's time to lace up our analytical sneakers and sprint through the data.
In recent years, the impact of various external factors on stock prices has attracted increasing attention in economic research. While traditional determinants such as interest rates, inflation, and company performance have dominated discussions, the influence of seemingly unrelated variables, such as sports participation, has often been overlooked. However, as we delve into the findings, we might find that this overlooked factor is truly a "game-changer" in the world of finance.
Now, imagine the world of finance as a relay race, with investors passing the baton of market insight. The unexpected link between athlete numbers and TSM stock price might just provide an unexpected boost for those who know how to "run" with the right data.

[[RESULTS]]
The correlation analysis revealed a strong positive relationship between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price. The correlation coefficient of 0.7900535 indicates a robust linear association between the two variables. This suggests that as the number of athletes and sports competitors in Tennessee increased, there was a tendency for the stock price of TSM to rise as well.
In the context of financial markets, one might say that this unexpected correlation dashes the notion of conventional market influencers. It seems that instead of a typical sprint, investing in TSM is more akin to a marathon, with athletic activities in Tennessee playing an unforeseen role in driving stock prices. One could argue that investors should "run" to reap the benefits of this peculiar linkage, as it offers a unique opportunity to be "ahead of the game."
The r-squared value of 0.6241845 indicates that approximately 62.42% of the variability in TSM stock price can be explained by the number of athletes and sports competitors in Tennessee. This statistical measure reinforces the strength of the relationship observed between the two variables.
In the context of statistical significance, the p-value of less than 0.01 implies that the observed correlation is unlikely to be a result of random chance. In other words, there is compelling evidence to support the assertion that the number of athletes and sports competitors in Tennessee has a notable impact on TSM stock price.
Fig. 1 depicts a scatterplot illustrating the positive correlation between the number of athletes and sports competitors in Tennessee and TSM stock price. The scatterplot visually reinforces the strong relationship observed in the correlation analysis and provides a clear depiction of the data points clustering along a positively sloped trend line.
In light of these results, it appears that keeping an eye on athletic events in Tennessee may be a valuable tool in assessing the potential movements of TSM stock. This unusual link between sporting activities and stock prices offers a new dimension to financial analysis and encourages investors to consider a broader range of factors when making investment decisions.
As the famous runner's adage goes, the key to success is "pacing" oneself. Similarly, investors who recognize the influence of athlete numbers on TSM stock price may find themselves well-positioned to "run" with the market trends and secure their financial finish line.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, the empirical analysis conducted in this study has revealed a compelling and statistically significant correlation between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price. This unexpected link challenges conventional wisdom regarding market influencers and highlights the need for a broader perspective in financial analysis.

This investigation demonstrates that athletic activities in Tennessee, rather unexpectedly, play a role in driving the stock prices of TSM, challenging the traditional understanding of market dynamics. One might say that this correlation truly puts the "stock" in the phrase "stock race."

The findings suggest that staying abreast of athletic events in Tennessee could provide investors with valuable insights into the potential movements of TSM stock. It's as if investors need to start practicing their "financial sprints" while keeping an eye on the local sports competitions.

The sheer strength of the linear association, as denoted by the robust correlation coefficient, underscores the significance of this unanticipated relationship. It seems that in the race of market variables, the number of athletes and sports competitors in Tennessee has unexpectedly emerged as a front-runner, providing investors with a unique opportunity to "jog" their memory about the multifaceted nature of market influences.

The statistical measures of r-squared and p-value further substantiate the substantial impact of athletic participation on TSM stock price, leaving little room to doubt the relevance of this connection. One could argue that investors now have an opportunity to "leap" ahead of the competition by incorporating these unexpected factors into their investment strategies.

It is evident that given the implications of these findings, the finance and sports communities need to engage in a more integrated dialogue to appreciate the unforeseen links between their realms. After all, in the grand "relay" of market influences, the most unexpected "baton passes" could yield the greatest advantages.

Given the robustness of the observed correlation and its potential significance for market analysis, it is clear that no further research in this field is needed. In other words, we can confidently say that this study has crossed the finish line with flying colors, and there's no need to continue "running" after this unexpected connection.


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 Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Applied Finance and Stock Market Analysis


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 Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sports Economics and Financial Analysis


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 Running for the Stocks: The Impact of Athlete Numbers on Taiwan Semiconductor Manufacturing Company (TSM) Stock Price with an abstract of This paper explores the connection between the number of athletes and sports competitors in Tennessee and Taiwan Semiconductor Manufacturing Company's (TSM) stock price, utilizing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) from 2003 to 2022. Surprisingly, the findings reveal a correlation coefficient of 0.7900535 and p < 0.01, implying a strong positive relationship between the two variables. It seems that as the number of athletes and sports competitors in Tennessee increases, so does the stock price of TSM.
In light of these results, one might say that investing in TSM is truly a "marathon," not a sprint, and that tracking athletic events may help investors stay "ahead of the game." Therefore, it is clear that the world of finance and sports are more closely connected than previously thought, and one should certainly "run" to take advantage of this unusual link.

ChatGPT:

TSM stock price, athlete numbers, sports competitors, Taiwan Semiconductor Manufacturing Company, correlation coefficient, Bureau of Labor Statistics, LSEG Analytics, stock price correlation, Tennessee athletes, TSM investment, finance and sports connection, stock price trend, athlete data analysis

*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

The number of athletes and sports competitors in Tennessee
Detailed data title: BLS estimate of athletes and sports competitors in Tennessee
Source: Bureau of Larbor Statistics
See what else correlates with The number of athletes and sports competitors in Tennessee

Taiwan Semiconductor Manufacturing Company's stock price (TSM)
Detailed data title: Opening price of Taiwan Semiconductor Manufacturing Company (TSM) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Taiwan Semiconductor Manufacturing Company's stock price (TSM)

Correlation r = 0.7900535 (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.6241845 (Coefficient of determination)
This means 62.4% of the change in the one variable (i.e., Taiwan Semiconductor Manufacturing Company's stock price (TSM)) is predictable based on the change in the other (i.e., The number of athletes and sports competitors in Tennessee) over the 20 years from 2003 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 3.4E-5. 0.0000341272889910034700000000
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.79 in 0.0034% of random cases. Said differently, if you correlated 29,302 random variables You don't actually need 29 thousand variables to find a correlation like this one. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 19 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 19 because we have two variables measured over a period of 20 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.53, 0.91 ] 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.
20032004200520062007200820092010201120122013201420152016201720182019202020212022
The number of athletes and sports competitors in Tennessee (Laborers)2503302602102903902702302602603501701702405303103701801010710
Taiwan Semiconductor Manufacturing Company's stock price (TSM) (Stock price)5.298.377.789.8510.949.747.7311.4912.5613.1117.7617.3922.4522.2429.2540.5136.259.6111.47124.13




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([250,330,260,210,290,390,270,230,260,260,350,170,170,240,530,310,370,180,1010,710,])
array_2 = np.array([5.29,8.37,7.78,9.85,10.94,9.74,7.73,11.49,12.56,13.11,17.76,17.39,22.45,22.24,29.25,40.51,36.2,59.6,111.47,124.13,])
array_1_name = "The number of athletes and sports competitors in Tennessee"
array_2_name = "Taiwan Semiconductor Manufacturing Company's stock price (TSM)"

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

I'm grateful for your review!


Correlation ID: 1769 · Black Variable ID: 14471 · Red Variable ID: 1550
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0