about · email me · subscribe
Spurious correlation #3,455 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Cottage cheese consumption and the second variable is Lloyds Banking Group's stock price (LYG).  The chart goes from 2002 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As cottage cheese sales curdled, it led to a whey-ward shift in the dairy market. This, in turn, caused a ripple effect in the economy, resulting in a sticky situation for Lloyds Banking Group. As the saying goes, it all began with a dairy good decision that went whey too far! Remember, always consult a financial advisor before making any investment decisions based on dairy products.

Model: dalle-3
Prompt: [ a funny image macro ] Create a whimsical scene of a bustling city street, with outdoor cafes showing people enjoying cottage cheese. In the middle of the scene, depict a group of passionate drummers creating music using leftover cottage cheese containers. Show the nearby office building with the Lloyds Banking Group employees watching the drumming performance. Lastly, display the digital ticker with the stock price of Lloyds Banking Group (LYG) declining due to the distraction caused by the drumming. 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: Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: Scalar art A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s Cutsy graphics Sci-fi fantacy a funny image macro
ChatGPT: a funny image macro

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 Cottage cheese consumption and Lloyds Banking Group's stock price (LYG), in the following situation: Because cottage cheese consumption decreased, more people had leftover containers. This led to an increase in container drumming bands, distracting Lloyds Banking Group employees and causing a decrease in stock price.. Keep the description simple.
ChatGPT: In a bustling city, people are seen enjoying cottage cheese at outdoor cafes. Meanwhile, nearby, a group of passionate drummers has formed a container drumming band using the leftover cottage cheese containers. The sound of their rhythmic beats fills the air and captures the attention of the Lloyds Banking Group employees in the nearby office building. As a result, the stock price of Lloyds Banking Group (LYG) displayed on the nearby digital ticker declines, reflecting the distraction caused by the lively drumming performance.

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: [ a funny image macro ] and depicting this scene: In a bustling city, people are seen enjoying cottage cheese at outdoor cafes. Meanwhile, nearby, a group of passionate drummers has formed a container drumming band using the leftover cottage cheese containers. The sound of their rhythmic beats fills the air and captures the attention of the Lloyds Banking Group employees in the nearby office building. As a result, the stock price of Lloyds Banking Group (LYG) displayed on the nearby digital ticker declines, reflecting the distraction caused by the lively drumming performance. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: [ a funny image macro ] Create a whimsical scene of a bustling city street, with outdoor cafes showing people enjoying cottage cheese. In the middle of the scene, depict a group of passionate drummers creating music using leftover cottage cheese containers. Show the nearby office building with the Lloyds Banking Group employees watching the drumming performance. Lastly, display the digital ticker with the stock price of Lloyds Banking Group (LYG) declining due to the distraction caused by the drumming.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in Cottage cheese consumption caused Lloyds Banking Group's stock price (LYG) to decrease. Make it feel plausible.

AI academic paper

(Because p < 0.01)
Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price

The Journal of Dairy Economics and Financial Speculation

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from USDA and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8324264 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The field of financial economics has a long tradition of seeking out new and innovative predictors of stock price movements. From interest rates and economic indicators to weather patterns and even the length of women's skirts, researchers have left no stone unturned in their quest to uncover the secret sauce of stock price prediction. In this vein, the present study aims to shed light on an unconventional yet surprisingly appetizing contender: cottage cheese consumption.

The consumption of cottage cheese, often overlooked in the realm of market analysis, has a storied history dating back to the ancient land of Mesopotamia. Fast forward to the 21st century, and this humble dairy product finds itself cast in a novel role as a potential harbinger of stock market trends. Indeed, while one might be more accustomed to considering cottage cheese in the context of weight loss or post-workout protein intake, our investigation takes a turn into the realm of high finance, where the curdled mysteries of the dairy aisle may hold sway over the movements of Lloyds Banking Group's stock price (LYG).

The Lloyds Banking Group, a stalwart of the British financial sector, has weathered its fair share of economic storms. Yet, within the ebb and flow of the stock market, could a more unexpected force be at play? As we endeavor to uncover the potential cheddar effect of cottage cheese consumption on the stock price of Lloyds, we are drawn into a whirlwind of speculation, analysis, and perhaps a sprinkle of Parmesan.

As we embark on this dairy-driven analysis, we must maintain a critical yet open-minded stance, prepared to embrace the unexpected and entertain the notion that the dairy case may hold secrets far beyond its calcium-rich confines. While we approach this investigation with all due seriousness and statistical rigor, we cannot help but savor the irony of a potential market indicator derived from the unlikeliest of sources – the humble, lumpy, and oft-misunderstood cottage cheese.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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 you might move on to cartoons and children's shows that you watched for research.

Here is the title and abstract of the paper:
[[TITLE]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The field of financial economics has a long tradition of seeking out new and innovative predictors of stock price movements. From interest rates and economic indicators to weather patterns and even the length of women's skirts, researchers have left no stone unturned in their quest to uncover the secret sauce of stock price prediction. In this vein, the present study aims to shed light on an unconventional yet surprisingly appetizing contender: cottage cheese consumption.
The consumption of cottage cheese, often overlooked in the realm of market analysis, has a storied history dating back to the ancient land of Mesopotamia. Fast forward to the 21st century, and this humble dairy product finds itself cast in a novel role as a potential harbinger of stock market trends. Indeed, while one might be more accustomed to considering cottage cheese in the context of weight loss or post-workout protein intake, our investigation takes a turn into the realm of high finance, where the curdled mysteries of the dairy aisle may hold sway over the movements of Lloyds Banking Group's stock price (LYG).
The Lloyds Banking Group, a stalwart of the British financial sector, has weathered its fair share of economic storms. Yet, within the ebb and flow of the stock market, could a more unexpected force be at play? As we endeavor to uncover the potential cheddar effect of cottage cheese consumption on the stock price of Lloyds, we are drawn into a whirlwind of speculation, analysis, and perhaps a sprinkle of Parmesan.
As we embark on this dairy-driven analysis, we must maintain a critical yet open-minded stance, prepared to embrace the unexpected and entertain the notion that the dairy case may hold secrets far beyond its calcium-rich confines. While we approach this investigation with all due seriousness and statistical rigor, we cannot help but savor the irony of a potential market indicator derived from the unlikeliest of sources – the humble, lumpy, and oft-misunderstood cottage cheese.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The authors find that the relationship between dairy consumption and stock price movements has been a subject of interest within the realms of financial economics and nutritional research. Smith et al. (2015) highlight the potential impact of cheese consumption on consumer behavior and economic decision-making, discussing the psychological and physiological effects of dairy products on individuals' risk tolerance and market participation. Meanwhile, Doe and Jones (2018) explore the broader implications of milk and dairy production on macroeconomic indicators, emphasizing the intricate interplay between agricultural output and financial market dynamics.

Moving beyond traditional financial literature, the investigation delves into the realms of consumer behavior and sociology, drawing inspiration from popular non-fiction works such as "The Big Short" by Michael Lewis and "Freakonomics" by Steven D. Levitt and Stephen J. Dubner. These authors provide a compelling backdrop to the study, framing the exploration of unusual market indicators in the context of broader societal trends and individual decision-making processes.

Further extending the scope of inquiry, the study integrates insights from fictional literature, considering the potential influence of narrative and symbolism on market perceptions. For instance, the classic work "Alice's Adventures in Wonderland" by Lewis Carroll prompts reflection on the juxtaposition of logical reasoning and whimsical imagination, offering a lens through which to contemplate the unconventional confluence of cottage cheese consumption and stock price movements.

Additionally, drawing inspiration from children's animation and entertainment, the study takes a lighthearted approach to exploring unexpected correlations. Popular shows such as "SpongeBob SquarePants" and "Tom and Jerry" provide a whimsical lens through which to consider the interplay of unlikely factors in shaping market behavior, reminding researchers to approach the investigation with a playful yet discerning mindset.



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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

[[INTRODUCTION]]
The field of financial economics has a long tradition of seeking out new and innovative predictors of stock price movements. From interest rates and economic indicators to weather patterns and even the length of women's skirts, researchers have left no stone unturned in their quest to uncover the secret sauce of stock price prediction. In this vein, the present study aims to shed light on an unconventional yet surprisingly appetizing contender: cottage cheese consumption.
The consumption of cottage cheese, often overlooked in the realm of market analysis, has a storied history dating back to the ancient land of Mesopotamia. Fast forward to the 21st century, and this humble dairy product finds itself cast in a novel role as a potential harbinger of stock market trends. Indeed, while one might be more accustomed to considering cottage cheese in the context of weight loss or post-workout protein intake, our investigation takes a turn into the realm of high finance, where the curdled mysteries of the dairy aisle may hold sway over the movements of Lloyds Banking Group's stock price (LYG).
The Lloyds Banking Group, a stalwart of the British financial sector, has weathered its fair share of economic storms. Yet, within the ebb and flow of the stock market, could a more unexpected force be at play? As we endeavor to uncover the potential cheddar effect of cottage cheese consumption on the stock price of Lloyds, we are drawn into a whirlwind of speculation, analysis, and perhaps a sprinkle of Parmesan.
As we embark on this dairy-driven analysis, we must maintain a critical yet open-minded stance, prepared to embrace the unexpected and entertain the notion that the dairy case may hold secrets far beyond its calcium-rich confines. While we approach this investigation with all due seriousness and statistical rigor, we cannot help but savor the irony of a potential market indicator derived from the unlikeliest of sources – the humble, lumpy, and oft-misunderstood cottage cheese.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

The current investigation employed a rigorous methodology in order to explore the uncharted territory of the relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. To set the stage for this dairy-driven analysis, data pertaining to cottage cheese consumption was primarily sourced from the United States Department of Agriculture (USDA), while Lloyds Banking Group stock price information was obtained from LSEG Analytics (Refinitiv). The eclectic mix of these data sources was akin to blending feta with Gouda – an unexpected fusion that, nevertheless, yielded a tantalizing result.

The analysis spanned 19 years, allowing for a comprehensive exploration of the potential interplay between cottage cheese consumption and the ebb and flow of LYG's stock price. In a manner reminiscent of the aging process of fine artisanal cheeses, the data was meticulously curated and scrutinized for any hints of correlation.

The primary statistical technique applied to unravel the association between cottage cheese consumption and LYG's stock price was Pearson's correlation coefficient. This venerable tool for examining bivariate relationships yielded a coefficient of 0.8324264 with a significance level of p < 0.01, indicating a robust and statistically significant positive association between these seemingly disparate variables. The strength of this association was akin to the binding force that holds together the curds in a block of cheese – a surprisingly strong connection, yet one that invites further examination and comparison to other, more conventional predictors of stock price movements.

In addition, a multivariate regression analysis was conducted, incorporating a range of control variables such as interest rates, inflation, and market volatility. This comprehensive approach sought to refine our understanding of the potential impacts of cottage cheese consumption on LYG's stock price, while simultaneously recognizing the myriad forces at play in the labyrinthine world of financial markets.

To guard against potential spurious correlations or confounding variables, robustness checks and sensitivity analyses were performed. These measures ensured that the identified relationship was as sturdy and dependable as a well-aged cheddar, standing up to scrutiny and maintaining its integrity in the face of statistical turbulence.

In summary, the methodology employed in this study was akin to a carefully crafted charcuterie board, presenting a diverse array of analytical techniques and data sources to uncover the unlikely yet intriguing connection between cottage cheese consumption and Lloyds Banking Group's stock price. The deployment of these methods aimed to offer a nuanced understanding of the cheddar effect, invoking a keen sense of scientific inquiry while leaving room for a dash of whimsy and culinary analogy.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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 USDA and LSEG Analytics (Refinitiv) .

For the time period 2002 to 2021, you found a correlation 0.8324264, r-squared of 0.6929338, 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The field of financial economics has a long tradition of seeking out new and innovative predictors of stock price movements. From interest rates and economic indicators to weather patterns and even the length of women's skirts, researchers have left no stone unturned in their quest to uncover the secret sauce of stock price prediction. In this vein, the present study aims to shed light on an unconventional yet surprisingly appetizing contender: cottage cheese consumption.
The consumption of cottage cheese, often overlooked in the realm of market analysis, has a storied history dating back to the ancient land of Mesopotamia. Fast forward to the 21st century, and this humble dairy product finds itself cast in a novel role as a potential harbinger of stock market trends. Indeed, while one might be more accustomed to considering cottage cheese in the context of weight loss or post-workout protein intake, our investigation takes a turn into the realm of high finance, where the curdled mysteries of the dairy aisle may hold sway over the movements of Lloyds Banking Group's stock price (LYG).
The Lloyds Banking Group, a stalwart of the British financial sector, has weathered its fair share of economic storms. Yet, within the ebb and flow of the stock market, could a more unexpected force be at play? As we endeavor to uncover the potential cheddar effect of cottage cheese consumption on the stock price of Lloyds, we are drawn into a whirlwind of speculation, analysis, and perhaps a sprinkle of Parmesan.
As we embark on this dairy-driven analysis, we must maintain a critical yet open-minded stance, prepared to embrace the unexpected and entertain the notion that the dairy case may hold secrets far beyond its calcium-rich confines. While we approach this investigation with all due seriousness and statistical rigor, we cannot help but savor the irony of a potential market indicator derived from the unlikeliest of sources – the humble, lumpy, and oft-misunderstood cottage cheese.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The data analysis revealed a remarkable correlation coefficient of 0.8324264, indicating a strong positive association between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. This statistically significant finding suggests that the fluctuations in the household consumption of cottage cheese may indeed be linked to the movements of LYG stock price. One must wonder if the power of curds and whey extends beyond the nursery rhyme into the realm of high finance.

Furthermore, the r-squared value of 0.6929338 suggests that approximately 69.3% of the variability in LYG stock price can be explained by changes in cottage cheese consumption. This substantial explanatory power underscores the potential influence of cottage cheese on market dynamics, providing food for thought for investors and analysts alike.

The p-value of less than 0.01 further solidifies the strength of this relationship, lending support to the hypothesis that cottage cheese consumption may serve as an unexpected yet discernible indicator of LYG stock price movements. Who would have thought that the dairy aisle could hold such sway over the stock market?

Figure 1 illustrates the robust correlation between cottage cheese consumption and LYG stock price over the entire observation period, reaffirming the strength of this unanticipated connection. One can only imagine the surprise on the faces of market analysts when they encounter this unexpected association – a revelation that may rival the discovery of a hidden wedge of gouda in the depths of the refrigerator.

In summary, the findings of this study not only highlight the previously overlooked relationship between cottage cheese consumption and LYG stock price but also invite further investigation into the nuanced interplay of dairy products and financial markets. These results may prompt investors to take a second look at the dairy section of the grocery store and contemplate the potential investment insights lurking within the dairy case.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

[[LITERATURE REVIEW]]
The authors find that the relationship between dairy consumption and stock price movements has been a subject of interest within the realms of financial economics and nutritional research. Smith et al. (2015) highlight the potential impact of cheese consumption on consumer behavior and economic decision-making, discussing the psychological and physiological effects of dairy products on individuals' risk tolerance and market participation. Meanwhile, Doe and Jones (2018) explore the broader implications of milk and dairy production on macroeconomic indicators, emphasizing the intricate interplay between agricultural output and financial market dynamics.
Moving beyond traditional financial literature, the investigation delves into the realms of consumer behavior and sociology, drawing inspiration from popular non-fiction works such as "The Big Short" by Michael Lewis and "Freakonomics" by Steven D. Levitt and Stephen J. Dubner. These authors provide a compelling backdrop to the study, framing the exploration of unusual market indicators in the context of broader societal trends and individual decision-making processes.
Further extending the scope of inquiry, the study integrates insights from fictional literature, considering the potential influence of narrative and symbolism on market perceptions. For instance, the classic work "Alice's Adventures in Wonderland" by Lewis Carroll prompts reflection on the juxtaposition of logical reasoning and whimsical imagination, offering a lens through which to contemplate the unconventional confluence of cottage cheese consumption and stock price movements.
Additionally, drawing inspiration from children's animation and entertainment, the study takes a lighthearted approach to exploring unexpected correlations. Popular shows such as "SpongeBob SquarePants" and "Tom and Jerry" provide a whimsical lens through which to consider the interplay of unlikely factors in shaping market behavior, reminding researchers to approach the investigation with a playful yet discerning mindset.


[[RESULTS]]
The data analysis revealed a remarkable correlation coefficient of 0.8324264, indicating a strong positive association between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. This statistically significant finding suggests that the fluctuations in the household consumption of cottage cheese may indeed be linked to the movements of LYG stock price. One must wonder if the power of curds and whey extends beyond the nursery rhyme into the realm of high finance.
Furthermore, the r-squared value of 0.6929338 suggests that approximately 69.3% of the variability in LYG stock price can be explained by changes in cottage cheese consumption. This substantial explanatory power underscores the potential influence of cottage cheese on market dynamics, providing food for thought for investors and analysts alike.
The p-value of less than 0.01 further solidifies the strength of this relationship, lending support to the hypothesis that cottage cheese consumption may serve as an unexpected yet discernible indicator of LYG stock price movements. Who would have thought that the dairy aisle could hold such sway over the stock market?
Figure 1 illustrates the robust correlation between cottage cheese consumption and LYG stock price over the entire observation period, reaffirming the strength of this unanticipated connection. One can only imagine the surprise on the faces of market analysts when they encounter this unexpected association – a revelation that may rival the discovery of a hidden wedge of gouda in the depths of the refrigerator.
In summary, the findings of this study not only highlight the previously overlooked relationship between cottage cheese consumption and LYG stock price but also invite further investigation into the nuanced interplay of dairy products and financial markets. These results may prompt investors to take a second look at the dairy section of the grocery store and contemplate the potential investment insights lurking within the dairy case.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of this study present a compelling case for the influence of cottage cheese consumption on the stock price of Lloyds Banking Group (LYG). Building upon the existing literature, which has posited the potential impact of dairy consumption on economic decision-making and market dynamics, the empirical results of this investigation provide empirical support for the previously overlooked relationship between dairy products and financial indicators.

In line with the work of Smith et al. (2015) and Doe and Jones (2018), this study underscores the intricate interplay between consumer behavior and market fluctuations, shedding light on the unanticipated influence of cottage cheese consumption on LYG stock price movements. It seems that the old adage "don't put all your curds in one basket" may carry more investment wisdom than previously thought.

Moreover, the incorporation of insights from popular non-fiction works such as "The Big Short" and "Freakonomics" allows for a broader contextualization of the study's findings, emphasizing the far-reaching implications of unusual market indicators on individual decision-making processes. Indeed, it appears that the dairy case may hold not only culinary delights but also financial insights waiting to be churned.

Perhaps most unexpectedly, the integration of inspiration from children's animation and entertainment, including "SpongeBob SquarePants" and "Tom and Jerry," offers a playful yet astute perspective on the exploration of unconventional correlations. As this study has illustrated, the seemingly whimsical connection between cottage cheese consumption and stock price movements may warrant serious consideration, prompting analysts to approach the investigation with a discerning yet light-hearted mindset.

The results of this study not only provide empirical validation for the previously unexplored relationship between cottage cheese consumption and LYG stock price but also beckon further inquiry into the potential influence of dairy products on financial markets. As investors ponder the implications of curds and currencies, the dairy aisle may no longer be merely a source of sustenance but also a fertile ground for investment contemplation, holding potential insights as flavorful as a well-aged cheddar.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Cottage cheese consumption and Lloyds Banking Group's stock price (LYG). 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]]
"Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price"

[[ABSTRACT]]
This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

[[INTRDUCTION]]
The field of financial economics has a long tradition of seeking out new and innovative predictors of stock price movements. From interest rates and economic indicators to weather patterns and even the length of women's skirts, researchers have left no stone unturned in their quest to uncover the secret sauce of stock price prediction. In this vein, the present study aims to shed light on an unconventional yet surprisingly appetizing contender: cottage cheese consumption.
The consumption of cottage cheese, often overlooked in the realm of market analysis, has a storied history dating back to the ancient land of Mesopotamia. Fast forward to the 21st century, and this humble dairy product finds itself cast in a novel role as a potential harbinger of stock market trends. Indeed, while one might be more accustomed to considering cottage cheese in the context of weight loss or post-workout protein intake, our investigation takes a turn into the realm of high finance, where the curdled mysteries of the dairy aisle may hold sway over the movements of Lloyds Banking Group's stock price (LYG).
The Lloyds Banking Group, a stalwart of the British financial sector, has weathered its fair share of economic storms. Yet, within the ebb and flow of the stock market, could a more unexpected force be at play? As we endeavor to uncover the potential cheddar effect of cottage cheese consumption on the stock price of Lloyds, we are drawn into a whirlwind of speculation, analysis, and perhaps a sprinkle of Parmesan.
As we embark on this dairy-driven analysis, we must maintain a critical yet open-minded stance, prepared to embrace the unexpected and entertain the notion that the dairy case may hold secrets far beyond its calcium-rich confines. While we approach this investigation with all due seriousness and statistical rigor, we cannot help but savor the irony of a potential market indicator derived from the unlikeliest of sources – the humble, lumpy, and oft-misunderstood cottage cheese.

[[RESULTS]]
The data analysis revealed a remarkable correlation coefficient of 0.8324264, indicating a strong positive association between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. This statistically significant finding suggests that the fluctuations in the household consumption of cottage cheese may indeed be linked to the movements of LYG stock price. One must wonder if the power of curds and whey extends beyond the nursery rhyme into the realm of high finance.
Furthermore, the r-squared value of 0.6929338 suggests that approximately 69.3% of the variability in LYG stock price can be explained by changes in cottage cheese consumption. This substantial explanatory power underscores the potential influence of cottage cheese on market dynamics, providing food for thought for investors and analysts alike.
The p-value of less than 0.01 further solidifies the strength of this relationship, lending support to the hypothesis that cottage cheese consumption may serve as an unexpected yet discernible indicator of LYG stock price movements. Who would have thought that the dairy aisle could hold such sway over the stock market?
Figure 1 illustrates the robust correlation between cottage cheese consumption and LYG stock price over the entire observation period, reaffirming the strength of this unanticipated connection. One can only imagine the surprise on the faces of market analysts when they encounter this unexpected association – a revelation that may rival the discovery of a hidden wedge of gouda in the depths of the refrigerator.
In summary, the findings of this study not only highlight the previously overlooked relationship between cottage cheese consumption and LYG stock price but also invite further investigation into the nuanced interplay of dairy products and financial markets. These results may prompt investors to take a second look at the dairy section of the grocery store and contemplate the potential investment insights lurking within the dairy case.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, the results of this study provide compelling evidence of a strong positive association between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. The substantial correlation coefficient, r-squared value, and p-value underscore the potential influence of cottage cheese on LYG stock price movements, presenting a dairy-driven perspective on market dynamics. These findings, while as surprising as finding a feta in the forest, open new avenues for market analysis and serve as a tantalizing appetizer for further research.

While the idea of cottage cheese foretelling stock price movements may initially seem as improbable as a lactose-intolerant cow, the robustness of the statistical findings cannot be curd-dismissed. The dairy aisle, once viewed as neutral ground in the battle of the bulge, may now hold sway over the bull and bear markets. Indeed, the potential implications of this unlikely relationship may go far beyond mere monetary gains – a true testament to the ripple effects of dairy consumption.

As we wrap up this study, it is worth noting the irony of a humble dairy product transcending its expected role and venturing into the world of high finance. The unassuming cottage cheese, often overshadowed by its more glamorous dairy counterparts, may now take center stage in stock market discussions. It seems that in the realm of finance, as in the kitchen, unexpected ingredients can sometimes stir up the most delightful results.

In light of these findings, it is evident that further research in this area may prove to be as fruitful as a well-made cheese platter. However, at this juncture, we dare to assert that no more research is needed in this area. The curd has been whey too thoroughly investigated - a sentiment shared by both dairy aficionados and financial analysts alike.


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 Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Dairy Economics and Financial Speculation


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 Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Dairy Economics and Financial Analysis


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Curds and Currencies: The Cheddar Effect of Cottage Cheese Consumption on Lloyds Banking Group Stock Price with an abstract of This study examines the previously overlooked relationship between cottage cheese consumption and the stock price of Lloyds Banking Group (LYG) from 2002 to 2021. Utilizing data from the USDA and LSEG Analytics (Refinitiv), a correlation coefficient of 0.8324264 and p < 0.01 was identified, indicating a strong positive association between the two variables. Surprisingly, an unexpected link was found between the household consumption of cottage cheese and the fluctuation in LYG's stock price. While this correlation may seem as improbable as a mouse selling cheese futures, the findings suggest a potential new market indicator in the dairy aisle. Further investigation and rigorous analysis, perhaps with a side of crackers, are recommended to elucidate the underlying mechanisms and implications for stock prediction and portfolio diversification.

ChatGPT:

cottage cheese consumption, Lloyds Banking Group stock price, USDA data, LSEG Analytics, relationship analysis, correlation coefficient, market indicator, dairy market, stock prediction, portfolio diversification, household consumption, stock price fluctuation

*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

Cottage cheese consumption
Detailed data title: Per capita consumption of Cottage cheese in the US
Source: USDA
See what else correlates with Cottage cheese consumption

Lloyds Banking Group's stock price (LYG)
Detailed data title: Opening price of Lloyds Banking Group (LYG) on the first trading day of the year
Source: LSEG Analytics (Refinitiv)
Additional Info: Via Microsoft Excel Stockhistory function

See what else correlates with Lloyds Banking Group's stock price (LYG)

Correlation r = 0.8324264 (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.6929338 (Coefficient of determination)
This means 69.3% of the change in the one variable (i.e., Lloyds Banking Group's stock price (LYG)) is predictable based on the change in the other (i.e., Cottage 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 5.3E-6. 0.0000052945856161396025000000
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.83 in 0.00053% of random cases. Said differently, if you correlated 188,872 random variables You don't actually need 188 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 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.62, 0.93 ] 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.
20022003200420052006200720082009201020112012201320142015201620172018201920202021
Cottage cheese consumption (Pounds per person)2.62.62.72.72.62.62.32.42.32.32.32.12.12.12.22.12.12.121.9
Lloyds Banking Group's stock price (LYG) (Stock price)41.8828.5831.9535.8833.0444.436.767.23.374.111.613.245.214.654.253.173.732.53.321.89




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([2.6,2.6,2.7,2.7,2.6,2.6,2.3,2.4,2.3,2.3,2.3,2.1,2.1,2.1,2.2,2.1,2.1,2.1,2,1.9,])
array_2 = np.array([41.88,28.58,31.95,35.88,33.04,44.4,36.76,7.2,3.37,4.11,1.61,3.24,5.21,4.65,4.25,3.17,3.73,2.5,3.32,1.89,])
array_1_name = "Cottage cheese consumption"
array_2_name = "Lloyds Banking Group's stock price (LYG)"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your correlation inspection deserves a standing ovation!


Correlation ID: 3455 · Black Variable ID: 556 · Red Variable ID: 1815
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0