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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of phlebotomists in Rhode Island and the second variable is Carnival Corporation's stock price (CCL).  The chart goes from 2012 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The fewer phlebotomists in Rhode Island created a blood shortage, causing Carnival Corporation to have insufficient vampire staff for their themed cruises, leading to a decrease in customer satisfaction and a drop in stock price. Looks like Carnival's stocks couldn't handle the hemogoblin shortage!

Model: dalle-3
Prompt: Generate an image of a bustling Carnival cruise ship at sea, with a clear depiction of the stock price of CCL soaring depicted in the background. Show a line of passengers waiting to donate blood, creating a distinct surge in hemoglobin levels onboard. Meanwhile, a distant view of Rhode Island, with local clinics and hospitals painted with a feeling of emptiness, showing fewer phlebotomists present as contrast to the activity on the ship. The overall scene should resemble the distinct atmosphere of Skyrim, creating an otherworldly and fantastical interpretation of the given prompt. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). 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: a funny image macro Woodblock painting Cyber folk Cute 2D animation A scene from Skyrim
ChatGPT: A scene from Skyrim

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL), in the following situation: As the number of phlebotomists in Rhode Island dropped, more people began donating blood at Carnival cruises, creating a spike in hemoglobin levels onboard and boosting the stock price (CCL) due to the "vampire cruise" craze.. Keep the description simple.
ChatGPT: In Rhode Island, fewer phlebotomists were seen at local clinics and hospitals. Meanwhile, on a Carnival cruise ship, the stock price (CCL) soared as more passengers lined up to donate blood, creating a surge in hemoglobin levels onboard.

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 scene from Skyrim ] and depicting this scene: In Rhode Island, fewer phlebotomists were seen at local clinics and hospitals. Meanwhile, on a Carnival cruise ship, the stock price (CCL) soared as more passengers lined up to donate blood, creating a surge in hemoglobin levels onboard. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a bustling Carnival cruise ship at sea, with a clear depiction of the stock price of CCL soaring depicted in the background. Show a line of passengers waiting to donate blood, creating a distinct surge in hemoglobin levels onboard. Meanwhile, a distant view of Rhode Island, with local clinics and hospitals painted with a feeling of emptiness, showing fewer phlebotomists present as contrast to the activity on the ship. The overall scene should resemble the distinct atmosphere of Skyrim, creating an otherworldly and fantastical interpretation of the given prompt.

*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 The number of phlebotomists in Rhode Island caused Carnival Corporation's stock price (CCL) to decrease. Add a funny one-liner at the end.

AI academic paper

(Because p < 0.01)
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

The Journal of Finance and Hematology

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 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

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

Your research team used data from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) to assess this nagging question. You found a correlation coefficient of 0.9844204 and p < 0.01 for 2012 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]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Ahoy, fellow researchers and financial enthusiasts! Welcome aboard this unique voyage into the intriguing labyrinth of paramedical economics. As we set sail on this quirky expedition, we invite you to ponder the unlikely yet mesmerizing connection between the number of phlebotomists in the charming state of Rhode Island and the stock price of Carnival Corporation (CCL). Yes, we are venturing into uncharted waters to explore the blood-curdling, yet surprisingly blood-pumping, relationship between these seemingly disparate entities.

In the realm of finance, one often expects to find discussions of market trends, economic indicators, and corporate strategies. However, on this particular journey, we will delve into the world of phlebotomy—a profession dedicated to extracting that scarlet elixir of life, blood. It’s blood on one hand and stocks on the other, an enigmatic coupling that ticks like a well-oiled stock ticker. Who would have thought that the crimson essence coursing through our veins could also influence the ebbs and flows of the stock market?

Our motivation for embarking on this expedition was sparked by a series of serendipitous data encounters. Combining meticulously gathered statistics from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period between 2012 and 2022, we uncovered a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that truly makes the heart race. Our jaws dropped as we observed a correlation coefficient of 0.9844204, leaving us in awe of the mysterious interplay between phlebotomy and the high seas of stock trading.

While the saying goes, “blood is thicker than water,” we find it equally intriguing that blood—well, the professionals who draw it—and stock market performance may share a bond stronger than the finest hemoglobin. So, hold onto your lab coats and life vests as we navigate through this engaging and somewhat whimsical analysis, aiming to uncover the mystifying link that binds phlebotomists and stock prices.

As we dissect our findings and lay them bare for discussion, we hope to infuse a sense of curiosity and amusement into the academic sphere, proving that even the most unexpected connections can surface in the depths of data analysis. So, join us on this buoyant and slightly bloodthirsty escapade as we set sail into the heart of paramedical economics, breaking barriers and perhaps a few red-blooded stereotypes along the way.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name some cartoons and childrens' shows that you watched that are related to the topic.

Here is the title and abstract of the paper:
[[TITLE]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Ahoy, fellow researchers and financial enthusiasts! Welcome aboard this unique voyage into the intriguing labyrinth of paramedical economics. As we set sail on this quirky expedition, we invite you to ponder the unlikely yet mesmerizing connection between the number of phlebotomists in the charming state of Rhode Island and the stock price of Carnival Corporation (CCL). Yes, we are venturing into uncharted waters to explore the blood-curdling, yet surprisingly blood-pumping, relationship between these seemingly disparate entities.
In the realm of finance, one often expects to find discussions of market trends, economic indicators, and corporate strategies. However, on this particular journey, we will delve into the world of phlebotomy—a profession dedicated to extracting that scarlet elixir of life, blood. It’s blood on one hand and stocks on the other, an enigmatic coupling that ticks like a well-oiled stock ticker. Who would have thought that the crimson essence coursing through our veins could also influence the ebbs and flows of the stock market?
Our motivation for embarking on this expedition was sparked by a series of serendipitous data encounters. Combining meticulously gathered statistics from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period between 2012 and 2022, we uncovered a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that truly makes the heart race. Our jaws dropped as we observed a correlation coefficient of 0.9844204, leaving us in awe of the mysterious interplay between phlebotomy and the high seas of stock trading.
While the saying goes, “blood is thicker than water,” we find it equally intriguing that blood—well, the professionals who draw it—and stock market performance may share a bond stronger than the finest hemoglobin. So, hold onto your lab coats and life vests as we navigate through this engaging and somewhat whimsical analysis, aiming to uncover the mystifying link that binds phlebotomists and stock prices.
As we dissect our findings and lay them bare for discussion, we hope to infuse a sense of curiosity and amusement into the academic sphere, proving that even the most unexpected connections can surface in the depths of data analysis. So, join us on this buoyant and slightly bloodthirsty escapade as we set sail into the heart of paramedical economics, breaking barriers and perhaps a few red-blooded stereotypes along the way.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

To fully grasp the peculiar correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL), we must embark on a journey through the scholarly seas, navigating through a plethora of studies and publications. Our quest leads us to the esteemed work of Smith and Doe, examining the effects of labor force dynamics on stock performance. Smith and Doe's solemn analysis depicts the intricate dance between employment figures and market movements, yet fails to mention the thrilling allure of bloodletting on financial flux.

Jones, in a groundbreaking study, explores the psychological impact of healthcare professions on investment decisions, offering insights into the emotive response of traders to medical labor statistics. While Jones' work shines a light on the human psyche's influence on markets, the tantalizing union of phlebotomy and stock price remains veiled in mystery.

Venturing beyond the confines of traditional financial literature, we plunge into the depths of non-fiction to uncover elusive knowledge. "Blood, Sweat, and Tickers: The Arterial Chronicles of Stock Markets" by Wright et al. seems promising, yet disappointingly focuses solely on ticker symbols, bypassing the sanguine essence we so eagerly seek.

In the realm of fiction, we encounter publications that conjure a sense of intrigue, albeit in a fantastical manner. "The Hemoglobin Heist" by Marlowe spins a tale of stock market manipulation orchestrated by a band of mischievous phlebotomists, providing a whimsical perspective on our real-world investigation. Meanwhile, "Blood & Bonds: A Love Story on Wall Street" by Fitzgerald offers a romanticized fusion of medical professionals and financial titans, charming readers with its fanciful blend of bloodletting and stock trading.

Turning to animated fare, the neurons fire with memories of children's shows that veer into medical territories. "Doc McStuffins" and "Paw Patrol" subtly hint at the profound impact of healthcare on societal well-being, planting seeds of curiosity about the potential repercussions on larger economic systems, such as the stock market. The idea of a blood-drawing pup influencing stock prices does tickle the imagination.

In this exploratory literary odyssey, we have uncovered a tapestry of studies and stories, each hinting at the mysterious connection we seek to elucidate. As we continue our peculiar expedition into the labyrinth of paramedical economics, we are fueled by an unyielding curiosity and a fervent determination to unravel the enigmatic bond between phlebotomists and stock prices.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and LSEG Analytics (Refinitiv) . You used data from 2012 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]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

[[INTRODUCTION]]
Ahoy, fellow researchers and financial enthusiasts! Welcome aboard this unique voyage into the intriguing labyrinth of paramedical economics. As we set sail on this quirky expedition, we invite you to ponder the unlikely yet mesmerizing connection between the number of phlebotomists in the charming state of Rhode Island and the stock price of Carnival Corporation (CCL). Yes, we are venturing into uncharted waters to explore the blood-curdling, yet surprisingly blood-pumping, relationship between these seemingly disparate entities.
In the realm of finance, one often expects to find discussions of market trends, economic indicators, and corporate strategies. However, on this particular journey, we will delve into the world of phlebotomy—a profession dedicated to extracting that scarlet elixir of life, blood. It’s blood on one hand and stocks on the other, an enigmatic coupling that ticks like a well-oiled stock ticker. Who would have thought that the crimson essence coursing through our veins could also influence the ebbs and flows of the stock market?
Our motivation for embarking on this expedition was sparked by a series of serendipitous data encounters. Combining meticulously gathered statistics from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period between 2012 and 2022, we uncovered a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that truly makes the heart race. Our jaws dropped as we observed a correlation coefficient of 0.9844204, leaving us in awe of the mysterious interplay between phlebotomy and the high seas of stock trading.
While the saying goes, “blood is thicker than water,” we find it equally intriguing that blood—well, the professionals who draw it—and stock market performance may share a bond stronger than the finest hemoglobin. So, hold onto your lab coats and life vests as we navigate through this engaging and somewhat whimsical analysis, aiming to uncover the mystifying link that binds phlebotomists and stock prices.
As we dissect our findings and lay them bare for discussion, we hope to infuse a sense of curiosity and amusement into the academic sphere, proving that even the most unexpected connections can surface in the depths of data analysis. So, join us on this buoyant and slightly bloodthirsty escapade as we set sail into the heart of paramedical economics, breaking barriers and perhaps a few red-blooded stereotypes along the way.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To unravel the perplexing connection between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL), our research team embarked on a spirited quest, akin to a treasure hunt for statistical gems. Armed with data from the Bureau of Larbor Statistics and LSEG Analytics (Refinitiv), we set out to navigate the choppy seas of paramedical economics with a compass of statistical rigor and a sextant of whimsy.

First, we meticulously scoured through the Bureau of Labor Statistics database like intrepid treasure hunters, sifting through the digital sands to extract the numbers of phlebotomists gainfully employed in the picturesque state of Rhode Island. Our research team then juggled, not literal blood bags, but copious amounts of spreadsheet data to compile a comprehensive timeline spanning from 2012 to 2022, representing the ebbing and flowing tides of the phlebotomy workforce.

Next, armed with our trusty virtual spyglass, we delved into the enigmatic world of stock prices, specifically honing in on the ebbs and flows of Carnival Corporation's (CCL) stock data. Leveraging the sophisticated tools of LSEG Analytics (Refinitiv), we navigated the tumultuous seas of financial data to procure the daily and monthly stock prices for our chosen period, seeking to unearth any hidden treasures of correlation.

With our data treasure trove in hand, our research team donned their proverbial snorkels and dove into the tempestuous seas of statistical analysis. Like intrepid underwater explorers, we employed a range of statistical techniques, including correlation analysis, time-series modeling, and regression analysis, to disentangle the complex web linking the number of phlebotomists to the stock price of Carnival Corporation.

Furthermore, sprinkling a dash of economic theory into our bubbling cauldron of statistical concoctions, we adjusted for potential confounding variables such as demographic changes, healthcare industry dynamics, and global economic trends, ensuring a thorough exploration of this captivating nexus between phlebotomy and stock market performance.

In summary, our research methodology was akin to a high-seas adventure, navigating stormy statistical waters with a compass of precision and a telescope of scrutiny. As we donned our academic tricorn hats and ventured forth, we sought to unearth the buried treasure of correlation, all while injecting a spirit of curiosity and amusement into the often staid realm of economic inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

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

For the time period 2012 to 2022, you found a correlation 0.9844204, r-squared of 0.9690835, 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]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Ahoy, fellow researchers and financial enthusiasts! Welcome aboard this unique voyage into the intriguing labyrinth of paramedical economics. As we set sail on this quirky expedition, we invite you to ponder the unlikely yet mesmerizing connection between the number of phlebotomists in the charming state of Rhode Island and the stock price of Carnival Corporation (CCL). Yes, we are venturing into uncharted waters to explore the blood-curdling, yet surprisingly blood-pumping, relationship between these seemingly disparate entities.
In the realm of finance, one often expects to find discussions of market trends, economic indicators, and corporate strategies. However, on this particular journey, we will delve into the world of phlebotomy—a profession dedicated to extracting that scarlet elixir of life, blood. It’s blood on one hand and stocks on the other, an enigmatic coupling that ticks like a well-oiled stock ticker. Who would have thought that the crimson essence coursing through our veins could also influence the ebbs and flows of the stock market?
Our motivation for embarking on this expedition was sparked by a series of serendipitous data encounters. Combining meticulously gathered statistics from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period between 2012 and 2022, we uncovered a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that truly makes the heart race. Our jaws dropped as we observed a correlation coefficient of 0.9844204, leaving us in awe of the mysterious interplay between phlebotomy and the high seas of stock trading.
While the saying goes, “blood is thicker than water,” we find it equally intriguing that blood—well, the professionals who draw it—and stock market performance may share a bond stronger than the finest hemoglobin. So, hold onto your lab coats and life vests as we navigate through this engaging and somewhat whimsical analysis, aiming to uncover the mystifying link that binds phlebotomists and stock prices.
As we dissect our findings and lay them bare for discussion, we hope to infuse a sense of curiosity and amusement into the academic sphere, proving that even the most unexpected connections can surface in the depths of data analysis. So, join us on this buoyant and slightly bloodthirsty escapade as we set sail into the heart of paramedical economics, breaking barriers and perhaps a few red-blooded stereotypes along the way.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The heart-pounding rollercoaster ride of our analysis has unveiled a spine-tingling correlation coefficient of 0.9844204, an r-squared of 0.9690835, and a p-value of less than 0.01, all pointing to a significant relationship between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL) from 2012 to 2022. Yes, you read that right - we're talking about phlebotomists, the unsung heroes in scrubs, somehow influencing the stock market.

Our findings reflect a remarkably strong positive correlation; as the number of phlebotomists in the Ocean State ebbed and flowed, so did the stock price of CCL. It's as if the very act of drawing blood had an uncanny effect on the financial health of this maritime giant. The statistical significance of our results is enough to make you want to draw your own blood just to see if it affects the market in real time!

The tantalizing relationship we uncovered is graphically depicted in Figure 1, a scatterplot that vividly illustrates the robust connection between these seemingly unrelated variables. This isn't mere coincidence; the data speaks for itself, shouting from the rooftops that there's an unexpected link between phlebotomy and stock prices. If you thought the only thing making your blood pressure rise was your investment portfolio, think again!

So, there you have it, folks. The number of phlebotomists in the smallest state in the Union seems to have a palpable effect on the stock price of Carnival Corporation. This finding not only tickles our fancy but also serves as a blood-curdling reminder that in the wild seas of economics, even the most remarkable connections can emerge from the depths.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

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]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

[[LITERATURE REVIEW]]
To fully grasp the peculiar correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL), we must embark on a journey through the scholarly seas, navigating through a plethora of studies and publications. Our quest leads us to the esteemed work of Smith and Doe, examining the effects of labor force dynamics on stock performance. Smith and Doe's solemn analysis depicts the intricate dance between employment figures and market movements, yet fails to mention the thrilling allure of bloodletting on financial flux.
Jones, in a groundbreaking study, explores the psychological impact of healthcare professions on investment decisions, offering insights into the emotive response of traders to medical labor statistics. While Jones' work shines a light on the human psyche's influence on markets, the tantalizing union of phlebotomy and stock price remains veiled in mystery.
Venturing beyond the confines of traditional financial literature, we plunge into the depths of non-fiction to uncover elusive knowledge. "Blood, Sweat, and Tickers: The Arterial Chronicles of Stock Markets" by Wright et al. seems promising, yet disappointingly focuses solely on ticker symbols, bypassing the sanguine essence we so eagerly seek.
In the realm of fiction, we encounter publications that conjure a sense of intrigue, albeit in a fantastical manner. "The Hemoglobin Heist" by Marlowe spins a tale of stock market manipulation orchestrated by a band of mischievous phlebotomists, providing a whimsical perspective on our real-world investigation. Meanwhile, "Blood & Bonds: A Love Story on Wall Street" by Fitzgerald offers a romanticized fusion of medical professionals and financial titans, charming readers with its fanciful blend of bloodletting and stock trading.
Turning to animated fare, the neurons fire with memories of children's shows that veer into medical territories. "Doc McStuffins" and "Paw Patrol" subtly hint at the profound impact of healthcare on societal well-being, planting seeds of curiosity about the potential repercussions on larger economic systems, such as the stock market. The idea of a blood-drawing pup influencing stock prices does tickle the imagination.
In this exploratory literary odyssey, we have uncovered a tapestry of studies and stories, each hinting at the mysterious connection we seek to elucidate. As we continue our peculiar expedition into the labyrinth of paramedical economics, we are fueled by an unyielding curiosity and a fervent determination to unravel the enigmatic bond between phlebotomists and stock prices.

[[RESULTS]]
The heart-pounding rollercoaster ride of our analysis has unveiled a spine-tingling correlation coefficient of 0.9844204, an r-squared of 0.9690835, and a p-value of less than 0.01, all pointing to a significant relationship between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL) from 2012 to 2022. Yes, you read that right - we're talking about phlebotomists, the unsung heroes in scrubs, somehow influencing the stock market.
Our findings reflect a remarkably strong positive correlation; as the number of phlebotomists in the Ocean State ebbed and flowed, so did the stock price of CCL. It's as if the very act of drawing blood had an uncanny effect on the financial health of this maritime giant. The statistical significance of our results is enough to make you want to draw your own blood just to see if it affects the market in real time!
The tantalizing relationship we uncovered is graphically depicted in Figure 1, a scatterplot that vividly illustrates the robust connection between these seemingly unrelated variables. This isn't mere coincidence; the data speaks for itself, shouting from the rooftops that there's an unexpected link between phlebotomy and stock prices. If you thought the only thing making your blood pressure rise was your investment portfolio, think again!
So, there you have it, folks. The number of phlebotomists in the smallest state in the Union seems to have a palpable effect on the stock price of Carnival Corporation. This finding not only tickles our fancy but also serves as a blood-curdling reminder that in the wild seas of economics, even the most remarkable connections can emerge from the depths.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

The spine-tingling correlation we uncovered between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL) is nothing short of a financial phlebo-phenomenon. Our results not only substantiate the quirky inklings we unearthed from the scholarly seas but also inject a dose of sanguine curiosity into the field of paramedical economics.

Smith and Doe's analysis, although sans any mention of the intoxicating allure of bloodletting, laid the foundation for our exploration into the enigmatic influence of labor force dynamics on stock performance. As our findings corroborate, the thrumming heartbeat of phlebotomist numbers indeed seems to be synchronized with CCL's stock price, adding a punch to the existing literature on employment figures and market movements.

Jones' insights into the psychological impact of healthcare professions on investment decisions couldn't prepare us for the captivating dance we observed between phlebotomists and stock prices. It's as if the very act of drawing blood has transfused itself into the financial health of Carnival Corporation, cementing the relevance of medical labor statistics to market dynamics in a way that snatching even the most cavalier investor's attention.

Although our research veered away from the sanguine essence we sought in Wright et al.'s work and the whimsical perspectives of Marlowe and Fitzgerald, it unearths a connection so tantalizingly unexpected that its influence is enough to make even the most cynical of traders do a double-take.

In essence, our results not only align with the whispers of a thrilling bond between phlebotomy and stock prices but also surpass the imaginings of television shows like "Doc McStuffins" and "Paw Patrol" by proving that the impact of healthcare on societal well-being reverberates into the sprawling reaches of the stock market.

Armed with these findings, we stand at the precipice of a new frontier in paramedical economics, where the sanguine working of phlebotomists may well be a vital sign of economic health. So, while we won't draw any final conclusions just yet, the blood in the water certainly begs further investigation.


Model: gpt-3.5-turbo-1106
System prompt: You are a 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 The number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). Make lots of jokes, goofy observations, and puns.

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]]
Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection

[[ABSTRACT]]
In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

[[INTRDUCTION]]
Ahoy, fellow researchers and financial enthusiasts! Welcome aboard this unique voyage into the intriguing labyrinth of paramedical economics. As we set sail on this quirky expedition, we invite you to ponder the unlikely yet mesmerizing connection between the number of phlebotomists in the charming state of Rhode Island and the stock price of Carnival Corporation (CCL). Yes, we are venturing into uncharted waters to explore the blood-curdling, yet surprisingly blood-pumping, relationship between these seemingly disparate entities.
In the realm of finance, one often expects to find discussions of market trends, economic indicators, and corporate strategies. However, on this particular journey, we will delve into the world of phlebotomy—a profession dedicated to extracting that scarlet elixir of life, blood. It’s blood on one hand and stocks on the other, an enigmatic coupling that ticks like a well-oiled stock ticker. Who would have thought that the crimson essence coursing through our veins could also influence the ebbs and flows of the stock market?
Our motivation for embarking on this expedition was sparked by a series of serendipitous data encounters. Combining meticulously gathered statistics from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the period between 2012 and 2022, we uncovered a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that truly makes the heart race. Our jaws dropped as we observed a correlation coefficient of 0.9844204, leaving us in awe of the mysterious interplay between phlebotomy and the high seas of stock trading.
While the saying goes, “blood is thicker than water,” we find it equally intriguing that blood—well, the professionals who draw it—and stock market performance may share a bond stronger than the finest hemoglobin. So, hold onto your lab coats and life vests as we navigate through this engaging and somewhat whimsical analysis, aiming to uncover the mystifying link that binds phlebotomists and stock prices.
As we dissect our findings and lay them bare for discussion, we hope to infuse a sense of curiosity and amusement into the academic sphere, proving that even the most unexpected connections can surface in the depths of data analysis. So, join us on this buoyant and slightly bloodthirsty escapade as we set sail into the heart of paramedical economics, breaking barriers and perhaps a few red-blooded stereotypes along the way.

[[RESULTS]]
The heart-pounding rollercoaster ride of our analysis has unveiled a spine-tingling correlation coefficient of 0.9844204, an r-squared of 0.9690835, and a p-value of less than 0.01, all pointing to a significant relationship between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation (CCL) from 2012 to 2022. Yes, you read that right - we're talking about phlebotomists, the unsung heroes in scrubs, somehow influencing the stock market.
Our findings reflect a remarkably strong positive correlation; as the number of phlebotomists in the Ocean State ebbed and flowed, so did the stock price of CCL. It's as if the very act of drawing blood had an uncanny effect on the financial health of this maritime giant. The statistical significance of our results is enough to make you want to draw your own blood just to see if it affects the market in real time!
The tantalizing relationship we uncovered is graphically depicted in Figure 1, a scatterplot that vividly illustrates the robust connection between these seemingly unrelated variables. This isn't mere coincidence; the data speaks for itself, shouting from the rooftops that there's an unexpected link between phlebotomy and stock prices. If you thought the only thing making your blood pressure rise was your investment portfolio, think again!
So, there you have it, folks. The number of phlebotomists in the smallest state in the Union seems to have a palpable effect on the stock price of Carnival Corporation. This finding not only tickles our fancy but also serves as a blood-curdling reminder that in the wild seas of economics, even the most remarkable connections can emerge from the depths.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

Ahoy, landlubbers and financial aficionados! As we lower the anchor on this journey into the uncharted waters of paramedical economics, we can't help but marvel at the blood-pumping adventure we've embarked upon. Our findings have revealed a correlation between the number of phlebotomists in Rhode Island and the stock price of Carnival Corporation that's more jaw-dropping than a pirate finding gold doubloons in a phlebotomy kit!

Sure enough, the statistical evidence has left us feeling as though we've stumbled upon a treasure trove of unexpected connections. The robust correlation coefficient, the unmistakable scatterplot, and the resounding p-value all point to a relationship that's as clear as an X marking the spot.

Who would have thought that the profession dedicated to drawing blood could also paint such a vivid picture in the world of stock trading? It's as though the saying "keep your friends close and your stocks even closer" has taken on a whole new meaning.

In the end, our study stands as a testament to the whimsical yet substantive nature of paramedical economics. Yes, we may have waded through the high seas of data analysis, but in the end, we've emerged with a tale that's both hair-raising and heartwarming.

So, as we bid adieu to this swashbuckling escapade, we're firmly anchoring our conclusion that the number of phlebotomists in Rhode Island indeed has a blood-stirring effect on the stock price of Carnival Corporation. In the immortal words of Captain Jack Sparrow, "The blood that courses through our veins connects us all, maties, even in the stock market!"

And with that, we firmly assert that, in the realm of paramedical economics, no more research is needed in this area for now. After all, we've already uncovered a treasure chest of knowledge that's enough to make even the most seasoned economists do a jig!


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 Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Finance and Hematology


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 Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Hematological Economics and Finance


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 Blood, Sweat, and Stock Ticker: The Phlebotomy-Stock Price Connection with an abstract of In this study, we investigate the unlikely yet intriguing relationship between the number of phlebotomists in Rhode Island and Carnival Corporation's stock price (CCL). By meticulously analyzing data from the Bureau of Labor Statistics and LSEG Analytics (Refinitiv) for the time period from 2012 to 2022, we unveil an astonishing correlation coefficient of 0.9844204 and a statistically significant p-value of less than 0.01. Our findings not only raise eyebrows but also elicit a sense of curiosity about the potential influences of bloodletting on the maritime industry. This research sheds light on the unexplored realm of paramedical economics and serves as a whimsical yet substantive addition to the field.

ChatGPT:

phlebotomists, Rhode Island, Carnival Corporation, stock price, CCL, correlation coefficient, p-value, Bureau of Labor Statistics, LSEG Analytics, Refinitiv, paramedical economics, bloodletting, maritime industry

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The number of phlebotomists in Rhode Island
Detailed data title: BLS estimate of phlebotomists in Rhode Island
Source: Bureau of Larbor Statistics
See what else correlates with The number of phlebotomists in Rhode Island

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

See what else correlates with Carnival Corporation's stock price (CCL)

Correlation r = 0.9844204 (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.9690835 (Coefficient of determination)
This means 96.9% of the change in the one variable (i.e., Carnival Corporation's stock price (CCL)) is predictable based on the change in the other (i.e., The number of phlebotomists in Rhode Island) over the 11 years from 2012 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 4.21E-8. 0.0000000420923434434715200000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.98 in 4.21E-6% of random cases. Said differently, if you correlated 23,757,290 random variables You don't actually need 23 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 10 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 10 because we have two variables measured over a period of 11 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.94, 1 ] 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.
20122013201420152016201720182019202020212022
The number of phlebotomists in Rhode Island (Phlebotomists)7308008208209108901000850860610610
Carnival Corporation's stock price (CCL) (Stock price)33.4737.2539.6445.9154.1652.2367.2248.9451.3521.720.56




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([730,800,820,820,910,890,1000,850,860,610,610,])
array_2 = np.array([33.47,37.25,39.64,45.91,54.16,52.23,67.22,48.94,51.35,21.7,20.56,])
array_1_name = "The number of phlebotomists in Rhode Island"
array_2_name = "Carnival Corporation's stock price (CCL)"

# 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 dedication to rating warms my heart!


Correlation ID: 3026 · Black Variable ID: 19464 · Red Variable ID: 1922
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0