about · email me · subscribe
Spurious correlation #4,112 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Popularity of the first name Aubrey and the second variable is Exxon Mobil's stock price (XOM).  The chart goes from 2002 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

Parents naming their kids Aubrey are investing more in fancy cars, leading to an increase in gas consumption and therefore, an uptick in demand for Exxon Mobil's products. Looks like the name Aubrey is driving more than just social media popularity!

Model: dalle-3
Prompt: Generate an image that showcases a bustling city streetscape, dominated by colossal buildings under construction. Capture the vibrancy of the construction sites with bustling activity and the presence of cement mixers and steel beams. Amidst the industrial atmosphere, include a group of joyous children engaged in after-school programs, adding a touch of youthful exuberance to the scene. Incorporate a stock ticker displaying the rising values of Exxon Mobil, symbolizing the growing energy demands of the construction industry. Additionally, include subtle nods to the name "Aubrey" being discussed in nearby conversations, reflecting its influence on the need for more after-school activities. Focus on photorealism to bring out the intricate details and the captivating energy of the city 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: Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). 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: Magic realism Photorealism a Polaroid photo Celtic art Cutsy art illustration
ChatGPT: Photorealism

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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM), in the following situation: As more babies were named Aubrey, they had to spice up their resumes with extra-curricular activities, prompting a surge in demand for after-school programs. This led to a sudden need for more buildings, causing a spike in cement and steel prices. Exxon Mobil, being involved in all things energy, saw an unexpected rise in demand for their products to power the construction industry. It's an un-Aubrey-lievable chain reaction!. Keep the description simple.
ChatGPT: In a bustling city, the streets are lined with towering buildings under construction. Cement mixers and steel beams are in high demand as construction sites hum with activity. Among the workers, a group of children laugh and play, eagerly participating in after-school programs. Exxon Mobil's stock ticker climbs upwards on a nearby screen, reflecting the increased demand for energy to power the construction industry. Meanwhile, the name "Aubrey" is being discussed in nearby conversations, signifying the growing popularity of the name and its influence on the need for more after-school activities.

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: [ Photorealism ] and depicting this scene: In a bustling city, the streets are lined with towering buildings under construction. Cement mixers and steel beams are in high demand as construction sites hum with activity. Among the workers, a group of children laugh and play, eagerly participating in after-school programs. Exxon Mobil's stock ticker climbs upwards on a nearby screen, reflecting the increased demand for energy to power the construction industry. Meanwhile, the name "Aubrey" is being discussed in nearby conversations, signifying the growing popularity of the name and its influence on the need for more after-school activities. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that showcases a bustling city streetscape, dominated by colossal buildings under construction. Capture the vibrancy of the construction sites with bustling activity and the presence of cement mixers and steel beams. Amidst the industrial atmosphere, include a group of joyous children engaged in after-school programs, adding a touch of youthful exuberance to the scene. Incorporate a stock ticker displaying the rising values of Exxon Mobil, symbolizing the growing energy demands of the construction industry. Additionally, include subtle nods to the name "Aubrey" being discussed in nearby conversations, reflecting its influence on the need for more after-school activities. Focus on photorealism to bring out the intricate details and the captivating energy of the city 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.

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in Popularity of the first name Aubrey caused Exxon Mobil's stock price (XOM) to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

The Journal of Quirky Interdisciplinary Studies

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 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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Your research team used data from US Social Security Administration and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.8769160 and p < 0.01 for 2002 to 2022.

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

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

As the saying goes, "What's in a name?" Well, we'd argue that there might be more in a name than we've ever imagined. The relationship between personal names and economic indicators is an area ripe for exploration, and we set out to dive into the intriguing world of nomenclature and stock prices.

Now, as we embark on this unusual journey exploring the impact of names on the stock market, we can't help but think, "If Exxon Mobil's stock price can be influenced by a name, then maybe there's an 'exx-on' information hidden within names as well!"

The name Aubrey has been historically used to convey strength and nobility, and in our study, it takes on a whole new dimension of significance. Aubrey, commonly associated with prosperity and good fortune, surprisingly emerges as a protagonist in the realm of stock market dynamics. We find this odd association both amusing and intriguing - a "crude" twist in the tale, if you will.

As we uncovered the remarkably strong correlation between the popularity of the name Aubrey and Exxon Mobil's stock price, it became evident that there's more to names than meets the eye. It's almost as if the market is saying, "You can 'bank' on Aubrey to make a difference."

So, let's saddle up and explore this captivating correlation. After all, when it comes to naming babies, predicting stock prices, and discovering unconventional connections, we must not forget the timeless wisdom of all dads out there – "You can lead a horse to water, but a pencil must be lead."


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then devolve ever further, and mention something completely ridiculous, like you conducted literature review by reading the backs of shampoo bottles.

Here is the title and abstract of the paper:
[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
As the saying goes, "What's in a name?" Well, we'd argue that there might be more in a name than we've ever imagined. The relationship between personal names and economic indicators is an area ripe for exploration, and we set out to dive into the intriguing world of nomenclature and stock prices.
Now, as we embark on this unusual journey exploring the impact of names on the stock market, we can't help but think, "If Exxon Mobil's stock price can be influenced by a name, then maybe there's an 'exx-on' information hidden within names as well!"
The name Aubrey has been historically used to convey strength and nobility, and in our study, it takes on a whole new dimension of significance. Aubrey, commonly associated with prosperity and good fortune, surprisingly emerges as a protagonist in the realm of stock market dynamics. We find this odd association both amusing and intriguing - a "crude" twist in the tale, if you will.
As we uncovered the remarkably strong correlation between the popularity of the name Aubrey and Exxon Mobil's stock price, it became evident that there's more to names than meets the eye. It's almost as if the market is saying, "You can 'bank' on Aubrey to make a difference."
So, let's saddle up and explore this captivating correlation. After all, when it comes to naming babies, predicting stock prices, and discovering unconventional connections, we must not forget the timeless wisdom of all dads out there – "You can lead a horse to water, but a pencil must be lead."

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between personal names and economic indicators has been an understudied and even overlooked aspect of research in both the fields of psychology and finance. Smith et al. (2010) delved into the psychology of names, and their impact on individuals' behavior and decision-making processes. Similarly, Doe and Jones (2015) examined the influence of personal names on societal perceptions and self-perception.

However, as we expand our scope to the financial realm, we find an intriguing gap in existing literature that fails to explore the potential influence of names on stock prices. This gap paves the way for our study to investigate the correlation between the popularity of the name Aubrey and Exxon Mobil's stock price (XOM).

Moving beyond the traditional confines of economics and psychology, our study intersects with the fields of linguistics and etymology, exploring the historical, cultural, and social connotations associated with the name Aubrey. In "The Power of Names" by Schwartz (2018), the author explores the significance of names in societal constructs and individual identity, providing valuable insights into the potential impact of names on economic phenomena.

Adding a whimsical touch to our review, let's not overlook the candid discussions of names and their implications in non-fiction classics such as "Freakonomics" by Levitt and Dubner (2005), which often delves into unorthodox and thought-provoking correlations. Additionally, "Blink" by Malcolm Gladwell (2005), offers a captivating exploration of snap judgments and decision-making, which subtly alludes to the potential influence of names on economic indicators.

On the fictional front, we find intriguing narratives that touch on the power of names, such as J.K. Rowling's "Harry Potter and the Sorcerer's Stone," where the protagonist's name carries an extraordinary significance that shapes his destiny. Similarly, in "The Name of the Wind" by Patrick Rothfuss, the protagonist's name becomes a pivotal element in his journey, subtly echoing the potential influence of names on fate – or in our case, stock prices.

Going a step further in our exploration, we also found insight in unexpected places – the backs of household items! They say that inspiration can strike anytime and anywhere, and perhaps it's no coincidence that our literature review took an unconventional turn as we pondered the implications of the ingredients list on shampoo bottles. After all, who's to say that the secret to understanding the dynamics of stock prices doesn't lie in decoding the cryptic language of hair care products?

In the quest to unravel the mysteries surrounding names and stock prices, our literature review took us on an unexpected and humorous journey, highlighting the delightful and unexpected ways in which research can intersect with everyday life – and yes, even with shampoo bottles.


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from US Social Security Administration and LSEG Analytics (Refinitiv) . You used data from 2002 to 2022

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

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

[[INTRODUCTION]]
As the saying goes, "What's in a name?" Well, we'd argue that there might be more in a name than we've ever imagined. The relationship between personal names and economic indicators is an area ripe for exploration, and we set out to dive into the intriguing world of nomenclature and stock prices.
Now, as we embark on this unusual journey exploring the impact of names on the stock market, we can't help but think, "If Exxon Mobil's stock price can be influenced by a name, then maybe there's an 'exx-on' information hidden within names as well!"
The name Aubrey has been historically used to convey strength and nobility, and in our study, it takes on a whole new dimension of significance. Aubrey, commonly associated with prosperity and good fortune, surprisingly emerges as a protagonist in the realm of stock market dynamics. We find this odd association both amusing and intriguing - a "crude" twist in the tale, if you will.
As we uncovered the remarkably strong correlation between the popularity of the name Aubrey and Exxon Mobil's stock price, it became evident that there's more to names than meets the eye. It's almost as if the market is saying, "You can 'bank' on Aubrey to make a difference."
So, let's saddle up and explore this captivating correlation. After all, when it comes to naming babies, predicting stock prices, and discovering unconventional connections, we must not forget the timeless wisdom of all dads out there – "You can lead a horse to water, but a pencil must be lead."

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To uncover the mysterious link between the popularity of the name Aubrey and Exxon Mobil's stock price, we employed a combination of statistical and linguistic analyses, along with a sprinkle of whimsy and a dash of dad humor. The first step in our methodology involved collecting data on the popularity of the name Aubrey from the US Social Security Administration, because when it comes to tracking names, who better to turn to than the institution that's been "naming" all the Americans?

We then turned our attention to Exxon Mobil's stock price (XOM) and obtained historical stock data from LSEG Analytics (Refinitiv), because when it comes to delving into stock prices, why not seek data from a source that's "refined" for analysis?

We calculated the popularity of the name Aubrey by year, and calculated Exxon Mobil's stock price on a daily basis. This approach allowed us to capture the subtle nuances of both the name's popularity and the stock price fluctuations over the years, because when it comes to analyzing data, it's all about being "attentive" to the details.

Once we had a robust dataset at our fingertips, we put on our statistical hats and conducted a correlation analysis to measure the strength and direction of the relationship between the popularity of the name Aubrey and Exxon Mobil's stock price. Our analysis revealed a correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship. This unexpected finding was both eyebrow-raising and Aubrey-inspiring!

However, statistical correlations can only take us so far. We delved even deeper by exploring the linguistic characteristics and historical connotations of the name Aubrey, seeking potential links to energy, prosperity, or financial success. This linguistic analysis, while unorthodox in the world of finance, took us on a lexical journey of discovery, unearthing hidden gems about the name Aubrey that "rocked" our understanding of its potential impact on stock prices.

Furthermore, we incorporated sentiment analysis of media coverage and public perceptions of both the name Aubrey and Exxon Mobil to assess any overlap in public sentiment and its possible impact on stock performance. This unconventional approach allowed us to dive into the "oily" undercurrents of public sentiment and its potential influence on stock prices.

Finally, we couldn't resist adding a touch of creativity to our methodology. In a lighthearted twist, we interspersed our data analysis with dad jokes related to both names and financial markets. After all, when it comes to academic research, a little humor can go a long way in keeping the readers engaged. Because when it comes to presenting serious research findings, we believe in balancing "serious" data with "punny" asides.

In summary, our methodology reflects a blend of traditional statistical analyses, linguistic exploration, sentiment analysis, and a sprinkle of humor, resulting in a unique and comprehensive approach to uncovering the surprising connection between the popularity of the name Aubrey and Exxon Mobil's stock price. Because, when it comes to understanding unconventional correlations, we're always ready to "fuel" our curiosity.


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from US Social Security Administration and LSEG Analytics (Refinitiv) .

For the time period 2002 to 2022, you found a correlation 0.8769160, r-squared of 0.7689817, 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]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
As the saying goes, "What's in a name?" Well, we'd argue that there might be more in a name than we've ever imagined. The relationship between personal names and economic indicators is an area ripe for exploration, and we set out to dive into the intriguing world of nomenclature and stock prices.
Now, as we embark on this unusual journey exploring the impact of names on the stock market, we can't help but think, "If Exxon Mobil's stock price can be influenced by a name, then maybe there's an 'exx-on' information hidden within names as well!"
The name Aubrey has been historically used to convey strength and nobility, and in our study, it takes on a whole new dimension of significance. Aubrey, commonly associated with prosperity and good fortune, surprisingly emerges as a protagonist in the realm of stock market dynamics. We find this odd association both amusing and intriguing - a "crude" twist in the tale, if you will.
As we uncovered the remarkably strong correlation between the popularity of the name Aubrey and Exxon Mobil's stock price, it became evident that there's more to names than meets the eye. It's almost as if the market is saying, "You can 'bank' on Aubrey to make a difference."
So, let's saddle up and explore this captivating correlation. After all, when it comes to naming babies, predicting stock prices, and discovering unconventional connections, we must not forget the timeless wisdom of all dads out there – "You can lead a horse to water, but a pencil must be lead."

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data from 2002 to 2022 revealed a strong positive correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). The correlation coefficient of 0.8769160 and an r-squared value of 0.7689817 provided compelling evidence of a robust and statistically significant relationship, much like how a dad joke always seems to find its audience.

The scatterplot (Fig. 1) clearly depicts the energizing effect of the name Aubrey on Exxon Mobil's stock price, with each data point showing the delightful dance of the two variables in synchrony. It's almost as if the stocks are exclaiming, "Aubrey, you sure do oil my portfolio!"

Our findings unequivocally indicate that the popularity of the name Aubrey indeed has a palpable impact on the performance of Exxon Mobil's stock. It's as if the name itself is imbued with an uncanny ability to "fuel" the market's success, much like a dad's legendary barbecue prowess.

The p-value of less than 0.01 further solidifies the validity of this surprising correlation, leaving us in awe of the unforeseen role names can play in shaping economic indicators. Indeed, this correlation is a genuine "oil"sanity in the world of data analysis, showcasing the potential influence of seemingly unrelated variables.

In conclusion, our research has unraveled a compelling relationship between the popularity of the first name Aubrey and Exxon Mobil's stock price. This unexpected connection underscores the intricate interplay between individual choices and market dynamics. As we navigate this uncharted territory, our study has proven that when it comes to the stock market, and even baby names, there's truly a name for success.


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

[[LITERATURE REVIEW]]
The connection between personal names and economic indicators has been an understudied and even overlooked aspect of research in both the fields of psychology and finance. Smith et al. (2010) delved into the psychology of names, and their impact on individuals' behavior and decision-making processes. Similarly, Doe and Jones (2015) examined the influence of personal names on societal perceptions and self-perception.
However, as we expand our scope to the financial realm, we find an intriguing gap in existing literature that fails to explore the potential influence of names on stock prices. This gap paves the way for our study to investigate the correlation between the popularity of the name Aubrey and Exxon Mobil's stock price (XOM).
Moving beyond the traditional confines of economics and psychology, our study intersects with the fields of linguistics and etymology, exploring the historical, cultural, and social connotations associated with the name Aubrey. In "The Power of Names" by Schwartz (2018), the author explores the significance of names in societal constructs and individual identity, providing valuable insights into the potential impact of names on economic phenomena.
Adding a whimsical touch to our review, let's not overlook the candid discussions of names and their implications in non-fiction classics such as "Freakonomics" by Levitt and Dubner (2005), which often delves into unorthodox and thought-provoking correlations. Additionally, "Blink" by Malcolm Gladwell (2005), offers a captivating exploration of snap judgments and decision-making, which subtly alludes to the potential influence of names on economic indicators.
On the fictional front, we find intriguing narratives that touch on the power of names, such as J.K. Rowling's "Harry Potter and the Sorcerer's Stone," where the protagonist's name carries an extraordinary significance that shapes his destiny. Similarly, in "The Name of the Wind" by Patrick Rothfuss, the protagonist's name becomes a pivotal element in his journey, subtly echoing the potential influence of names on fate – or in our case, stock prices.
Going a step further in our exploration, we also found insight in unexpected places – the backs of household items! They say that inspiration can strike anytime and anywhere, and perhaps it's no coincidence that our literature review took an unconventional turn as we pondered the implications of the ingredients list on shampoo bottles. After all, who's to say that the secret to understanding the dynamics of stock prices doesn't lie in decoding the cryptic language of hair care products?
In the quest to unravel the mysteries surrounding names and stock prices, our literature review took us on an unexpected and humorous journey, highlighting the delightful and unexpected ways in which research can intersect with everyday life – and yes, even with shampoo bottles.

[[RESULTS]]
The analysis of the data from 2002 to 2022 revealed a strong positive correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). The correlation coefficient of 0.8769160 and an r-squared value of 0.7689817 provided compelling evidence of a robust and statistically significant relationship, much like how a dad joke always seems to find its audience.
The scatterplot (Fig. 1) clearly depicts the energizing effect of the name Aubrey on Exxon Mobil's stock price, with each data point showing the delightful dance of the two variables in synchrony. It's almost as if the stocks are exclaiming, "Aubrey, you sure do oil my portfolio!"
Our findings unequivocally indicate that the popularity of the name Aubrey indeed has a palpable impact on the performance of Exxon Mobil's stock. It's as if the name itself is imbued with an uncanny ability to "fuel" the market's success, much like a dad's legendary barbecue prowess.
The p-value of less than 0.01 further solidifies the validity of this surprising correlation, leaving us in awe of the unforeseen role names can play in shaping economic indicators. Indeed, this correlation is a genuine "oil"sanity in the world of data analysis, showcasing the potential influence of seemingly unrelated variables.
In conclusion, our research has unraveled a compelling relationship between the popularity of the first name Aubrey and Exxon Mobil's stock price. This unexpected connection underscores the intricate interplay between individual choices and market dynamics. As we navigate this uncharted territory, our study has proven that when it comes to the stock market, and even baby names, there's truly a name for success.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our study has shed light on the surprising connection between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). The striking correlation coefficient of 0.8769160, with p < 0.01, indicates a substantial relationship between these seemingly unrelated variables. This correlation echoes the "fuelling" effect that the name Aubrey seems to have on the market's performance. It's almost as if parents naming their children Aubrey are inadvertently joining the ranks of market influencers, akin to the impact of Elon Musk's tweets.

Building on the literature review, our findings align with prior research by Doe and Jones (2015), who explored the influence of personal names on societal perceptions. Our results provide additional support for the idea that individual names can indeed impact economic indicators, with the popularity of the name Aubrey exhibiting a substantial influence on Exxon Mobil's stock price. It appears that the significance of personal names stretches far beyond influencing social interactions, as they have a tangible impact on market dynamics, reinforcing the concept that there's more than meets the eye when it comes to names and their influence.

While it may seem whimsical to connect naming trends with stock performance, our study has underscored the meaningful relationship between the two. This connection serves as a reminder that in the world of finance, and perhaps even more broadly in life, seemingly arbitrary factors can wield significant influence. The unexpected nature of our findings leaves us pondering the question: Is it possible that the choice of a name can trigger a ripple effect that reverberates through economic systems? Our study suggests that this may indeed be the case, emphasizing the need to explore unconventional factors in financial analyses.

The idiosyncratic nature of our research journey, which touched upon the unconventional sources of inspiration and literature, serves as a testament to the unorthodox and surprisingly impactful avenues through which research can unfold. Much like the unexpected correlations discovered in "Freakonomics" (Levitt and Dubner, 2005), our study has revealed a thought-provoking relationship between personal names and economic phenomena. Additionally, our findings echo the lighthearted humor found in unconventional places, such as the peculiar insight garnered from the back of shampoo bottles, emphasizing the unparalleled journey research can take.

As we navigate this uncharted and amusing territory, it becomes apparent that the world of finance is not immune to the whimsical and unexpected influences of everyday life, from naming choices to the contents of household products. Our research highlights the profound and unexpected ways in which the most unassuming factors can intertwine with economic indicators, prompting us to entertain the idea that in the world of finance, and perhaps beyond, there may just be a dad joke awaiting discovery.


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 Popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price

[[ABSTRACT]]
The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.

As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.

So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

[[INTRDUCTION]]
As the saying goes, "What's in a name?" Well, we'd argue that there might be more in a name than we've ever imagined. The relationship between personal names and economic indicators is an area ripe for exploration, and we set out to dive into the intriguing world of nomenclature and stock prices.
Now, as we embark on this unusual journey exploring the impact of names on the stock market, we can't help but think, "If Exxon Mobil's stock price can be influenced by a name, then maybe there's an 'exx-on' information hidden within names as well!"
The name Aubrey has been historically used to convey strength and nobility, and in our study, it takes on a whole new dimension of significance. Aubrey, commonly associated with prosperity and good fortune, surprisingly emerges as a protagonist in the realm of stock market dynamics. We find this odd association both amusing and intriguing - a "crude" twist in the tale, if you will.
As we uncovered the remarkably strong correlation between the popularity of the name Aubrey and Exxon Mobil's stock price, it became evident that there's more to names than meets the eye. It's almost as if the market is saying, "You can 'bank' on Aubrey to make a difference."
So, let's saddle up and explore this captivating correlation. After all, when it comes to naming babies, predicting stock prices, and discovering unconventional connections, we must not forget the timeless wisdom of all dads out there – "You can lead a horse to water, but a pencil must be lead."

[[RESULTS]]
The analysis of the data from 2002 to 2022 revealed a strong positive correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM). The correlation coefficient of 0.8769160 and an r-squared value of 0.7689817 provided compelling evidence of a robust and statistically significant relationship, much like how a dad joke always seems to find its audience.
The scatterplot (Fig. 1) clearly depicts the energizing effect of the name Aubrey on Exxon Mobil's stock price, with each data point showing the delightful dance of the two variables in synchrony. It's almost as if the stocks are exclaiming, "Aubrey, you sure do oil my portfolio!"
Our findings unequivocally indicate that the popularity of the name Aubrey indeed has a palpable impact on the performance of Exxon Mobil's stock. It's as if the name itself is imbued with an uncanny ability to "fuel" the market's success, much like a dad's legendary barbecue prowess.
The p-value of less than 0.01 further solidifies the validity of this surprising correlation, leaving us in awe of the unforeseen role names can play in shaping economic indicators. Indeed, this correlation is a genuine "oil"sanity in the world of data analysis, showcasing the potential influence of seemingly unrelated variables.
In conclusion, our research has unraveled a compelling relationship between the popularity of the first name Aubrey and Exxon Mobil's stock price. This unexpected connection underscores the intricate interplay between individual choices and market dynamics. As we navigate this uncharted territory, our study has proven that when it comes to the stock market, and even baby names, there's truly a name for success.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

As we wrap up our investigation into the captivating correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price, we can't help but marvel at the remarkable connection we've unearthed. It seems that the name Aubrey isn't just a name, but an "Aubrey"l (able) influencer of the stock market.

This unexpected link between a name and a stock serves as a reminder that the world of finance can be just as unpredictable as a dad's favorite pun – always full of "stock-y" surprises. We've certainly uncovered an unconventional relationship, but amidst the data analysis and statistical significance, there's a charming "Aubrey"ance to the correlation that leaves a smile on our faces.

With a correlation coefficient of 0.8769160 and a p-value of less than 0.01, we've demonstrated that the popularity of the name Aubrey indeed wields a palpable impact on Exxon Mobil's stock price. It's almost as if every time someone utters the name Aubrey, the stock market gives a little "exx-on" boost.

In the words of all the dads out there, "You can't spell 'aubrey' without 'buy,'" and it appears that this correlation isn't just a quirk of data but rather a bona fide indication of the influence of names on market performance. It's an "Aubrey"zing revelation that embodies the sentiment – "names have power, so choose wisely."

And with that, we assert that there's no need for further research in this area. Our findings have certainly "Aubrey-elevated" our understanding of the quirky connections in the world of finance, leaving us content in the knowledge that there's truly an "Aubrey"ant force at play in shaping market dynamics.


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 Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Interdisciplinary Studies


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 Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Name-Based Economic 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 Aubrey's Energizing Effect: An Examination of the Relationship Between the Popularity of the Name Aubrey and Exxon Mobil's Stock Price with an abstract of The impact of names on the stock market has long been an unexplored area of research, and our study seeks to delve into this curious connection. By utilizing data from the US Social Security Administration and LSEG Analytics (Refinitiv), we set out to examine the correlation between the popularity of the first name Aubrey and Exxon Mobil's stock price (XOM) from 2002 to 2022. Our findings revealed a striking correlation coefficient of 0.8769160, with p < 0.01, indicating a strong and statistically significant relationship.
As we delved into the unexpected link between a name and a stock, we couldn't help but quip that people aren't just choosing Aubrey as a name, they're "fueling" the market's performance. Because, after all, when it comes to naming babies and predicting stock prices, we've hit the "crude" reality that there may be more to it than meets the eye.
So when future parents choose the name Aubrey, they might be inadvertently influencing the stock market. This quirky correlation leaves us pondering the question: is there truly power in a name, or is it simply a "petro-l" of chance?

ChatGPT:

Aubrey, Exxon Mobil, stock price, correlation, popularity, name, US Social Security Administration, LSEG Analytics, Refinitiv, correlation coefficient, statistical significance, naming babies, stock market influence, power in a name, petro-l, chance

*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

Popularity of the first name Aubrey
Detailed data title: Babies of all sexes born in the US named Aubrey
Source: US Social Security Administration
See what else correlates with Popularity of the first name Aubrey

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

See what else correlates with Exxon Mobil's stock price (XOM)

Correlation r = 0.8769160 (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.7689817 (Coefficient of determination)
This means 76.9% of the change in the one variable (i.e., Exxon Mobil's stock price (XOM)) is predictable based on the change in the other (i.e., Popularity of the first name Aubrey) over the 21 years from 2002 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 1.8E-7. 0.0000001830242306985765500000
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.88 in 1.8E-5% of random cases. Said differently, if you correlated 5,463,757 random variables You don't actually need 5 million 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 20 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 20 because we have two variables measured over a period of 21 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.72, 0.95 ] 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.
200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Popularity of the first name Aubrey (Babies born)181318941961241238024644570355515506732382088114776675476679606753624737405336663117
Exxon Mobil's stock price (XOM) (Stock price)39.33541.0251.0256.4276.2694.1580.0668.7273.7285.9787.79100.692.2577.590.9483.8267.3570.2441.4561.24




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([1813,1894,1961,2412,3802,4644,5703,5551,5506,7323,8208,8114,7766,7547,6679,6067,5362,4737,4053,3666,3117,])
array_2 = np.array([39.3,35,41.02,51.02,56.42,76.26,94.15,80.06,68.72,73.72,85.97,87.79,100.6,92.25,77.5,90.94,83.82,67.35,70.24,41.45,61.24,])
array_1_name = "Popularity of the first name Aubrey"
array_2_name = "Exxon Mobil's stock price (XOM)"

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

You're a rater extraordinaire!


Correlation ID: 4112 · Black Variable ID: 2430 · Red Variable ID: 1551
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0