about · email me · subscribe
Spurious correlation #2,724 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in Library science and the second variable is Ticket sales for Oakland Athletics games.  The chart goes from 2012 to 2019, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of library science graduates rises, so does the world's appreciation for organization and categorization. This heightened sense of order subtly influences baseball fans, leading to a greater desire to see the players neatly 'cataloged' on the field. It's like the Dewey Decimal System of entertainment - everyone just wants to 'check out' a game! Plus, with their finely honed research skills, these grads may have uncovered the hidden 'book' on how to win at baseball, making the Athletics games a hot ticket!

Model: dalle-3
Prompt: Generate an image with the style of a Polaroid photo, showcasing a sunny library scene where a group of graduates proudly hold their Library Science diplomas, chatting excitedly. Adjacent to the library, capture a bustling baseball stadium where fans eagerly line up to buy tickets for the Oakland Athletics game, depicting the lively activity at the ticket booth. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. 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: Woodblock painting Magic realism a Polaroid photo Cybernetic art Celtic art
ChatGPT: a Polaroid photo

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games together. Keep the description simple.
ChatGPT: In a sunny library, a group of graduates proudly hold their Library Science diplomas while chatting excitedly. Meanwhile, next door at the baseball stadium, fans eagerly line up to buy tickets for the Oakland Athletics game, as the ticket booth bustles with activity.

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 Polaroid photo ] and depicting this scene: In a sunny library, a group of graduates proudly hold their Library Science diplomas while chatting excitedly. Meanwhile, next door at the baseball stadium, fans eagerly line up to buy tickets for the Oakland Athletics game, as the ticket booth bustles with activity. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image with the style of a Polaroid photo, showcasing a sunny library scene where a group of graduates proudly hold their Library Science diplomas, chatting excitedly. Adjacent to the library, capture a bustling baseball stadium where fans eagerly line up to buy tickets for the Oakland Athletics game, depicting the lively activity at the ticket booth.

*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 increases in Bachelor's degrees awarded in Library science positively influenced Ticket sales for Oakland Athletics games.

AI academic paper

(Because p < 0.05)
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

The Journal of Quirky Connections

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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns.

Make the title a clever pun.

Your research team used data from National Center for Education Statistics and Baseball-Reference.com to assess this nagging question. You found a correlation coefficient of 0.8224628 and p < 0.05 for 2012 to 2019.

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]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

Welcome to the intersection of bookish pursuits and baseball fervor, where the Dewey Decimal System meets dingers, and the librarian's shush is drowned out by the roar of the crowd. Ever wondered about the unlikely camaraderie between those immersed in the world of library science and those cheering on the Oakland Athletics? Well, get ready to embark on a scholarly journey that combines the esoteric with the exhilarating, the studious with the spirited, and the data-driven with the diamond-dwelling.

In our pursuit of academic enlightenment, we stumbled upon a correlation that could rival the greatest unlikely couplings: the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. Yes, you read that right. We're delving into the realms of card catalogs and center field, bibliographic classifications and bases stolen. It's a collision of intellectual pursuits and sports enthusiasm that even the most astute researchers wouldn't have predicted.

But, before we delve into the statistical intricacies and the intricacies of pitching and publishing, let's take a step back and ponder this curious juxtaposition. Who would have thought that the passionate pursuit of organizing knowledge and the adrenaline rush of a ninth-inning rally could be intertwined? And yet, here we are, on the brink of unveiling a relationship that challenges the conventional boundaries of academic disciplines and sports fandom.

As we embark on this academic odyssey, let's not underestimate the power of serendipity and the allure of the unexpected. So, buckle up and brace yourself for a remarkable journey that will have you questioning the very fabric of correlations and causations, and, who knows, maybe even questioning your loyalty to your favorite baseball team or your inclination to reorganize your bookshelves.


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. 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]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
Welcome to the intersection of bookish pursuits and baseball fervor, where the Dewey Decimal System meets dingers, and the librarian's shush is drowned out by the roar of the crowd. Ever wondered about the unlikely camaraderie between those immersed in the world of library science and those cheering on the Oakland Athletics? Well, get ready to embark on a scholarly journey that combines the esoteric with the exhilarating, the studious with the spirited, and the data-driven with the diamond-dwelling.
In our pursuit of academic enlightenment, we stumbled upon a correlation that could rival the greatest unlikely couplings: the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. Yes, you read that right. We're delving into the realms of card catalogs and center field, bibliographic classifications and bases stolen. It's a collision of intellectual pursuits and sports enthusiasm that even the most astute researchers wouldn't have predicted.
But, before we delve into the statistical intricacies and the intricacies of pitching and publishing, let's take a step back and ponder this curious juxtaposition. Who would have thought that the passionate pursuit of organizing knowledge and the adrenaline rush of a ninth-inning rally could be intertwined? And yet, here we are, on the brink of unveiling a relationship that challenges the conventional boundaries of academic disciplines and sports fandom.
As we embark on this academic odyssey, let's not underestimate the power of serendipity and the allure of the unexpected. So, buckle up and brace yourself for a remarkable journey that will have you questioning the very fabric of correlations and causations, and, who knows, maybe even questioning your loyalty to your favorite baseball team or your inclination to reorganize your bookshelves.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In the realm of unexpected correlations, Smith et al. (2015) conducted a study on the impact of library science education on community engagement, and while their focus was not on baseball ticket sales, their findings certainly add a layer of intrigue to our current inquiry. Similarly, Doe and Jones (2018) delved into the societal implications of information management in the digital age, offering valuable insights that offhandedly align with our investigation into the peculiar relationship between bookish pursuits and sports fandom.

Expanding our scope beyond the conventional academic literature, let's consider some non-fiction works that might not seem immediately related but could surprise us with their relevance. "The Library Book" by Susan Orlean and "Moneyball" by Michael Lewis may not share the same Dewey Decimal category, but they both offer unique perspectives on knowledge organization and baseball, respectively. While one might guide us through the labyrinthine aisles of a library and the other through the intricacies of building a winning baseball team, could there be an underlying connection waiting to be uncovered?

Looking to the realm of fiction, we encounter "The Uncommon Reader" by Alan Bennett and "The Art of Fielding" by Chad Harbach. Although these novels may appear worlds apart, with one delving into the unexpected passion for reading by the Queen of England and the other into the trials and triumphs of college baseball, perhaps their juxtaposition hints at a deeper interplay between literary inclinations and athletic pursuits.

Now, we tiptoe into the realm of childhood nostalgia and uncover some surprising connections within cartoons and children's shows. Who could forget the meticulous organization skills of Belle from "Beauty and the Beast," or the tenacity and teamwork showcased in "The Mighty Ducks" films? Even the diligent problem-solving of the "Magic School Bus" could hold a key to understanding the unexpected bond between scholarly endeavors and sports fandom.

As we navigate this curious amalgamation of literature, fiction, and childhood whimsy, it becomes increasingly clear that the relationship between library science and baseball may not be as outlandish as it initially seemed. Stay tuned as we unravel this enigmatic correlation and delve into the heart of what may be the most unexpected bromance of academia and athletics.


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Baseball-Reference.com . You used data from 2012 to 2019

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]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

[[INTRODUCTION]]
Welcome to the intersection of bookish pursuits and baseball fervor, where the Dewey Decimal System meets dingers, and the librarian's shush is drowned out by the roar of the crowd. Ever wondered about the unlikely camaraderie between those immersed in the world of library science and those cheering on the Oakland Athletics? Well, get ready to embark on a scholarly journey that combines the esoteric with the exhilarating, the studious with the spirited, and the data-driven with the diamond-dwelling.
In our pursuit of academic enlightenment, we stumbled upon a correlation that could rival the greatest unlikely couplings: the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. Yes, you read that right. We're delving into the realms of card catalogs and center field, bibliographic classifications and bases stolen. It's a collision of intellectual pursuits and sports enthusiasm that even the most astute researchers wouldn't have predicted.
But, before we delve into the statistical intricacies and the intricacies of pitching and publishing, let's take a step back and ponder this curious juxtaposition. Who would have thought that the passionate pursuit of organizing knowledge and the adrenaline rush of a ninth-inning rally could be intertwined? And yet, here we are, on the brink of unveiling a relationship that challenges the conventional boundaries of academic disciplines and sports fandom.
As we embark on this academic odyssey, let's not underestimate the power of serendipity and the allure of the unexpected. So, buckle up and brace yourself for a remarkable journey that will have you questioning the very fabric of correlations and causations, and, who knows, maybe even questioning your loyalty to your favorite baseball team or your inclination to reorganize your bookshelves.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To embark on this exhilarating research journey, our team meticulously collected and analyzed data from diverse sources spanning the internet, with a particular focus on the National Center for Education Statistics and Baseball-Reference.com. The interplay of information spanning the years 2012 to 2019 was deemed critical, as we sought to capture the historical ebb and flow of both library science education and the fervor of Oakland Athletics' loyal fan base.

Our first foray into the methodological maze involved sifting through the digital archives to extract the number of Bachelor's degrees awarded in library science during each academic year. This entailed navigating the virtual stacks of educational institutions' statistical reports and compiling numerical data that represented the culmination of dedication, caffeine, and, undoubtedly, some late-night shelving sessions.

Once armed with this intellectual arsenal, we took our academic at-bat to procure the ticket sales figures for Oakland Athletics games across the same temporal spectrum. Sifting through the numbers, we marveled at the wonderful chaos of baseball fandom, while also peeking behind the curtain to discern ticket purchases and game attendance figures. After all, we couldn't embark on this scholarly endeavor without a dash of peanuts, Cracker Jack, and statistical wizardry.

With our datasets in hand, we then channelled our inner alchemists to conjure the statistical tool of choice: the venerable Pearson correlation coefficient. This stalwart of quantitative analysis was summoned to unveil any hidden kinship between the number of library science degrees awarded and the ticket sales for Oakland Athletics games. Its task was nothing short of Sherlockian, as it delicately probed the depths of the numbers to unearth patterns that would make even the most seasoned sabermetrician take a second glance.

In addition to this numerical sleuthing, we also called upon the robustness of a two-tailed t-test to scrutinize the strength and significance of any unearthed correlation. Much like a careful umpire inspecting a pitcher's windup, we subjected our findings to the rigors of p-values and confidence intervals, ensuring that our conclusions could withstand the scrutiny of scientific scrutiny.

And thus, armed with statistical artillery and a sense of scholarly wonder, we endeavored to unravel the unprecedented relationship between bookish pursuits and baseball fandom. The term "moneyball" suddenly took on a whole new meaning, as we sought to uncover the secrets of the interweaving destinies of library science and grand slams—with a dash of wit and whimsy thrown in for good measure.


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Baseball-Reference.com .

For the time period 2012 to 2019, you found a correlation 0.8224628, r-squared of 0.6764450, and p < 0.05.

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]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
Welcome to the intersection of bookish pursuits and baseball fervor, where the Dewey Decimal System meets dingers, and the librarian's shush is drowned out by the roar of the crowd. Ever wondered about the unlikely camaraderie between those immersed in the world of library science and those cheering on the Oakland Athletics? Well, get ready to embark on a scholarly journey that combines the esoteric with the exhilarating, the studious with the spirited, and the data-driven with the diamond-dwelling.
In our pursuit of academic enlightenment, we stumbled upon a correlation that could rival the greatest unlikely couplings: the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. Yes, you read that right. We're delving into the realms of card catalogs and center field, bibliographic classifications and bases stolen. It's a collision of intellectual pursuits and sports enthusiasm that even the most astute researchers wouldn't have predicted.
But, before we delve into the statistical intricacies and the intricacies of pitching and publishing, let's take a step back and ponder this curious juxtaposition. Who would have thought that the passionate pursuit of organizing knowledge and the adrenaline rush of a ninth-inning rally could be intertwined? And yet, here we are, on the brink of unveiling a relationship that challenges the conventional boundaries of academic disciplines and sports fandom.
As we embark on this academic odyssey, let's not underestimate the power of serendipity and the allure of the unexpected. So, buckle up and brace yourself for a remarkable journey that will have you questioning the very fabric of correlations and causations, and, who knows, maybe even questioning your loyalty to your favorite baseball team or your inclination to reorganize your bookshelves.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]
Our foray into the world of library science and baseball fandom has yielded some astonishly unexpected results. After meticulously gathering and analyzing data from the National Center for Education Statistics and Baseball-Reference.com for the period from 2012 to 2019, our research team unearthed a remarkably strong positive correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games.

The correlation coefficient was calculated to be 0.8224628, with an r-squared of 0.6764450, indicating that approximately 67.6% of the variance in ticket sales can be explained by the number of library science degrees awarded. With a p-value of less than 0.05, our findings suggest that this correlation is indeed statistically significant.

Fig. 1 presents a scatterplot that visually encapsulates the robust relationship we discovered. The plot reveals a clear trend, with an increasing number of library science degrees awarded coinciding with higher ticket sales for Oakland Athletics games. The data points form a positively sloped line that leaves little room for doubt. The correlation between these two seemingly disparate variables is nothing short of remarkable.

While we did not set out with the intention of unraveling a correlation of such magnitude, the strength of this relationship is certainly compelling. It behooves us as researchers to further explore the underlying mechanisms and potential factors contributing to this unexpected connection.

In light of these extraordinary findings, one can't help but wonder if there might be a significant overlap between the academic leanings of library science enthusiasts and the fervent support of the Oakland Athletics. After all, who would have guessed that the enthusiasm for information organization and the thrill of a walk-off home run could be intertwined in such a compelling manner?

This unexpected turn of events opens up a world of possibilities for interdisciplinary discourse, sparking conversations that bridge the gap between the hallowed halls of libraries and the hallowed grounds of ballparks. It's a reminder that in the vast landscape of human pursuits, the potential for surprising correlations is as boundless as the outfield.


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

[[LITERATURE REVIEW]]
In the realm of unexpected correlations, Smith et al. (2015) conducted a study on the impact of library science education on community engagement, and while their focus was not on baseball ticket sales, their findings certainly add a layer of intrigue to our current inquiry. Similarly, Doe and Jones (2018) delved into the societal implications of information management in the digital age, offering valuable insights that offhandedly align with our investigation into the peculiar relationship between bookish pursuits and sports fandom.
Expanding our scope beyond the conventional academic literature, let's consider some non-fiction works that might not seem immediately related but could surprise us with their relevance. "The Library Book" by Susan Orlean and "Moneyball" by Michael Lewis may not share the same Dewey Decimal category, but they both offer unique perspectives on knowledge organization and baseball, respectively. While one might guide us through the labyrinthine aisles of a library and the other through the intricacies of building a winning baseball team, could there be an underlying connection waiting to be uncovered?
Looking to the realm of fiction, we encounter "The Uncommon Reader" by Alan Bennett and "The Art of Fielding" by Chad Harbach. Although these novels may appear worlds apart, with one delving into the unexpected passion for reading by the Queen of England and the other into the trials and triumphs of college baseball, perhaps their juxtaposition hints at a deeper interplay between literary inclinations and athletic pursuits.
Now, we tiptoe into the realm of childhood nostalgia and uncover some surprising connections within cartoons and children's shows. Who could forget the meticulous organization skills of Belle from "Beauty and the Beast," or the tenacity and teamwork showcased in "The Mighty Ducks" films? Even the diligent problem-solving of the "Magic School Bus" could hold a key to understanding the unexpected bond between scholarly endeavors and sports fandom.
As we navigate this curious amalgamation of literature, fiction, and childhood whimsy, it becomes increasingly clear that the relationship between library science and baseball may not be as outlandish as it initially seemed. Stay tuned as we unravel this enigmatic correlation and delve into the heart of what may be the most unexpected bromance of academia and athletics.

[[RESULTS]]
Our foray into the world of library science and baseball fandom has yielded some astonishly unexpected results. After meticulously gathering and analyzing data from the National Center for Education Statistics and Baseball-Reference.com for the period from 2012 to 2019, our research team unearthed a remarkably strong positive correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games.
The correlation coefficient was calculated to be 0.8224628, with an r-squared of 0.6764450, indicating that approximately 67.6% of the variance in ticket sales can be explained by the number of library science degrees awarded. With a p-value of less than 0.05, our findings suggest that this correlation is indeed statistically significant.
Fig. 1 presents a scatterplot that visually encapsulates the robust relationship we discovered. The plot reveals a clear trend, with an increasing number of library science degrees awarded coinciding with higher ticket sales for Oakland Athletics games. The data points form a positively sloped line that leaves little room for doubt. The correlation between these two seemingly disparate variables is nothing short of remarkable.
While we did not set out with the intention of unraveling a correlation of such magnitude, the strength of this relationship is certainly compelling. It behooves us as researchers to further explore the underlying mechanisms and potential factors contributing to this unexpected connection.
In light of these extraordinary findings, one can't help but wonder if there might be a significant overlap between the academic leanings of library science enthusiasts and the fervent support of the Oakland Athletics. After all, who would have guessed that the enthusiasm for information organization and the thrill of a walk-off home run could be intertwined in such a compelling manner?
This unexpected turn of events opens up a world of possibilities for interdisciplinary discourse, sparking conversations that bridge the gap between the hallowed halls of libraries and the hallowed grounds of ballparks. It's a reminder that in the vast landscape of human pursuits, the potential for surprising correlations is as boundless as the outfield.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study have taken us on a journey through uncharted territories where the sweet smell of knowledge meets the crack of a well-hit baseball. Akin to the surprising correlation between rain and ice cream sales, or the association between hula hoops and lumber production, our findings reveal a striking relationship between the pursuit of library science education and the fervent support for the Oakland Athletics.

As we revisit the literature review, we can't help but marvel at the unexpected threads that led us to this groundbreaking discovery. Smith et al.'s exploration of library science education's impact on community engagement now takes on a whole new meaning, as the community's engagement includes not only information-seeking behavior but also ticket sales for baseball games. Doe and Jones' insights into information management in the digital age also gain new significance, echoing the digital fan engagement and information dissemination that influences baseball attendance.

Our findings are in harmony with these previous studies, as they all point to the resonance between knowledge acquisition and engagement with community endeavors, whether it be community-based library initiatives or community-based sports fandom. While the unexpected correlations described in our literature review might have initially seemed whimsical, our results provide empirical support for the notion that the world of library science and the world of baseball can indeed intersect in surprising and meaningful ways.

The robust correlation coefficient we observed mirrors the steadfastness of the baseball diamond itself, indicating a relationship that cannot be easily dismissed. Our statistical analysis affirmed the significant impact of library science education on the ebb and flow of ticket sales for Oakland Athletics games, pointing to the not-so-random pattern of enthusiasm for knowledge organization translating into fervor for sports spectating.

The scatterplot in Fig. 1, rather than a mere visual representation of data points, becomes an emblem of the unyielding bond we've uncovered between academic pursuits and athletic ardor. It's as though the dots on the plot echo the sentiment, "categorize this under 'unexpected synergies.'" This correlation forces us to expand our understanding of the human psyche, hinting at a dynamic interplay between intellectual pursuits and recreational passions that eludes conventional categorization.

Despite the seemingly eclectic threads that led us to this unusual nexus between library science and baseball, our findings underscore the importance of embracing serendipity in research and recognizing that the tapestry of human interests may defy neat categorization. The unexpected bromance between the Dewey Decimal system and dingers has opened new avenues for scholarly inquiry and redefined the boundaries of academic and athletic intersections.

As we continue to unravel the enigmatic correlation between library science education and baseball attendance, we anticipate that our study will trigger further investigations into the intricate dance of interests that shape our society. After all, in the words of Mark Twain, "There are three kinds of lies: lies, damned lies, and statistics. But sometimes, statistics reveal the darnedest truths."


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 Bachelor's degrees awarded in Library science and Ticket sales for Oakland Athletics games. Make lots of jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales

[[ABSTRACT]]
In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.

As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

[[INTRDUCTION]]
Welcome to the intersection of bookish pursuits and baseball fervor, where the Dewey Decimal System meets dingers, and the librarian's shush is drowned out by the roar of the crowd. Ever wondered about the unlikely camaraderie between those immersed in the world of library science and those cheering on the Oakland Athletics? Well, get ready to embark on a scholarly journey that combines the esoteric with the exhilarating, the studious with the spirited, and the data-driven with the diamond-dwelling.
In our pursuit of academic enlightenment, we stumbled upon a correlation that could rival the greatest unlikely couplings: the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. Yes, you read that right. We're delving into the realms of card catalogs and center field, bibliographic classifications and bases stolen. It's a collision of intellectual pursuits and sports enthusiasm that even the most astute researchers wouldn't have predicted.
But, before we delve into the statistical intricacies and the intricacies of pitching and publishing, let's take a step back and ponder this curious juxtaposition. Who would have thought that the passionate pursuit of organizing knowledge and the adrenaline rush of a ninth-inning rally could be intertwined? And yet, here we are, on the brink of unveiling a relationship that challenges the conventional boundaries of academic disciplines and sports fandom.
As we embark on this academic odyssey, let's not underestimate the power of serendipity and the allure of the unexpected. So, buckle up and brace yourself for a remarkable journey that will have you questioning the very fabric of correlations and causations, and, who knows, maybe even questioning your loyalty to your favorite baseball team or your inclination to reorganize your bookshelves.

[[RESULTS]]
Our foray into the world of library science and baseball fandom has yielded some astonishly unexpected results. After meticulously gathering and analyzing data from the National Center for Education Statistics and Baseball-Reference.com for the period from 2012 to 2019, our research team unearthed a remarkably strong positive correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games.
The correlation coefficient was calculated to be 0.8224628, with an r-squared of 0.6764450, indicating that approximately 67.6% of the variance in ticket sales can be explained by the number of library science degrees awarded. With a p-value of less than 0.05, our findings suggest that this correlation is indeed statistically significant.
Fig. 1 presents a scatterplot that visually encapsulates the robust relationship we discovered. The plot reveals a clear trend, with an increasing number of library science degrees awarded coinciding with higher ticket sales for Oakland Athletics games. The data points form a positively sloped line that leaves little room for doubt. The correlation between these two seemingly disparate variables is nothing short of remarkable.
While we did not set out with the intention of unraveling a correlation of such magnitude, the strength of this relationship is certainly compelling. It behooves us as researchers to further explore the underlying mechanisms and potential factors contributing to this unexpected connection.
In light of these extraordinary findings, one can't help but wonder if there might be a significant overlap between the academic leanings of library science enthusiasts and the fervent support of the Oakland Athletics. After all, who would have guessed that the enthusiasm for information organization and the thrill of a walk-off home run could be intertwined in such a compelling manner?
This unexpected turn of events opens up a world of possibilities for interdisciplinary discourse, sparking conversations that bridge the gap between the hallowed halls of libraries and the hallowed grounds of ballparks. It's a reminder that in the vast landscape of human pursuits, the potential for surprising correlations is as boundless as the outfield.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our journey through the intriguing terrain of library science degrees and Oakland Athletics ticket sales has left us both baffled and tickled. Who would have thought that the pursuit of knowledge organization and the pursuit of home runs could have a statistical high-five moment? It's a match made in an unlikely heaven, or as some may say, a home run hit at the library check-out desk.

While we must resist the temptation to leap to conclusive causative assertions, the correlation we've uncovered adds a fascinating layer to the tapestry of interdisciplinary curiosities. As researchers, we've scrutinized the data with eagle-eyed precision, and the numbers aren't playing hardball with us. No, they're singing in harmony, rallying for an encore, and doing a victory lap at the same time.

As we wrap up this investigation, we can't help but ponder the deeper mysteries of human behavior. Is there a secret connection between the satisfaction of finding the accurate Dewey Decimal number and the thrill of a grand slam? Maybe it's the sheer joy of precision - whether that's in categorizing books or nailing a perfect strike zone.

In the end, this study prompts laughter and head-scratching, but we can confidently say that the relationship between library science degrees and Oakland Athletics ticket sales is no mere foul ball; it's a statistical homer.

This odd couple of statistical significance and intellectual whimsy doesn't necessitate more research. After all, let's not overstay our welcome in this delightful cocktail party of curiosities. It's time to tip our hats, close the books, and call it a game.


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 Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Connections


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 Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales. Respond only with the name of a fictional organization.

ChatGPT:

The Association for Sports Analytics and Information Sciences


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 Dewey Decimals and Dingers: Exploring the Relationship Between Library Science Bachelor's Degrees and Oakland Athletics Ticket Sales with an abstract of In this study, we donned our lab coats and dug into the fascinating world of library science and baseball fandom to investigate a rather unexpected connection. Utilizing data from the National Center for Education Statistics and Baseball-Reference.com, our team sought to unravel the perplexing correlation between the number of Bachelor's degrees awarded in library science and the ticket sales for Oakland Athletics games. To our surprise, we uncovered a strong positive correlation, with a correlation coefficient of 0.8224628 and a significant p-value of < 0.05 for the period spanning 2012 to 2019.
As researchers, we were initially skeptical, but the numbers don't lie. It seems that as the number of library science degrees awarded increases, so do the ticket sales for Oakland Athletics games. While we're not claiming causation, this peculiar relationship between book smarts and baseball enthusiasm certainly piqued our scholarly curiosity. Perhaps the love for cataloging and the love for curveballs aren't as mutually exclusive as one might think. Our findings may just have the ticket to a whole new ballpark of interdisciplinary discussions.

ChatGPT:

Dewey Decimals, library science, Bachelor's degrees, Oakland Athletics, ticket sales, correlation, National Center for Education Statistics, Baseball-Reference.com, correlation coefficient, p-value, interdisciplinary discussions

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

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

Ticket sales for Oakland Athletics games
Detailed data title: Total tickets sold in home games for the Oakland Athletics
Source: Baseball-Reference.com
See what else correlates with Ticket sales for Oakland Athletics games

Correlation r = 0.8224628 (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.6764450 (Coefficient of determination)
This means 67.6% of the change in the one variable (i.e., Ticket sales for Oakland Athletics games) is predictable based on the change in the other (i.e., Bachelor's degrees awarded in Library science) over the 8 years from 2012 through 2019.

p < 0.05, which statistically significant(Null hypothesis significance test)
The p-value is 0.012. 0.0121930743242739740000000000
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.82 in 1.2% of random cases. Said differently, if you correlated 82 random variables Which I absolutely did.
with the same 7 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 7 because we have two variables measured over a period of 8 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.28, 0.97 ] 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.
20122013201420152016201720182019
Bachelor's degrees awarded in Library science (Degrees awarded)951021279985998199
Ticket sales for Oakland Athletics games (Tickets sold)16790101809300200363017681801521510147572015736201670730




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. Very low n: There are not many data points included in this analysis. Even if the p-value is high, we should be suspicious of using so few datapoints in a correlation.




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([95,102,127,99,85,99,81,99,])
array_2 = np.array([1679010,1809300,2003630,1768180,1521510,1475720,1573620,1670730,])
array_1_name = "Bachelor's degrees awarded in Library science"
array_2_name = "Ticket sales for Oakland Athletics games"

# 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 rating is much appreciated!


Correlation ID: 2724 · Black Variable ID: 1282 · Red Variable ID: 4417
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0