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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in Military technologies and the second variable is Take-Two Interactive Software's stock price (TTWO).  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more students became experts in military technologies and applied sciences, they started developing highly advanced and realistic military video games. This led to a surge in demand for Take-Two Interactive Software's products, causing an increase in their stock price. Who would've thought that studying warfare could lead to a battle for stock market domination!

Model: dalle-3
Prompt: Generate an image of a futuristic graduation ceremony where graduates in military uniforms and mortarboards are gathered around a large screen displaying the stock ticker for Take-Two Interactive Software. The stock price graph on the screen shows a steady incline, reflecting the success and growth of the gaming company. The graduates are engaged in animated discussions, and there is an overall cybernetic and technologically advanced ambiance to the scene. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software'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 Cybernetic art Whimsical illustration Symbolism Low poly
ChatGPT: Cybernetic art

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price together. Keep the description simple.
ChatGPT: A group of graduates wearing military uniforms and mortarboards celebrate their bachelor's degrees in military technologies and applied sciences as they gather around a large screen displaying the stock ticker for Take-Two Interactive Software. The stock price graph on the screen shows a steady incline, reflecting the success and growth of the gaming company as the graduates discuss their future plans in the industry.

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: [ Cybernetic art ] and depicting this scene: A group of graduates wearing military uniforms and mortarboards celebrate their bachelor's degrees in military technologies and applied sciences as they gather around a large screen displaying the stock ticker for Take-Two Interactive Software. The stock price graph on the screen shows a steady incline, reflecting the success and growth of the gaming company as the graduates discuss their future plans in the industry. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a futuristic graduation ceremony where graduates in military uniforms and mortarboards are gathered around a large screen displaying the stock ticker for Take-Two Interactive Software. The stock price graph on the screen shows a steady incline, reflecting the success and growth of the gaming company. The graduates are engaged in animated discussions, and there is an overall cybernetic and technologically advanced ambiance to the scene.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in Bachelor's degrees awarded in Military technologies and applied sciences caused Take-Two Interactive Software's stock price (TTWO) to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

The Journal of Military Technology and Financial Strategy

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from National Center for Education Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9762459 and p < 0.01 for 2012 to 2021.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. 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]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

In the realm of stock market analysis, unusual relationships and unexpected correlations occasionally emerge, akin to a surprise attack in the world of military strategy. The peculiar and, dare we say, amusing connection between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) is the subject of this investigation. While it may initially seem as incongruous as soldiers wielding joysticks, our rigorous statistical inquiry aims to shed light on this intriguing association, employing the precision and discipline of a well-trained platoon to navigate the intricacies of financial and educational data.

The prospect of uncovering such a seemingly incongruent relationship between the field of military technologies and the realm of interactive software may strike one as comical at first glance. However, as we venture further into our inquiry, the initial whimsy gives way to a more serious and thought-provoking examination of the forces at play in both the educational and financial arenas. We understand the skepticism; after all, it's not every day that one encounters a statistical correlation that suggests a near-perfect alignment between the awarding of degrees in military technologies and the fluctuations in stock prices of a major entertainment software company.

While we approach this analysis with the gravitas befitting a scholarly investigation, we cannot resist acknowledging the irony and unexpected nature of these findings. Indeed, as we journey through the labyrinth of data and correlations, we aim to bring a touch of levity to our exploration, recognizing that the intersection of academia and financial markets can yield surprising and, at times, entertaining revelations.

The data at hand beckons us to both serious scrutiny and lighthearted reflection, reminding us that the world of financial markets, much like the unpredictable landscape of warfare, is rife with unexpected maneuvers and strategic surprises. With this in mind, we embark on our study, armed not only with statistical tools but also with a sense of humor, recognizing that even in the world of academic inquiry, a well-timed pun or unexpected twist can engage the mind and elicit a wry smile.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
In the realm of stock market analysis, unusual relationships and unexpected correlations occasionally emerge, akin to a surprise attack in the world of military strategy. The peculiar and, dare we say, amusing connection between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) is the subject of this investigation. While it may initially seem as incongruous as soldiers wielding joysticks, our rigorous statistical inquiry aims to shed light on this intriguing association, employing the precision and discipline of a well-trained platoon to navigate the intricacies of financial and educational data.
The prospect of uncovering such a seemingly incongruent relationship between the field of military technologies and the realm of interactive software may strike one as comical at first glance. However, as we venture further into our inquiry, the initial whimsy gives way to a more serious and thought-provoking examination of the forces at play in both the educational and financial arenas. We understand the skepticism; after all, it's not every day that one encounters a statistical correlation that suggests a near-perfect alignment between the awarding of degrees in military technologies and the fluctuations in stock prices of a major entertainment software company.
While we approach this analysis with the gravitas befitting a scholarly investigation, we cannot resist acknowledging the irony and unexpected nature of these findings. Indeed, as we journey through the labyrinth of data and correlations, we aim to bring a touch of levity to our exploration, recognizing that the intersection of academia and financial markets can yield surprising and, at times, entertaining revelations.
The data at hand beckons us to both serious scrutiny and lighthearted reflection, reminding us that the world of financial markets, much like the unpredictable landscape of warfare, is rife with unexpected maneuvers and strategic surprises. With this in mind, we embark on our study, armed not only with statistical tools but also with a sense of humor, recognizing that even in the world of academic inquiry, a well-timed pun or unexpected twist can engage the mind and elicit a wry smile.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In "The Impact of Military Education on Financial Markets," Smith et al. explore the relationship between educational pursuits in military technologies and their impact on stock market trends. Doe, in "Defending the Stock: The Interplay Between Military Technologies and Applied Sciences Degrees and Financial Market Performance," examines the influence of academic degrees in applied sciences on stock prices. Jones et al., in "War and Stocks: A Statistical Analysis of Military Technologies Education and Its Correlation with Financial Markets," scrutinize the statistical correlations between the military technologies education sector and stock market behavior.

Turning to non-fiction books related to the subject at hand, "The Art of War" by Sun Tzu presents timeless strategies and tactics, while "Weapons and Warfare in Renaissance Europe" by Bert S. Hall provides historical insights into military technologies. Works of fiction, such as "Ender's Game" by Orson Scott Card and "Snow Crash" by Neal Stephenson, offer imaginative depictions of technological warfare and interactive environments. Slightly diverging in theme but sharing a connection with our subject, the popular internet memes "All Your Base Are Belong to Us" and "Press F to Pay Respects" reflect the intersection of military-themed content and digital culture, adding a lighthearted dimension to our analysis.

The aforementioned literature sets the stage for our present investigation into the intriguing bond between Bachelor's degrees in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software. Intent on infusing our analysis with both rigor and levity, we forge ahead into uncharted territory, armed with curiosity and a flair for unexpected serendipity.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. 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 National Center for Education Statistics and LSEG Analytics (Refinitiv) . You used data from 2012 to 2021

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

[[INTRODUCTION]]
In the realm of stock market analysis, unusual relationships and unexpected correlations occasionally emerge, akin to a surprise attack in the world of military strategy. The peculiar and, dare we say, amusing connection between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) is the subject of this investigation. While it may initially seem as incongruous as soldiers wielding joysticks, our rigorous statistical inquiry aims to shed light on this intriguing association, employing the precision and discipline of a well-trained platoon to navigate the intricacies of financial and educational data.
The prospect of uncovering such a seemingly incongruent relationship between the field of military technologies and the realm of interactive software may strike one as comical at first glance. However, as we venture further into our inquiry, the initial whimsy gives way to a more serious and thought-provoking examination of the forces at play in both the educational and financial arenas. We understand the skepticism; after all, it's not every day that one encounters a statistical correlation that suggests a near-perfect alignment between the awarding of degrees in military technologies and the fluctuations in stock prices of a major entertainment software company.
While we approach this analysis with the gravitas befitting a scholarly investigation, we cannot resist acknowledging the irony and unexpected nature of these findings. Indeed, as we journey through the labyrinth of data and correlations, we aim to bring a touch of levity to our exploration, recognizing that the intersection of academia and financial markets can yield surprising and, at times, entertaining revelations.
The data at hand beckons us to both serious scrutiny and lighthearted reflection, reminding us that the world of financial markets, much like the unpredictable landscape of warfare, is rife with unexpected maneuvers and strategic surprises. With this in mind, we embark on our study, armed not only with statistical tools but also with a sense of humor, recognizing that even in the world of academic inquiry, a well-timed pun or unexpected twist can engage the mind and elicit a wry smile.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

In the spirit of our investigation, which aims to unravel the seemingly incongruous relationship between Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO), we employed a methodological approach that demanded precision, thoroughness, and a keen awareness of the unexpected twists that statistical analysis can reveal. Our data collection, curation, and analysis were executed with the rigor of a well-coordinated campaign and the agility of a strategic maneuver.

Data Collection:
The first phase of our investigation involved the acquisition of data from multiple sources, leveraging the National Center for Education Statistics and LSEG Analytics (Refinitiv) as the primary repositories of information. The decision to utilize these sources was made after careful consideration of the depth and breadth of data available to us, acknowledging that in the terrain of statistical analysis, a comprehensive data arsenal is essential.

Our team meticulously gathered data on the number of Bachelor's degrees awarded in the field of Military Technologies and Applied Sciences from the National Center for Education Statistics, spanning the years 2012 to 2021. Simultaneously, stock price information for Take-Two Interactive Software (TTWO) was obtained from LSEG Analytics (Refinitiv), capturing the same temporal span. The convergence of these disparate data streams underpinned our quest for unexpected correlations, reminding us that in the world of statistical inquiry, the unlikeliest of allies can reveal surprising alliances.

Data Analysis:
With our data arsenal assembled, we undertook an analysis that combined the precision of a surgical strike with the breadth of a comprehensive campaign. Utilizing statistical tools such as correlation analysis, we sought to unravel the intricate web of relationships between the awarding of Bachelor's degrees in Military Technologies and Applied Sciences and the stock performance of Take-Two Interactive Software.

The statistical analysis was conducted with a firm commitment to objectivity and an unwavering determination to navigate the convoluted terrain of data with diligence and discipline. Our approach amalgamated time series analysis and correlation coefficients, allowing us to uncover the nuanced patterns underlying the association in question while remaining attuned to the unexpected maneuvers that statistical analysis can unveil.

In adherence to best practices in statistical inquiry, our methodology incorporated robustness checks and sensitivity analyses to ensure that our findings stood steadfast in the face of scrutiny. The analytical journey we embarked upon was punctuated with moments of revelation and surprise, echoing the unpredictability of both military engagements and financial markets.

In summary, our research methodology honored the gravity of our inquiry while remaining attuned to the playful unpredictability of statistical analysis. We recognized that beneath the veneer of academic rigor, the world of data analysis can harbor unexpected quips and surprising revelations, and we remained poised to embrace these with scholarly curiosity and a touch of amusement.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. 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 National Center for Education Statistics and LSEG Analytics (Refinitiv) .

For the time period 2012 to 2021, you found a correlation 0.9762459, r-squared of 0.9530560, 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]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
In the realm of stock market analysis, unusual relationships and unexpected correlations occasionally emerge, akin to a surprise attack in the world of military strategy. The peculiar and, dare we say, amusing connection between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) is the subject of this investigation. While it may initially seem as incongruous as soldiers wielding joysticks, our rigorous statistical inquiry aims to shed light on this intriguing association, employing the precision and discipline of a well-trained platoon to navigate the intricacies of financial and educational data.
The prospect of uncovering such a seemingly incongruent relationship between the field of military technologies and the realm of interactive software may strike one as comical at first glance. However, as we venture further into our inquiry, the initial whimsy gives way to a more serious and thought-provoking examination of the forces at play in both the educational and financial arenas. We understand the skepticism; after all, it's not every day that one encounters a statistical correlation that suggests a near-perfect alignment between the awarding of degrees in military technologies and the fluctuations in stock prices of a major entertainment software company.
While we approach this analysis with the gravitas befitting a scholarly investigation, we cannot resist acknowledging the irony and unexpected nature of these findings. Indeed, as we journey through the labyrinth of data and correlations, we aim to bring a touch of levity to our exploration, recognizing that the intersection of academia and financial markets can yield surprising and, at times, entertaining revelations.
The data at hand beckons us to both serious scrutiny and lighthearted reflection, reminding us that the world of financial markets, much like the unpredictable landscape of warfare, is rife with unexpected maneuvers and strategic surprises. With this in mind, we embark on our study, armed not only with statistical tools but also with a sense of humor, recognizing that even in the world of academic inquiry, a well-timed pun or unexpected twist can engage the mind and elicit a wry smile.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our investigation unveiled a strikingly robust correlation between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). The correlation coefficient of 0.9762459 suggests an extraordinarily strong relationship between these seemingly incongruous domains. Furthermore, the high r-squared value of 0.9530560 indicates that a staggering 95.3% of the variance in TTWO stock prices can be explained by the number of degrees awarded in military technologies and applied sciences. This statistical relationship demonstrates a remarkable level of predictability, akin to knowing the respawn location of an opponent in a video game.

The p-value being less than 0.01 provides unequivocal evidence of the statistical significance of this association, as if the data itself were demanding to be taken seriously despite its humorous implications.

In Figure 1, the scatterplot graphically illustrates the near-perfect correlation between the number of Bachelor's degrees in military technologies and applied sciences and Take-Two Interactive Software's stock price. The datapoints form a nearly linear pattern, reminiscent of a perfectly executed military formation, reflecting the close connection between these two variables.

These findings not only underscore the unexpected and unconventional nature of the relationship between education and financial markets but also serve as a gentle reminder that statistics, much like video games, can yield some truly unexpected plot twists. Despite the levity of the data's implications, the robustness of the statistical findings demands careful consideration and further investigation to fully comprehend the implications of this unanticipated correlation.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. 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]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

[[LITERATURE REVIEW]]
In "The Impact of Military Education on Financial Markets," Smith et al. explore the relationship between educational pursuits in military technologies and their impact on stock market trends. Doe, in "Defending the Stock: The Interplay Between Military Technologies and Applied Sciences Degrees and Financial Market Performance," examines the influence of academic degrees in applied sciences on stock prices. Jones et al., in "War and Stocks: A Statistical Analysis of Military Technologies Education and Its Correlation with Financial Markets," scrutinize the statistical correlations between the military technologies education sector and stock market behavior.
Turning to non-fiction books related to the subject at hand, "The Art of War" by Sun Tzu presents timeless strategies and tactics, while "Weapons and Warfare in Renaissance Europe" by Bert S. Hall provides historical insights into military technologies. Works of fiction, such as "Ender's Game" by Orson Scott Card and "Snow Crash" by Neal Stephenson, offer imaginative depictions of technological warfare and interactive environments. Slightly diverging in theme but sharing a connection with our subject, the popular internet memes "All Your Base Are Belong to Us" and "Press F to Pay Respects" reflect the intersection of military-themed content and digital culture, adding a lighthearted dimension to our analysis.
The aforementioned literature sets the stage for our present investigation into the intriguing bond between Bachelor's degrees in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software. Intent on infusing our analysis with both rigor and levity, we forge ahead into uncharted territory, armed with curiosity and a flair for unexpected serendipity.

[[RESULTS]]
Our investigation unveiled a strikingly robust correlation between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). The correlation coefficient of 0.9762459 suggests an extraordinarily strong relationship between these seemingly incongruous domains. Furthermore, the high r-squared value of 0.9530560 indicates that a staggering 95.3% of the variance in TTWO stock prices can be explained by the number of degrees awarded in military technologies and applied sciences. This statistical relationship demonstrates a remarkable level of predictability, akin to knowing the respawn location of an opponent in a video game.
The p-value being less than 0.01 provides unequivocal evidence of the statistical significance of this association, as if the data itself were demanding to be taken seriously despite its humorous implications.
In Figure 1, the scatterplot graphically illustrates the near-perfect correlation between the number of Bachelor's degrees in military technologies and applied sciences and Take-Two Interactive Software's stock price. The datapoints form a nearly linear pattern, reminiscent of a perfectly executed military formation, reflecting the close connection between these two variables.
These findings not only underscore the unexpected and unconventional nature of the relationship between education and financial markets but also serve as a gentle reminder that statistics, much like video games, can yield some truly unexpected plot twists. Despite the levity of the data's implications, the robustness of the statistical findings demands careful consideration and further investigation to fully comprehend the implications of this unanticipated correlation.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The remarkable correlation uncovered in our study between the number of Bachelor's degrees in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) lends credence to the adage that truth can indeed be stranger than fiction. While some might find it difficult to reconcile the worlds of military technologies and video game development, our findings suggest a compelling relationship between the two, akin to the unexpected alliances forged in a well-crafted strategic game plot.

The statistical ammunition provided by the correlation coefficient of 0.9762459 and the p-value less than 0.01 fortifies our position that this association between education and financial markets should not be dismissed lightly. In fact, it demands the same level of attention as a well-camouflaged opponent in a game of tactical espionage. Our results echo the sentiments of Sun Tzu in "The Art of War," emphasizing the importance of understanding unanticipated connections and adapting strategies accordingly.

The prior research in this domain, though initially perceived as unconventional, now appears prescient in light of our findings. The work of Smith et al., Doe, and Jones et al. has laid the groundwork for our present investigation, and in a delightful twist, the popular internet memes "All Your Base Are Belong to Us" and "Press F to Pay Respects" also provided a lighthearted but unexpectedly relevant context for our exploration. Much like Goethe's "Sorrows of Young Werther," where the protagonist's unconventional journey mirrors that of our own research, our study has uncovered a connection that may seem whimsical at first glance but demands serious consideration.

The near-perfect linear pattern depicted in Figure 1 not only visually encapsulates the robust relationship between the number of Bachelor's degrees in military technologies and applied sciences and TTWO stock price but also delivers a visual punchline worthy of the best-plotted comedic shows. The high r-squared value further solidifies the reliability of this relationship, akin to the dependability of a well-constructed game controller.

These results not only buck conventional wisdom but also highlight the quirky volatility inherent in both financial markets and video game narratives. As with any unpredictable narrative arc, the unexpected twists and turns of our findings underscore the need for further investigation into the implications of this intriguing correlation. Just as in a chess game, where a seemingly innocuous move can lead to decisive outcomes, the implications of this unexpected correlation between educational pursuits and market performance merit continued examination and strategic scrutiny.

Our findings serve as a whimsical reminder that in the game of statistical analysis, one must always be prepared for the delightful surprises hidden in the data - surprises that often transcend the boundaries of traditional understanding and bring a touch of unexpected humor to the serious pursuit of knowledge.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in Military technologies and applied sciences and Take-Two Interactive Software's stock price (TTWO). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. 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]]
Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive

[[ABSTRACT]]
This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

[[INTRDUCTION]]
In the realm of stock market analysis, unusual relationships and unexpected correlations occasionally emerge, akin to a surprise attack in the world of military strategy. The peculiar and, dare we say, amusing connection between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO) is the subject of this investigation. While it may initially seem as incongruous as soldiers wielding joysticks, our rigorous statistical inquiry aims to shed light on this intriguing association, employing the precision and discipline of a well-trained platoon to navigate the intricacies of financial and educational data.
The prospect of uncovering such a seemingly incongruent relationship between the field of military technologies and the realm of interactive software may strike one as comical at first glance. However, as we venture further into our inquiry, the initial whimsy gives way to a more serious and thought-provoking examination of the forces at play in both the educational and financial arenas. We understand the skepticism; after all, it's not every day that one encounters a statistical correlation that suggests a near-perfect alignment between the awarding of degrees in military technologies and the fluctuations in stock prices of a major entertainment software company.
While we approach this analysis with the gravitas befitting a scholarly investigation, we cannot resist acknowledging the irony and unexpected nature of these findings. Indeed, as we journey through the labyrinth of data and correlations, we aim to bring a touch of levity to our exploration, recognizing that the intersection of academia and financial markets can yield surprising and, at times, entertaining revelations.
The data at hand beckons us to both serious scrutiny and lighthearted reflection, reminding us that the world of financial markets, much like the unpredictable landscape of warfare, is rife with unexpected maneuvers and strategic surprises. With this in mind, we embark on our study, armed not only with statistical tools but also with a sense of humor, recognizing that even in the world of academic inquiry, a well-timed pun or unexpected twist can engage the mind and elicit a wry smile.

[[RESULTS]]
Our investigation unveiled a strikingly robust correlation between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). The correlation coefficient of 0.9762459 suggests an extraordinarily strong relationship between these seemingly incongruous domains. Furthermore, the high r-squared value of 0.9530560 indicates that a staggering 95.3% of the variance in TTWO stock prices can be explained by the number of degrees awarded in military technologies and applied sciences. This statistical relationship demonstrates a remarkable level of predictability, akin to knowing the respawn location of an opponent in a video game.
The p-value being less than 0.01 provides unequivocal evidence of the statistical significance of this association, as if the data itself were demanding to be taken seriously despite its humorous implications.
In Figure 1, the scatterplot graphically illustrates the near-perfect correlation between the number of Bachelor's degrees in military technologies and applied sciences and Take-Two Interactive Software's stock price. The datapoints form a nearly linear pattern, reminiscent of a perfectly executed military formation, reflecting the close connection between these two variables.
These findings not only underscore the unexpected and unconventional nature of the relationship between education and financial markets but also serve as a gentle reminder that statistics, much like video games, can yield some truly unexpected plot twists. Despite the levity of the data's implications, the robustness of the statistical findings demands careful consideration and further investigation to fully comprehend the implications of this unanticipated correlation.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has revealed a remarkably robust correlation between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). The extraordinarily strong correlation coefficient, accompanied by the high r-squared value and the unequivocally significant p-value, underscores the unexpectedly close link between these seemingly disparate realms. Our findings, akin to stumbling upon a hidden Easter egg in a game, not only add an unconventional twist to the nexus of education and financial markets but also serve as a playful yet potent reminder of the whimsical nature of statistical exploration.

This unanticipated connection, reminiscent of discovering a secret level in a game, beckons further inquiry into the underlying mechanisms driving this remarkable correlation. While our analysis delves into the statistical underpinnings of this intriguing relationship, the whimsy and irony of these findings cannot escape notice, much like an amusing glitch in a meticulously designed game.

As researchers, we recognize the need to approach these unexpected revelations with both levity and scholarly rigor, appreciating that statistical surprises, much like plot twists in a riveting narrative, can enrich our understanding of complex interconnected phenomena. However, as we pack up our statistical armory and bid adieu to this unconventional investigation, we assert with a dash of humor and a nod to statistical certainty that no further research is warranted in this peculiar, though captivating, domain.


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 Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Military Technology and Financial Strategy


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 Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Advanced Military and Technological Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Bachelor's Degrees in Military Technologies and Applied Sciences: A Stock Market Offensive with an abstract of This paper investigates the relationship between the number of Bachelor's degrees awarded in Military Technologies and Applied Sciences and the stock price of Take-Two Interactive Software (TTWO). Utilizing data from the National Center for Education Statistics and LSEG Analytics (Refinitiv), we employed statistical analysis to scrutinize this intriguing association with a firm commitment to objective investigation. Our findings reveal a noteworthy correlation coefficient of 0.9762459 and p < 0.01 for the period spanning from 2012 to 2021, suggesting a rather commanding connection between the two seemingly disparate domains. Armed with this statistical ammunition, we aim to engage in a playful yet disciplined exploration of these unanticipated findings, acknowledging that the marketplace, much like the battlefield, can yield unexpected tactics and strategies. The results not only add an unusual twist to the relationship between education and financial markets but also provide an amusing reminder that the trades we make in both spheres can often defy conventional wisdom.

ChatGPT:

bachelor's degrees, military technologies, applied sciences, stock market, Take-Two Interactive Software, correlation coefficient, statistical analysis, National Center for Education Statistics, LSEG Analytics, Refinitiv, education and financial markets, unconventional correlations

*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

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

Take-Two Interactive Software's stock price (TTWO)
Detailed data title: Opening price of Take-Two Interactive Software (TTWO) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Take-Two Interactive Software's stock price (TTWO)

Correlation r = 0.9762459 (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.9530560 (Coefficient of determination)
This means 95.3% of the change in the one variable (i.e., Take-Two Interactive Software's stock price (TTWO)) is predictable based on the change in the other (i.e., Bachelor's degrees awarded in Military technologies) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.4E-6. 0.0000013536280004702403000000
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.98 in 0.00014% of random cases. Said differently, if you correlated 738,755 random variables You don't actually need 738 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

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

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.9, 0.99 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2012201320142015201620172018201920202021
Bachelor's degrees awarded in Military technologies (Degrees awarded)8610518527635846965576711561524
Take-Two Interactive Software's stock price (TTWO) (Stock price)13.8311.2217.2728.234.0549.35110.03100.24123.53208.67




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([86,105,185,276,358,469,655,767,1156,1524,])
array_2 = np.array([13.83,11.22,17.27,28.2,34.05,49.35,110.03,100.24,123.53,208.67,])
array_1_name = "Bachelor's degrees awarded in Military technologies"
array_2_name = "Take-Two Interactive Software's stock price (TTWO)"

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

Bravo! Your evaluation rocks!


Correlation ID: 1968 · Black Variable ID: 1284 · Red Variable ID: 1873
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0