Download png, svg
AI explanation
As Americans consumed more American cheese, they experienced a surge in patriotic pride. This led to an increased sense of national unity and cooperation. Consequently, the overall stock market saw a boost as people were more willing to invest and work together for the nation's financial success. This positive market environment naturally lifted the stock price of The Charles Schwab Corporation along with the broader economic outlook. So, in a bizarre twist, it seems the cheesier the sentiment, the higher the stock prices!Model: dalle-3
Prompt: [ Concept art ] Create an image of a vibrant, bustling cafe scene where a group of diverse and contented diners are enjoying a spread of delicious comfort foods such as cheeseburgers, grilled cheese sandwiches, and macaroni and cheese dishes. The cafe exudes a warm and inviting atmosphere, with soft lighting and cozy seating arrangements. Meanwhile, a television screen in the background displays the stock market ticker showing an upward trend for The Charles Schwab Corporation (SCHW), and excited investors can be seen discussing their financial success and future dreams. The focus should be on capturing the contrasting yet harmonious elements of comfort and financial optimism in this vibrant cafe setting. 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: American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). 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 Cubism Cute cartoon An image that looks like it is a scene from A Disney Movie Concept art
ChatGPT: Concept 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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW), in the following situation: Because as Americans consumed more cheese, they experienced more dreams about financial success, leading to increased interest in investing and a surge in SCHW stock price.. Keep the description simple.
ChatGPT: In a bustling cafe, a spread of cheeseburgers, grilled cheese sandwiches, and macaroni and cheese dishes are being enjoyed by a group of contented diners. Meanwhile, on a nearby television screen, the stock market ticker displays an upward trend for The Charles Schwab Corporation (SCHW), with excited investors discussing their financial success and future dreams.
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: [ Concept art ] and depicting this scene: In a bustling cafe, a spread of cheeseburgers, grilled cheese sandwiches, and macaroni and cheese dishes are being enjoyed by a group of contented diners. Meanwhile, on a nearby television screen, the stock market ticker displays an upward trend for The Charles Schwab Corporation (SCHW), with excited investors discussing their financial success and future dreams. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ Concept art ] Create an image of a vibrant, bustling cafe scene where a group of diverse and contented diners are enjoying a spread of delicious comfort foods such as cheeseburgers, grilled cheese sandwiches, and macaroni and cheese dishes. The cafe exudes a warm and inviting atmosphere, with soft lighting and cozy seating arrangements. Meanwhile, a television screen in the background displays the stock market ticker showing an upward trend for The Charles Schwab Corporation (SCHW), and excited investors can be seen discussing their financial success and future dreams. The focus should be on capturing the contrasting yet harmonious elements of comfort and financial optimism in this vibrant cafe setting.
*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.
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 American cheese consumption caused The Charles Schwab Corporation's stock price (SCHW) to increase. Make it feel plausible.
AI academic paper
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price Journal of Dairy Economics and Financial Analysis Jan 2024 Reminder: This paper is AI-generated. Not real! |
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.
Rhyme words in the title.
Your research team used data from USDA and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9588649 and p < 0.01 for 2002 to 2021.
Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)
[[TITLE]]
Lorem ipsum dolor sit
[[ABSTRACT]]
Lorem ipsum dolor sit
ChatGPT:
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Here is the title and abstract of the paper:
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
-------
Your response should start like this:
[[INTRODUCTION]]
ChatGPT:
[[INTRODUCTION]]
The pursuit of understanding the complex interplay between seemingly unrelated variables has been a perpetual endeavor in the realm of empirical research. From investigating the correlation between avocado sales and home ownership rates to uncovering the relationship between coffee consumption and workplace productivity, researchers have ceaselessly sought correlations that may seem inconceivable at first glance. However, the quest to unravel the enigmatic link between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) is undoubtedly among the most bizarre undertakings in the annals of financial research.
As seasoned researchers and cheese enthusiasts, our team was intrigued by the prospect that the dairy delicacy could hold sway over the stock market. Armed with an arsenal of statistical tools and an insatiable appetite for discovery, we embarked on an odyssey to discern whether the consumption of American cheese may indeed be a "whey" to predict stock performance or merely a "brie-f" anomaly in the data.
Our penchant for delving into the "cheddar" side of financial analysis led us to harness a wealth of delectable data from the United States Department of Agriculture (USDA) and the unswerving precision of LSEG Analytics (Refinitiv). The meticulous curation and scrutiny of this data unearthed a remarkably high correlation coefficient of 0.9588649 and p < 0.01, spanning the period from 2002 to 2021. The astonishing confluence between American cheese consumption and SCHW stock price fluctuations left our team "grater-ly" perplexed, prompting us to explore the intriguing, albeit "gouda" correlation further.
Intriguingly, the cheese-stock dynamic could be construed as a "muenster" of paradoxes, with parallels drawn to the notion that causality may exist beyond mere coincidence. As we traverse the cheesy labyrinth of correlation and potential causation, we invite our esteemed readers to accompany us in pondering whether our findings represent a "dairy" stroke of luck, a "feta-compli" in the making, or an unforeseen "gargan-tuan" market force.
Join us as we navigate the com-"pound" effects of American cheese consumption and the ebbs and flows of SCHW stock price, and contemplate whether our findings are indicative of a "grate" investment strategy or simply an udderly "cheesy" anomaly in the financial markets.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). 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]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
-------
And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The pursuit of understanding the complex interplay between seemingly unrelated variables has been a perpetual endeavor in the realm of empirical research. From investigating the correlation between avocado sales and home ownership rates to uncovering the relationship between coffee consumption and workplace productivity, researchers have ceaselessly sought correlations that may seem inconceivable at first glance. However, the quest to unravel the enigmatic link between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) is undoubtedly among the most bizarre undertakings in the annals of financial research.
As seasoned researchers and cheese enthusiasts, our team was intrigued by the prospect that the dairy delicacy could hold sway over the stock market. Armed with an arsenal of statistical tools and an insatiable appetite for discovery, we embarked on an odyssey to discern whether the consumption of American cheese may indeed be a "whey" to predict stock performance or merely a "brie-f" anomaly in the data.
Our penchant for delving into the "cheddar" side of financial analysis led us to harness a wealth of delectable data from the United States Department of Agriculture (USDA) and the unswerving precision of LSEG Analytics (Refinitiv). The meticulous curation and scrutiny of this data unearthed a remarkably high correlation coefficient of 0.9588649 and p < 0.01, spanning the period from 2002 to 2021. The astonishing confluence between American cheese consumption and SCHW stock price fluctuations left our team "grater-ly" perplexed, prompting us to explore the intriguing, albeit "gouda" correlation further.
Intriguingly, the cheese-stock dynamic could be construed as a "muenster" of paradoxes, with parallels drawn to the notion that causality may exist beyond mere coincidence. As we traverse the cheesy labyrinth of correlation and potential causation, we invite our esteemed readers to accompany us in pondering whether our findings represent a "dairy" stroke of luck, a "feta-compli" in the making, or an unforeseen "gargan-tuan" market force.
Join us as we navigate the com-"pound" effects of American cheese consumption and the ebbs and flows of SCHW stock price, and contemplate whether our findings are indicative of a "grate" investment strategy or simply an udderly "cheesy" anomaly in the financial markets.
-------
Your response should start like this:
[[LITERATURE REVIEW]]
ChatGPT:
[[LITERATURE REVIEW]]
In their seminal work "The Economics of Dairy Products," Smith and Doe explore the complex economic factors influencing the consumption patterns of dairy products, shedding light on the intricate relationship between consumer behavior and market dynamics. Similarly, Jones et al. delve into the nuances of stock price movements and the underlying determinants in "Stock Market Volatility: Economic and Political Factors."
However, as we venture into the uncharted territory of cheese and finance, we find ourselves in a peculiar juxtaposition of narratives. While the aforementioned literature provides valuable insights into economic patterns and market behaviors, it falls short of capturing the enigmatic correlation between American cheese consumption and The Charles Schwab Corporation's stock price.
Turning to the world of non-fiction, books such as "The Big Short" by Michael Lewis and "Flash Boys" by Michael Lewis examine the intricacies of financial markets and the idiosyncratic nature of market anomalies. On the flip side, works of fiction such as "Cheese in the Trap" by Soonkki and "The Great Gatsby" by F. Scott Fitzgerald, though not directly related to our topic, serve as a reminder of the inexplicable allure and enigma that often surround matters of finance and human behavior.
In the realm of internet culture, the infamous "Cheese Challenge" meme and the popular "Distracted Boyfriend" meme, with a financial twist, humorously remind us of the capricious and unpredictable nature of market trends, often encapsulating the essence of our research journey – a curious blend of humor and astute analysis.
As we navigate through the labyrinth of literature and cultural references, our pursuit for understanding the cheese-stock correlation takes an unexpected turn, urging us to embrace the whimsical nature of our investigation while maintaining a resolute focus on unraveling the mysteries that lie beneath the surface.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Your research team collected data from all across the internet, but mostly just used information from USDA and LSEG Analytics (Refinitiv) . You used data from 2002 to 2021
Make up the research methods you don't know. Make them a bit goofy and convoluted.
Here is the title, abstract, and introduction of the paper:
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
[[INTRODUCTION]]
The pursuit of understanding the complex interplay between seemingly unrelated variables has been a perpetual endeavor in the realm of empirical research. From investigating the correlation between avocado sales and home ownership rates to uncovering the relationship between coffee consumption and workplace productivity, researchers have ceaselessly sought correlations that may seem inconceivable at first glance. However, the quest to unravel the enigmatic link between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) is undoubtedly among the most bizarre undertakings in the annals of financial research.
As seasoned researchers and cheese enthusiasts, our team was intrigued by the prospect that the dairy delicacy could hold sway over the stock market. Armed with an arsenal of statistical tools and an insatiable appetite for discovery, we embarked on an odyssey to discern whether the consumption of American cheese may indeed be a "whey" to predict stock performance or merely a "brie-f" anomaly in the data.
Our penchant for delving into the "cheddar" side of financial analysis led us to harness a wealth of delectable data from the United States Department of Agriculture (USDA) and the unswerving precision of LSEG Analytics (Refinitiv). The meticulous curation and scrutiny of this data unearthed a remarkably high correlation coefficient of 0.9588649 and p < 0.01, spanning the period from 2002 to 2021. The astonishing confluence between American cheese consumption and SCHW stock price fluctuations left our team "grater-ly" perplexed, prompting us to explore the intriguing, albeit "gouda" correlation further.
Intriguingly, the cheese-stock dynamic could be construed as a "muenster" of paradoxes, with parallels drawn to the notion that causality may exist beyond mere coincidence. As we traverse the cheesy labyrinth of correlation and potential causation, we invite our esteemed readers to accompany us in pondering whether our findings represent a "dairy" stroke of luck, a "feta-compli" in the making, or an unforeseen "gargan-tuan" market force.
Join us as we navigate the com-"pound" effects of American cheese consumption and the ebbs and flows of SCHW stock price, and contemplate whether our findings are indicative of a "grate" investment strategy or simply an udderly "cheesy" anomaly in the financial markets.
-------
Your response should start like this:
[[METHODOLOGY]]
ChatGPT:
[[METHODOLOGY]]
To embark on our dairy-licious odyssey, we first gathered historical American cheese consumption data from the United States Department of Agriculture (USDA). This database provided us with a wealth of information, spanning from 2002 to 2021, allowing us to conduct a thorough and "gouda" thorough analysis. The data was then meticulously curated and processed, ensuring that no curd was left unturned in our pursuit of cheese-related insights.
Next, we delved into the labyrinth of stock market data, with a particular focus on The Charles Schwab Corporation (SCHW). Leveraging the formidable resource of LSEG Analytics (Refinitiv), we procured historical stock prices for SCHW, allowing us to scrutinize the ebbs and flows of this financial dairy product from 2002 to 2021.
With our robust datasets in hand, we then employed advanced statistical methods, including correlation analysis, to gauge the relationship between American cheese consumption and SCHW stock price fluctuations. Our statistical approach was carefully selected to ensure that we could capture the nuances of this complex relationship, avoiding any "curdled" analysis.
To further fortify our understanding, we utilized time-series analysis to discern any potential seasonal patterns in both American cheese consumption and SCHW stock prices. This allowed us to milk every possible insight from the data and ensure that we were not merely skimming the surface of this whimsical correlation.
In addition to these measures, we conducted sensitivity analyses and robustness checks to ascertain the reliability and robustness of our findings. After all, in the world of empirical research, it's crucial to ensure that our conclusions are as "sharp" as a cheddar knife.
Finally, given the unorthodox nature of our investigation, we leaned into qualitative insights from industry experts and finance professionals to unpack the potential implications of our findings. Their perspectives added an extra layer of flavor to our discussions, enriching the "bouquet" of insights gleaned from this quirky alliance of cheese and stock prices.
The culmination of these multifaceted methodologies provided us with a solid foundation to unravel the curious connection between American cheese consumption and the stock price of The Charles Schwab Corporation, offering both intellectual nourishment and a bit of "cheese-tertainment" along the way.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Your research team collected data from all across the internet, but mostly just used information from USDA and LSEG Analytics (Refinitiv) .
For the time period 2002 to 2021, you found a correlation 0.9588649, r-squared of 0.9194220, and p < 0.01.
One figure will be included. The figure (Fig. 1) is a scatterplot showing the strong correlation between the two variables. You don't need to specify where; I will add the figure.
Here is the title and abstract of the paper:
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
-------
And here is the methodology section that led to this result:
[[METHODOLOGY]]
The pursuit of understanding the complex interplay between seemingly unrelated variables has been a perpetual endeavor in the realm of empirical research. From investigating the correlation between avocado sales and home ownership rates to uncovering the relationship between coffee consumption and workplace productivity, researchers have ceaselessly sought correlations that may seem inconceivable at first glance. However, the quest to unravel the enigmatic link between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) is undoubtedly among the most bizarre undertakings in the annals of financial research.
As seasoned researchers and cheese enthusiasts, our team was intrigued by the prospect that the dairy delicacy could hold sway over the stock market. Armed with an arsenal of statistical tools and an insatiable appetite for discovery, we embarked on an odyssey to discern whether the consumption of American cheese may indeed be a "whey" to predict stock performance or merely a "brie-f" anomaly in the data.
Our penchant for delving into the "cheddar" side of financial analysis led us to harness a wealth of delectable data from the United States Department of Agriculture (USDA) and the unswerving precision of LSEG Analytics (Refinitiv). The meticulous curation and scrutiny of this data unearthed a remarkably high correlation coefficient of 0.9588649 and p < 0.01, spanning the period from 2002 to 2021. The astonishing confluence between American cheese consumption and SCHW stock price fluctuations left our team "grater-ly" perplexed, prompting us to explore the intriguing, albeit "gouda" correlation further.
Intriguingly, the cheese-stock dynamic could be construed as a "muenster" of paradoxes, with parallels drawn to the notion that causality may exist beyond mere coincidence. As we traverse the cheesy labyrinth of correlation and potential causation, we invite our esteemed readers to accompany us in pondering whether our findings represent a "dairy" stroke of luck, a "feta-compli" in the making, or an unforeseen "gargan-tuan" market force.
Join us as we navigate the com-"pound" effects of American cheese consumption and the ebbs and flows of SCHW stock price, and contemplate whether our findings are indicative of a "grate" investment strategy or simply an udderly "cheesy" anomaly in the financial markets.
-------
Your response should start like this:
[[RESULTS]]
ChatGPT:
[[RESULTS]]
The analysis of the relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) yielded some remarkably "gouda" results. We found a strikingly high correlation coefficient of 0.9588649, indicating a strong positive association between these seemingly unrelated variables. The coefficient of determination (r-squared) was calculated to be 0.9194220, suggesting that approximately 91.9% of the variation in SCHW stock price can be explained by changes in American cheese consumption. This finding may seem as unexpected as finding a wheel of cheddar in a stock exchange, but the numbers don't lie – the connection between cheese and finance is as potent as a sharp gouda.
Furthermore, the statistical analysis revealed a p-value of less than 0.01, underscoring the statistical significance of the relationship. This means that the likelihood of obtaining a correlation as strong as the one we found by sheer coincidence is as rare as stumbling upon a lactose-intolerant mouse at a cheese festival. The evidence robustly supports the notion that the consumption of American cheese may indeed be influential in predicting the stock performance of SCHW, much like the way a wheel of gouda can influence the palate of a discerning connoisseur.
To visually encapsulate the profound correlation discovered, we present Figure 1, a scatterplot that graphically illustrates the strong positive relationship between American cheese consumption and the stock price of SCHW. This visually encapsulated "brie-lliance" provides a compelling depiction of the notable association, leaving no "whey" for doubt regarding the validity of our findings.
In conclusion, our investigation has unraveled an extraordinary linkage between the consumption of American cheese and the stock price of The Charles Schwab Corporation, shedding light on a titillating correlation that may be "feta" before ascribing it to mere happenstance. Whether this correlation represents a "gouda" investment strategy or a fortuitous anomaly in the financial landscape is a conundrum that warrants further exploration. We encourage our scholarly colleagues to partake in this cheesy discourse and ponder the significance of our findings, for in the realm of empirical research, every "cheddar" of knowledge contributes to a more enriched understanding of the world around us.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Limit your response to 500 tokens.
Here are the title, abstract, literature review, and results sections. Please harken back to 1-2 of the goofy items in the literature review, but pretend to take them completely seriously. Discuss how your results supported the prior research.
Do not write a conclusion. I will add a conclusion after this.
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
[[LITERATURE REVIEW]]
In their seminal work "The Economics of Dairy Products," Smith and Doe explore the complex economic factors influencing the consumption patterns of dairy products, shedding light on the intricate relationship between consumer behavior and market dynamics. Similarly, Jones et al. delve into the nuances of stock price movements and the underlying determinants in "Stock Market Volatility: Economic and Political Factors."
However, as we venture into the uncharted territory of cheese and finance, we find ourselves in a peculiar juxtaposition of narratives. While the aforementioned literature provides valuable insights into economic patterns and market behaviors, it falls short of capturing the enigmatic correlation between American cheese consumption and The Charles Schwab Corporation's stock price.
Turning to the world of non-fiction, books such as "The Big Short" by Michael Lewis and "Flash Boys" by Michael Lewis examine the intricacies of financial markets and the idiosyncratic nature of market anomalies. On the flip side, works of fiction such as "Cheese in the Trap" by Soonkki and "The Great Gatsby" by F. Scott Fitzgerald, though not directly related to our topic, serve as a reminder of the inexplicable allure and enigma that often surround matters of finance and human behavior.
In the realm of internet culture, the infamous "Cheese Challenge" meme and the popular "Distracted Boyfriend" meme, with a financial twist, humorously remind us of the capricious and unpredictable nature of market trends, often encapsulating the essence of our research journey – a curious blend of humor and astute analysis.
As we navigate through the labyrinth of literature and cultural references, our pursuit for understanding the cheese-stock correlation takes an unexpected turn, urging us to embrace the whimsical nature of our investigation while maintaining a resolute focus on unraveling the mysteries that lie beneath the surface.
[[RESULTS]]
The analysis of the relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) yielded some remarkably "gouda" results. We found a strikingly high correlation coefficient of 0.9588649, indicating a strong positive association between these seemingly unrelated variables. The coefficient of determination (r-squared) was calculated to be 0.9194220, suggesting that approximately 91.9% of the variation in SCHW stock price can be explained by changes in American cheese consumption. This finding may seem as unexpected as finding a wheel of cheddar in a stock exchange, but the numbers don't lie – the connection between cheese and finance is as potent as a sharp gouda.
Furthermore, the statistical analysis revealed a p-value of less than 0.01, underscoring the statistical significance of the relationship. This means that the likelihood of obtaining a correlation as strong as the one we found by sheer coincidence is as rare as stumbling upon a lactose-intolerant mouse at a cheese festival. The evidence robustly supports the notion that the consumption of American cheese may indeed be influential in predicting the stock performance of SCHW, much like the way a wheel of gouda can influence the palate of a discerning connoisseur.
To visually encapsulate the profound correlation discovered, we present Figure 1, a scatterplot that graphically illustrates the strong positive relationship between American cheese consumption and the stock price of SCHW. This visually encapsulated "brie-lliance" provides a compelling depiction of the notable association, leaving no "whey" for doubt regarding the validity of our findings.
In conclusion, our investigation has unraveled an extraordinary linkage between the consumption of American cheese and the stock price of The Charles Schwab Corporation, shedding light on a titillating correlation that may be "feta" before ascribing it to mere happenstance. Whether this correlation represents a "gouda" investment strategy or a fortuitous anomaly in the financial landscape is a conundrum that warrants further exploration. We encourage our scholarly colleagues to partake in this cheesy discourse and ponder the significance of our findings, for in the realm of empirical research, every "cheddar" of knowledge contributes to a more enriched understanding of the world around us.
-------
Your response should start like this:
[[DISCUSSION]]
ChatGPT:
The unearthing of the enchanting correlation between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) has propelled us into a realm where the dairy-laden world intersects with the enigmatic landscape of finance. Our findings, seemingly as surprising as discovering a camembert at a stock exchange, have added a gouda layer to the intricate tapestry of market analyses.
Building upon the whimsical motifs interwoven in the literature review, our results not only pigeonholed the relationship between these seemingly distant entities but also churned out compelling evidence that resonates with the idiosyncratic literary and cultural references presented. This correlation, akin to the unforeseen charm of "Cheese in the Trap" and the beguiling allure of "The Great Gatsby," has offered a vaudevillian twist to the staid world of stock price analyses.
In light of our research, the innate gravitational pull between American cheese consumption and SCHW stock price echoes the capricious reverence often associated with market anomalies, reinforcing the notion that every sector, including finance, has its 'wheys and means' of surprising us.
The heartening congruence between our findings and prior research underscores the surreal fusion of empirical science and serendipity. The statistically robust linkage we discovered 'brie-lliantly' complements the oeuvre of previous studies, unearthing a correlation as predictable as finding a mouse with lactose intolerance at a cheese festival -- a reminder that reality often encompasses the unexpected and the amusing in equal measure.
Embracing the duality of our findings, we invite our scholarly cohorts to delve into this curious connection, where every 'cheddar' of knowledge contributes to a more enriched understanding of the inexplicable intertwining of cheese consumption and stock market dynamics. As we journey into the enticing hinterlands of finance, each metaphorical 'slice' of insight propels us closer to unravelling the intricacies that underpin this delightful correlation.
Model: gpt-3.5-turbo-1106
System prompt: You are a silly researcher writing an academic paper.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 American cheese consumption and The Charles Schwab Corporation's stock price (SCHW). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.
Limit your response to 300 tokens. At the very end, assert that no more research is needed in this area.
Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
[[ABSTRACT]]
This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
[[INTRDUCTION]]
The pursuit of understanding the complex interplay between seemingly unrelated variables has been a perpetual endeavor in the realm of empirical research. From investigating the correlation between avocado sales and home ownership rates to uncovering the relationship between coffee consumption and workplace productivity, researchers have ceaselessly sought correlations that may seem inconceivable at first glance. However, the quest to unravel the enigmatic link between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) is undoubtedly among the most bizarre undertakings in the annals of financial research.
As seasoned researchers and cheese enthusiasts, our team was intrigued by the prospect that the dairy delicacy could hold sway over the stock market. Armed with an arsenal of statistical tools and an insatiable appetite for discovery, we embarked on an odyssey to discern whether the consumption of American cheese may indeed be a "whey" to predict stock performance or merely a "brie-f" anomaly in the data.
Our penchant for delving into the "cheddar" side of financial analysis led us to harness a wealth of delectable data from the United States Department of Agriculture (USDA) and the unswerving precision of LSEG Analytics (Refinitiv). The meticulous curation and scrutiny of this data unearthed a remarkably high correlation coefficient of 0.9588649 and p < 0.01, spanning the period from 2002 to 2021. The astonishing confluence between American cheese consumption and SCHW stock price fluctuations left our team "grater-ly" perplexed, prompting us to explore the intriguing, albeit "gouda" correlation further.
Intriguingly, the cheese-stock dynamic could be construed as a "muenster" of paradoxes, with parallels drawn to the notion that causality may exist beyond mere coincidence. As we traverse the cheesy labyrinth of correlation and potential causation, we invite our esteemed readers to accompany us in pondering whether our findings represent a "dairy" stroke of luck, a "feta-compli" in the making, or an unforeseen "gargan-tuan" market force.
Join us as we navigate the com-"pound" effects of American cheese consumption and the ebbs and flows of SCHW stock price, and contemplate whether our findings are indicative of a "grate" investment strategy or simply an udderly "cheesy" anomaly in the financial markets.
[[RESULTS]]
The analysis of the relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW) yielded some remarkably "gouda" results. We found a strikingly high correlation coefficient of 0.9588649, indicating a strong positive association between these seemingly unrelated variables. The coefficient of determination (r-squared) was calculated to be 0.9194220, suggesting that approximately 91.9% of the variation in SCHW stock price can be explained by changes in American cheese consumption. This finding may seem as unexpected as finding a wheel of cheddar in a stock exchange, but the numbers don't lie – the connection between cheese and finance is as potent as a sharp gouda.
Furthermore, the statistical analysis revealed a p-value of less than 0.01, underscoring the statistical significance of the relationship. This means that the likelihood of obtaining a correlation as strong as the one we found by sheer coincidence is as rare as stumbling upon a lactose-intolerant mouse at a cheese festival. The evidence robustly supports the notion that the consumption of American cheese may indeed be influential in predicting the stock performance of SCHW, much like the way a wheel of gouda can influence the palate of a discerning connoisseur.
To visually encapsulate the profound correlation discovered, we present Figure 1, a scatterplot that graphically illustrates the strong positive relationship between American cheese consumption and the stock price of SCHW. This visually encapsulated "brie-lliance" provides a compelling depiction of the notable association, leaving no "whey" for doubt regarding the validity of our findings.
In conclusion, our investigation has unraveled an extraordinary linkage between the consumption of American cheese and the stock price of The Charles Schwab Corporation, shedding light on a titillating correlation that may be "feta" before ascribing it to mere happenstance. Whether this correlation represents a "gouda" investment strategy or a fortuitous anomaly in the financial landscape is a conundrum that warrants further exploration. We encourage our scholarly colleagues to partake in this cheesy discourse and ponder the significance of our findings, for in the realm of empirical research, every "cheddar" of knowledge contributes to a more enriched understanding of the world around us.
-------
Your response should start like this:
[[CONCLUSION]]
ChatGPT:
[[CONCLUSION]]
In closing, our study has shed light on the intriguing correlation between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). The astoundingly high correlation coefficient of 0.9588649, akin to stumbling upon a lactose-intolerant mouse at a cheese festival, and a p-value of less than 0.01, as rare as finding a wheel of cheddar in a stock exchange, have revealed a connection as potent as a sharp gouda. The significant coefficient of determination (r-squared) of 0.9194220 suggests that approximately 91.9% of the variation in SCHW stock price can be explained by changes in American cheese consumption – a finding as unexpected as finding a wheel of cheddar in a stock exchange.
The visual representation of this correlation in Figure 1 boldly illustrates the strong positive relationship between these seemingly unrelated entities, leaving no "whey" for doubt regarding the validity of our findings. We are left pondering whether this correlation is a "gouda" investment strategy or simply a fortuitous anomaly in the financial landscape.
However, given the extraordinary "brie-lliance" of our findings, it is with the utmost confidence that we assert that no further research in this area is needed. For now, let us fondue as we savor the curd-ious world of dairy and finance, celebrating the queso of coincidence that has unfolded before us.
Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of academic journals. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding research, scientific, or academic journal that would publish a paper entited The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price. Respond only with the name of a fictional academic journal.
ChatGPT:
Journal of Dairy Economics and Financial 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 The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price. Respond only with the name of a fictional organization.
ChatGPT:
The International Institute for Interdisciplinary Dairy Research
Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price with an abstract of This paper delves into the curious relationship between American cheese consumption and the stock price of The Charles Schwab Corporation (SCHW). Utilizing data from USDA and LSEG Analytics (Refinitiv), our research team meticulously scrutinized the two seemingly disparate entities. Surprisingly, we discovered a remarkably high correlation coefficient of 0.9588649 and p < 0.01 during the period from 2002 to 2021. Our findings suggest that there may be more to this cheesy correlation than meets the eye. Join us as we explore the curd-ious world of dairy and finance, and ponder whether it's merely a queso of coincidence or a gouda investment strategy.
ChatGPT:
American cheese consumption, Charles Schwab Corporation stock price, correlation, USDA data, LSEG Analytics, Refinitiv, dairy industry, finance, investment strategy, stock market correlation, cheese consumption trends, financial analysis
*There is a bunch of Python happening behind the scenes to turn this prompt sequence into a PDF.
Discover a new correlation
View all correlations
View all research papers
Report an error
Data details
American cheese consumptionDetailed data title: Per capita consumption of American cheese in the US
Source: USDA
See what else correlates with American cheese consumption
The Charles Schwab Corporation's stock price (SCHW)
Detailed data title: Opening price of The Charles Schwab Corporation (SCHW) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function
See what else correlates with The Charles Schwab Corporation's stock price (SCHW)
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.9194220 (Coefficient of determination)
This means 91.9% of the change in the one variable (i.e., The Charles Schwab Corporation's stock price (SCHW)) is predictable based on the change in the other (i.e., American cheese consumption) over the 20 years from 2002 through 2021.
p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.8E-11. 0.0000000000275792118927243100
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.96 in 2.8E-9% of random cases. Said differently, if you correlated 36,259,194,204 random variables You don't actually need 36 billion 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 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.9, 0.98 ] 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.
2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | |
American cheese consumption (Pounds per person) | 12.8314 | 12.5619 | 12.8612 | 12.649 | 13.0656 | 12.7929 | 13.1306 | 13.3553 | 13.3048 | 13.0392 | 13.2569 | 13.3573 | 13.6656 | 14.0444 | 14.3621 | 15.0901 | 15.4027 | 15.5389 | 15.5 | 16.1 |
The Charles Schwab Corporation's stock price (SCHW) (Stock price) | 15.42 | 10.93 | 11.84 | 11.8 | 14.51 | 19.2 | 25.55 | 16.05 | 19.21 | 17.23 | 11.51 | 14.67 | 25.99 | 30.41 | 31.95 | 40.05 | 51.55 | 40.7 | 47.76 | 53.22 |
Why this works
- 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.
- 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. - 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. - Y-axis doesn't start at zero: I truncated the Y-axes of the graph above. I also used a line graph, which makes the visual connection stand out more than it deserves.
Nothing against line graphs. They are great at telling a story when you have linear data! But visually it is deceptive because the only data is at the points on the graph, not the lines on the graph. In between each point, the data could have been doing anything. Like going for a random walk by itself!
Mathematically what I showed is true, but it is intentionally misleading. Below is the same chart but with both Y-axes starting at zero.
Try it yourself
You can calculate the values on this page on your own! Try running the Python code to see the calculation results. Step 1: Download and install Python on your computer.Step 2: Open a plaintext editor like Notepad and paste the code below into it.
Step 3: Save the file as "calculate_correlation.py" in a place you will remember, like your desktop. Copy the file location to your clipboard. On Windows, you can right-click the file and click "Properties," and then copy what comes after "Location:" As an example, on my computer the location is "C:\Users\tyler\Desktop"
Step 4: Open a command line window. For example, by pressing start and typing "cmd" and them pressing enter.
Step 5: Install the required modules by typing "pip install numpy", then pressing enter, then typing "pip install scipy", then pressing enter.
Step 6: Navigate to the location where you saved the Python file by using the "cd" command. For example, I would type "cd C:\Users\tyler\Desktop" and push enter.
Step 7: Run the Python script by typing "python calculate_correlation.py"
If you run into any issues, I suggest asking ChatGPT to walk you through installing Python and running the code below on your system. Try this question:
"Walk me through installing Python on my computer to run a script that uses scipy and numpy. Go step-by-step and ask me to confirm before moving on. Start by asking me questions about my operating system so that you know how to proceed. Assume I want the simplest installation with the latest version of Python and that I do not currently have any of the necessary elements installed. Remember to only give me one step per response and confirm I have done it before proceeding."
# These modules make it easier to perform the calculation
import numpy as np
from scipy import stats
# We'll define a function that we can call to return the correlation calculations
def calculate_correlation(array1, array2):
# Calculate Pearson correlation coefficient and p-value
correlation, p_value = stats.pearsonr(array1, array2)
# Calculate R-squared as the square of the correlation coefficient
r_squared = correlation**2
return correlation, r_squared, p_value
# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([12.8314,12.5619,12.8612,12.649,13.0656,12.7929,13.1306,13.3553,13.3048,13.0392,13.2569,13.3573,13.6656,14.0444,14.3621,15.0901,15.4027,15.5389,15.5,16.1,])
array_2 = np.array([15.42,10.93,11.84,11.8,14.51,19.2,25.55,16.05,19.21,17.23,11.51,14.67,25.99,30.41,31.95,40.05,51.55,40.7,47.76,53.22,])
array_1_name = "American cheese consumption"
array_2_name = "The Charles Schwab Corporation's stock price (SCHW)"
# 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:
- High resolution line chart
The image linked here is a Scalable Vector Graphic (SVG). It is the highest resolution that is possible to achieve. It scales up beyond the size of the observable universe without pixelating. You do not need to email me asking if I have a higher resolution image. I do not. The physical limitations of our universe prevent me from providing you with an image that is any higher resolution than this one.
If you insert it into a PowerPoint presentation (a tool well-known for managing things that are the scale of the universe), you can right-click > "Ungroup" or "Create Shape" and then edit the lines and text directly. You can also change the colors this way.
Alternatively you can use a tool like Inkscape. - High resolution line chart, optimized for mobile
- Alternative high resolution line chart
- Scatterplot
- Portable line chart (png)
- Portable line chart (png), optimized for mobile
- Line chart for only American cheese consumption
- Line chart for only The Charles Schwab Corporation's stock price (SCHW)
- AI-generated correlation image
- The spurious research paper: The Cheddar Connection: American Cheese Consumption and Charles Schwab Corporation's Stock Price
Your correlation inspection deserves a standing ovation!
Correlation ID: 2930 · Black Variable ID: 553 · Red Variable ID: 1635