about · email me · subscribe
Spurious correlation #5,162 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Google searches for 'how to annex texas' and the second variable is Average length of Numberphile YouTube videos.  The chart goes from 2011 to 2023, and the two variables track closely in value over that time. Small Image

AI explanation

As people became more interested in annexing Texas, the state's sheer size and geometry prompted a wave of mathematical discussions. This influx of geometry enthusiasts led to a surge in demand for longer Numberphile videos to explore the vast and complex concepts in greater detail. It seems everything really is big in Texas, including the impact on educational video content!

Model: dalle-3
Prompt: An image that looks like it is a scene from a Pixar movie depicting a group of people gathered around a table, deeply engrossed in measuring the angles and lengths of Texas' borders, and brainstorming ways to annex it. On a nearby screen, a YouTube video playing shows the length of Numberphile videos increasing chart, as the viewers seek more in-depth explanations of geometry and complex mathematical concepts. The scene is set in a warm, cozy room with wooden furnishings and soft lighting, evoking a sense of curiosity and academic enthusiasm among the characters. 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: Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. 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 scene from Skyrim Sci-fi fantacy An image that looks like it is a scene from a Pixar movie Brutalism Pop art
ChatGPT: An image that looks like it is a scene from a Pixar movie

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 Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos, in the following situation: As people became more interested in annexing Texas, the state's sheer size and geometry prompted a wave of mathematical discussions. This influx of geometry enthusiasts led to a surge in demand for longer Numberphile videos to explore the vast and complex concepts in greater detail. It seems everything really is big in Texas, including the impact on educational video content! . Keep the description simple.
ChatGPT: A group of people are gathered around a table, deeply engrossed in measuring the angles and lengths of Texas' borders, and brainstorming ways to annex it. On a nearby screen, a YouTube video playing shows the length of Numberphile videos increasing chart, as the viewers seek more in-depth explanations of geometry and complex mathematical concepts.

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: [ An image that looks like it is a scene from a Pixar movie ] and depicting this scene: A group of people are gathered around a table, deeply engrossed in measuring the angles and lengths of Texas' borders, and brainstorming ways to annex it. On a nearby screen, a YouTube video playing shows the length of Numberphile videos increasing chart, as the viewers seek more in-depth explanations of geometry and complex mathematical concepts. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: An image that looks like it is a scene from a Pixar movie depicting a group of people gathered around a table, deeply engrossed in measuring the angles and lengths of Texas' borders, and brainstorming ways to annex it. On a nearby screen, a YouTube video playing shows the length of Numberphile videos increasing chart, as the viewers seek more in-depth explanations of geometry and complex mathematical concepts. The scene is set in a warm, cozy room with wooden furnishings and soft lighting, evoking a sense of curiosity and academic enthusiasm among the characters.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how an increase in how to annex texas (Google searches for 'how to annex texas') caused Average length of Numberphile YouTube videos to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation

The Journal of Quirky Quantitative Studies

Jan 2024
Quick note: This sequence is long and repetitive. That's how the prompt engineering works for this one. I manage the output in Python to format it into this PDF.




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Include a pun in the title.

Your research team used data from Google Trends and YouTube to assess this nagging question. You found a correlation coefficient of 0.9356577 and p < 0.01 for 2011 to 2023.

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]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The relationship between seemingly unrelated variables has long fascinated researchers across disciplines. In the realm of internet behavior, the fusion of quirky queries and numerical curiosities has ventured into the realm of statistical analysis. Our investigation delves into the enigmatic bond between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. While these entities may appear incongruent at first glance, our study endeavors to untangle the web of connections and juxtapositions that have perplexed and piqued our intellectual curiosity.

The quest to annex Texas, a topic that elicits historical intrigue and perhaps, mild curiosity and maybe even misguided aspirations, has found itself intertwined with the numerical marvels disseminated by the captivating Numberphile YouTube channel. As we embark on our scientific odyssey, it is imperative to acknowledge the potential for unexpected discoveries that may lurk within the folds of this unconventional correlation – an endeavor that aligns with the fundamental tenets of scientific exploration.

This study builds upon the foundation of unconventional statistical inquiry, pushing the boundaries of conventional research ethos to embrace the whimsy and capricious nature of online behavior. As we peer through the lens of data and inquiry, we cannot discount the allure of the unexpected – the possibility that beneath the layers of numerical analysis lies a playful dance of internet sensation and historical exploration. Such duality reminds us of the inherent complexity and the delightful surprises that research endeavors may unveil.

Indeed, the melding of these distinct variables beckons us to ponder the marriage of historical curiosity and numerical contemplation. It also compels us to consider the fascinating possibility that individuals, in their digital pursuits, may be seeking solace in the quantifiable frameworks of Numberphile’s numerical demonstrations, perhaps in a whimsical attempt to demystify the convoluted historical narratives surrounding the annexation of the Lone Star State.

As we venture forth into this captivating interplay of search engine queries and video content duration, we invite our esteemed readers to join us in this academic waltz where precision blends with peculiarity, and numerical musings intertwine with historical inquiry. The results of this inquiry may indeed defy expectation, presenting an intellectual tapestry laced with quirky revelations and statistical revelations – a resonance of such findings, one might say, would be music to the ears of the scientifically inclined.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

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

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

Here is the title and abstract of the paper:
[[TITLE]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The relationship between seemingly unrelated variables has long fascinated researchers across disciplines. In the realm of internet behavior, the fusion of quirky queries and numerical curiosities has ventured into the realm of statistical analysis. Our investigation delves into the enigmatic bond between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. While these entities may appear incongruent at first glance, our study endeavors to untangle the web of connections and juxtapositions that have perplexed and piqued our intellectual curiosity.
The quest to annex Texas, a topic that elicits historical intrigue and perhaps, mild curiosity and maybe even misguided aspirations, has found itself intertwined with the numerical marvels disseminated by the captivating Numberphile YouTube channel. As we embark on our scientific odyssey, it is imperative to acknowledge the potential for unexpected discoveries that may lurk within the folds of this unconventional correlation – an endeavor that aligns with the fundamental tenets of scientific exploration.
This study builds upon the foundation of unconventional statistical inquiry, pushing the boundaries of conventional research ethos to embrace the whimsy and capricious nature of online behavior. As we peer through the lens of data and inquiry, we cannot discount the allure of the unexpected – the possibility that beneath the layers of numerical analysis lies a playful dance of internet sensation and historical exploration. Such duality reminds us of the inherent complexity and the delightful surprises that research endeavors may unveil.
Indeed, the melding of these distinct variables beckons us to ponder the marriage of historical curiosity and numerical contemplation. It also compels us to consider the fascinating possibility that individuals, in their digital pursuits, may be seeking solace in the quantifiable frameworks of Numberphile’s numerical demonstrations, perhaps in a whimsical attempt to demystify the convoluted historical narratives surrounding the annexation of the Lone Star State.
As we venture forth into this captivating interplay of search engine queries and video content duration, we invite our esteemed readers to join us in this academic waltz where precision blends with peculiarity, and numerical musings intertwine with historical inquiry. The results of this inquiry may indeed defy expectation, presenting an intellectual tapestry laced with quirky revelations and statistical revelations – a resonance of such findings, one might say, would be music to the ears of the scientifically inclined.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The quest for knowledge and amusement often leads individuals down unexpected paths, as evidenced by the fusion of historical curiosity and numerical contemplation in the form of Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. In "Smith et al.," the authors find a foundation for the exploration of seemingly incongruent relationships, setting the stage for our investigation into this unusual correlation. This peculiar juxtaposition of historical intrigue and numerical marvels invites whimsical interpretations, as researchers endeavor to untangle the web of connections that have captivated the curious minds across the digital landscape.

As we delve further into the annals of literature related to our unusual subject matter, "Doe and Jones" present a comprehensive review of unconventional statistical inquiry, laying the groundwork for discoveries that may lurk within the folds of this unexpected correlation. Their contemplation of the potential for unexpected revelations aligns with our own aspirations as we embark on this scientific odyssey.

In considering the unsuspected interplay of digital pursuits and historical curiosity, it is imperative to acknowledge the eclectic sources that contribute to our understanding of this relationship. "The Texas Annexation Chronicles" and "The Enigmatic Explanations of Numberphile" offer insight into relevant historical and numerical phenomena, enriching our comprehension of the diverse influences at play in this peculiar correlation.

Furthermore, the intermingling of literature from fictional realms provides an alternative perspective on the confluence of historical curiosity and numerical contemplation. Works such as "The Numerical Frontier: A Tale of Texas" and "Numberphile: A Historical Odyssey" invoke a sense of whimsy and imaginative exploration that parallel our own academic waltz amidst the unconventional.

However, delving beyond the traditional confines of academic literature, our research team has encountered unexpected sources that have contributed curiously to our understanding of this correlation. In perusing grocery store receipts and decoding the nuances of incomprehensible scribbles, we stumbled upon peculiar patterns that seemed to mimic the enigmatic nature of our research focus - a revelation that evoked a chuckle amidst our academic pursuits. While this unconventional approach may raise eyebrows in scholarly circles, it underscores the capricious and unexpected nature of human inquiry, reminding us of the delightful surprises that may emerge from unorthodox sources.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Google Trends and YouTube . You used data from 2011 to 2023

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]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

[[INTRODUCTION]]
The relationship between seemingly unrelated variables has long fascinated researchers across disciplines. In the realm of internet behavior, the fusion of quirky queries and numerical curiosities has ventured into the realm of statistical analysis. Our investigation delves into the enigmatic bond between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. While these entities may appear incongruent at first glance, our study endeavors to untangle the web of connections and juxtapositions that have perplexed and piqued our intellectual curiosity.
The quest to annex Texas, a topic that elicits historical intrigue and perhaps, mild curiosity and maybe even misguided aspirations, has found itself intertwined with the numerical marvels disseminated by the captivating Numberphile YouTube channel. As we embark on our scientific odyssey, it is imperative to acknowledge the potential for unexpected discoveries that may lurk within the folds of this unconventional correlation – an endeavor that aligns with the fundamental tenets of scientific exploration.
This study builds upon the foundation of unconventional statistical inquiry, pushing the boundaries of conventional research ethos to embrace the whimsy and capricious nature of online behavior. As we peer through the lens of data and inquiry, we cannot discount the allure of the unexpected – the possibility that beneath the layers of numerical analysis lies a playful dance of internet sensation and historical exploration. Such duality reminds us of the inherent complexity and the delightful surprises that research endeavors may unveil.
Indeed, the melding of these distinct variables beckons us to ponder the marriage of historical curiosity and numerical contemplation. It also compels us to consider the fascinating possibility that individuals, in their digital pursuits, may be seeking solace in the quantifiable frameworks of Numberphile’s numerical demonstrations, perhaps in a whimsical attempt to demystify the convoluted historical narratives surrounding the annexation of the Lone Star State.
As we venture forth into this captivating interplay of search engine queries and video content duration, we invite our esteemed readers to join us in this academic waltz where precision blends with peculiarity, and numerical musings intertwine with historical inquiry. The results of this inquiry may indeed defy expectation, presenting an intellectual tapestry laced with quirky revelations and statistical revelations – a resonance of such findings, one might say, would be music to the ears of the scientifically inclined.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

Data Collection:
The data for this study was obtained from Google Trends and YouTube, spanning the years 2011 to 2023. The Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos were the primary variables of interest. The research team collected this data by engaging in extensive, yet entirely professional, bouts of internet browsing.

Google Trends provided the search interest data, measured in relative terms, which were further analyzed to identify patterns and trends in individuals' queries regarding the annexation of Texas. The Numberphile YouTube videos, renowned for their numerical elucidation and witty mathematical banter, yielded the necessary data on video duration, which ranged from what appeared to be mere minutes to the occasional magnum opus of numerical explanation.

Data Analysis:
The analysis of the collected data entailed a series of robust statistical methods, which one might describe as the labors of Sisyphus, though with significantly less boulder-rolling involved. Correlation analysis was employed to examine the relationship between the frequency of Google searches for Texas annexation and the average length of Numberphile videos. The Pearson correlation coefficient, combined with a p-value less than 0.01, provided insightful evidence of a significant positive correlation between these seemingly disparate variables, akin to the wavelengths in an unexpected quantum entanglement experiment.

Additionally, the data was wrangled and molded into shape for regression analysis, allowing for the quantification of the impact of Google searches on the average length of Numberphile videos, further elucidating the influence of historical curiosity on numerical musings.

Furthermore, a time-series analysis was conducted to unravel the temporal dynamics of the relationship, akin to a scholarly inspection of the dance between two partners, each taking turns leading in this peculiar statistical tango.

Limitations:
While our research achieved commendable strides in unraveling the enigmatic bond between Google searches for "how to annex Texas" and the duration of Numberphile videos, it was not without its limitations. Causality between the variables cannot be conclusively determined, as is often the case in the capricious world of observational research. Additionally, the study was confined to English-language searches, potentially excluding the perspectives of those who may harbor historical or numerical curiosities in other linguistic realms.

Conclusion:
Through a combination of statistical wizardry and internet voyaging, this study unveiled an unexpected and enthralling correlation between the fervor for Texas annexation and the duration of Numberphile videos. Our findings impart a whimsical note to statistical inquiry, hinting at the delightful meanderings and capricious connections that underpin the realms of data analysis and numerical indulgence.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from Google Trends and YouTube .

For the time period 2011 to 2023, you found a correlation 0.9356577, r-squared of 0.8754553, 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]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The relationship between seemingly unrelated variables has long fascinated researchers across disciplines. In the realm of internet behavior, the fusion of quirky queries and numerical curiosities has ventured into the realm of statistical analysis. Our investigation delves into the enigmatic bond between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. While these entities may appear incongruent at first glance, our study endeavors to untangle the web of connections and juxtapositions that have perplexed and piqued our intellectual curiosity.
The quest to annex Texas, a topic that elicits historical intrigue and perhaps, mild curiosity and maybe even misguided aspirations, has found itself intertwined with the numerical marvels disseminated by the captivating Numberphile YouTube channel. As we embark on our scientific odyssey, it is imperative to acknowledge the potential for unexpected discoveries that may lurk within the folds of this unconventional correlation – an endeavor that aligns with the fundamental tenets of scientific exploration.
This study builds upon the foundation of unconventional statistical inquiry, pushing the boundaries of conventional research ethos to embrace the whimsy and capricious nature of online behavior. As we peer through the lens of data and inquiry, we cannot discount the allure of the unexpected – the possibility that beneath the layers of numerical analysis lies a playful dance of internet sensation and historical exploration. Such duality reminds us of the inherent complexity and the delightful surprises that research endeavors may unveil.
Indeed, the melding of these distinct variables beckons us to ponder the marriage of historical curiosity and numerical contemplation. It also compels us to consider the fascinating possibility that individuals, in their digital pursuits, may be seeking solace in the quantifiable frameworks of Numberphile’s numerical demonstrations, perhaps in a whimsical attempt to demystify the convoluted historical narratives surrounding the annexation of the Lone Star State.
As we venture forth into this captivating interplay of search engine queries and video content duration, we invite our esteemed readers to join us in this academic waltz where precision blends with peculiarity, and numerical musings intertwine with historical inquiry. The results of this inquiry may indeed defy expectation, presenting an intellectual tapestry laced with quirky revelations and statistical revelations – a resonance of such findings, one might say, would be music to the ears of the scientifically inclined.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data from 2011 to 2023 revealed a remarkably strong positive correlation between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos, with a coefficient of 0.9356577 and an r-squared value of 0.8754553. The p-value being less than 0.01 further underscores the significance of this unexpected relationship.

The robust correlation, visually depicted in the accompanying scatterplot (Fig. 1), showcases the intriguing synchronicity between these divergent variables. As we contemplate this curious association, one cannot help but marvel at the whimsical juxtaposition of historical curiosity and mathematical musings within the digital domain. It seems the enigmatic allure of Texas' annexation has, in some peculiar digital dimension, intertwined with the captivating numerical narratives spun by Numberphile.

The strength of this correlation prompts us to reconsider the quirky ways in which individuals engage with online content. Could it be that amidst the labyrinth of information, there exists a yearning to demystify historical events through the lens of numerical precision? Perhaps, the length of Numberphile videos provides a comforting structure within which the complexity of Texas' historical narrative can be neatly encapsulated.

In closing, our findings invite playful ponderings on the intersection of historical intrigue and numerical fascination. The peculiar correlation between querying the annexation of Texas and the length of Numberphile videos reflects the enticing complexity of online behavior and prompts us to anticipate the unexpected within the digital realm. As we unveil this unusual confluence of variables, we urge fellow scholars to delight in the whimsy that imbues this unconventional correlation, for it is in such intellectual whims that the treasure of scientific curiosity often lies.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

[[LITERATURE REVIEW]]
The quest for knowledge and amusement often leads individuals down unexpected paths, as evidenced by the fusion of historical curiosity and numerical contemplation in the form of Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. In "Smith et al.," the authors find a foundation for the exploration of seemingly incongruent relationships, setting the stage for our investigation into this unusual correlation. This peculiar juxtaposition of historical intrigue and numerical marvels invites whimsical interpretations, as researchers endeavor to untangle the web of connections that have captivated the curious minds across the digital landscape.
As we delve further into the annals of literature related to our unusual subject matter, "Doe and Jones" present a comprehensive review of unconventional statistical inquiry, laying the groundwork for discoveries that may lurk within the folds of this unexpected correlation. Their contemplation of the potential for unexpected revelations aligns with our own aspirations as we embark on this scientific odyssey.
In considering the unsuspected interplay of digital pursuits and historical curiosity, it is imperative to acknowledge the eclectic sources that contribute to our understanding of this relationship. "The Texas Annexation Chronicles" and "The Enigmatic Explanations of Numberphile" offer insight into relevant historical and numerical phenomena, enriching our comprehension of the diverse influences at play in this peculiar correlation.
Furthermore, the intermingling of literature from fictional realms provides an alternative perspective on the confluence of historical curiosity and numerical contemplation. Works such as "The Numerical Frontier: A Tale of Texas" and "Numberphile: A Historical Odyssey" invoke a sense of whimsy and imaginative exploration that parallel our own academic waltz amidst the unconventional.
However, delving beyond the traditional confines of academic literature, our research team has encountered unexpected sources that have contributed curiously to our understanding of this correlation. In perusing grocery store receipts and decoding the nuances of incomprehensible scribbles, we stumbled upon peculiar patterns that seemed to mimic the enigmatic nature of our research focus - a revelation that evoked a chuckle amidst our academic pursuits. While this unconventional approach may raise eyebrows in scholarly circles, it underscores the capricious and unexpected nature of human inquiry, reminding us of the delightful surprises that may emerge from unorthodox sources.

[[RESULTS]]
The analysis of the data from 2011 to 2023 revealed a remarkably strong positive correlation between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos, with a coefficient of 0.9356577 and an r-squared value of 0.8754553. The p-value being less than 0.01 further underscores the significance of this unexpected relationship.
The robust correlation, visually depicted in the accompanying scatterplot (Fig. 1), showcases the intriguing synchronicity between these divergent variables. As we contemplate this curious association, one cannot help but marvel at the whimsical juxtaposition of historical curiosity and mathematical musings within the digital domain. It seems the enigmatic allure of Texas' annexation has, in some peculiar digital dimension, intertwined with the captivating numerical narratives spun by Numberphile.
The strength of this correlation prompts us to reconsider the quirky ways in which individuals engage with online content. Could it be that amidst the labyrinth of information, there exists a yearning to demystify historical events through the lens of numerical precision? Perhaps, the length of Numberphile videos provides a comforting structure within which the complexity of Texas' historical narrative can be neatly encapsulated.
In closing, our findings invite playful ponderings on the intersection of historical intrigue and numerical fascination. The peculiar correlation between querying the annexation of Texas and the length of Numberphile videos reflects the enticing complexity of online behavior and prompts us to anticipate the unexpected within the digital realm. As we unveil this unusual confluence of variables, we urge fellow scholars to delight in the whimsy that imbues this unconventional correlation, for it is in such intellectual whims that the treasure of scientific curiosity often lies.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study offer a whimsically enlightening exploration into the unexpected correlation between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Our findings underscore the significant relationship between these seemingly disparate variables, revealing a robust positive correlation that defies conventional expectations.

Building upon the quirkily grounded literature review, our research reaffirms and expands upon the foundation laid by "Smith et al." as we untangle the whimsical web of connections between historical curiosity and numerical musings. The strong positive correlation we have uncovered aligns with the unassuming insights presented in prior research, emphasizing the enduring allure of unpredictable associations within the digital landscape.

The peculiar interplay of historical intrigue and numerical fascination alludes to multifaceted interpretations, hinting at the possibility that individuals may be seeking numerically annexed explanations for the complexities of Texas history. The robustness of the correlation, as evidenced by the coefficient of 0.9356577 and p < 0.01, suggests a compelling interweaving of historical inquisitiveness and numerical precision that transcends conventional scholarly expectations.

Furthermore, our findings invite contemplation on the capriciously intertwined nature of digital engagement, prompting delightful musings on the whimsical juxtaposition of historical narratives encapsulated within the comforting structure of Numberphile videos. This fosters a deeper appreciation for the idiosyncratic ways in which individuals navigate the digital landscape, embracing the delightfully unexpected while unwrapping the enigmatic allure of Texas' annexation within a digital dimension.

In elucidating the robust correlation that permeates the digital realm, our research elicits a joyful nod to the whimsical and unpredictable nature of scientific inquiry, urging fellow scholars to delight in the unanticipated within the digital domain. As we ponder the enthralling intersection of historical intrigue and numerical marvels, let us savor the intellectual whimsy that permeates this unconventional correlation, for it is within such scholarly reverie that the whimsical treasure of scientific curiosity often lies.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Google searches for 'how to annex texas' and Average length of Numberphile YouTube videos. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
"Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation"

[[ABSTRACT]]
This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

[[INTRDUCTION]]
The relationship between seemingly unrelated variables has long fascinated researchers across disciplines. In the realm of internet behavior, the fusion of quirky queries and numerical curiosities has ventured into the realm of statistical analysis. Our investigation delves into the enigmatic bond between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. While these entities may appear incongruent at first glance, our study endeavors to untangle the web of connections and juxtapositions that have perplexed and piqued our intellectual curiosity.
The quest to annex Texas, a topic that elicits historical intrigue and perhaps, mild curiosity and maybe even misguided aspirations, has found itself intertwined with the numerical marvels disseminated by the captivating Numberphile YouTube channel. As we embark on our scientific odyssey, it is imperative to acknowledge the potential for unexpected discoveries that may lurk within the folds of this unconventional correlation – an endeavor that aligns with the fundamental tenets of scientific exploration.
This study builds upon the foundation of unconventional statistical inquiry, pushing the boundaries of conventional research ethos to embrace the whimsy and capricious nature of online behavior. As we peer through the lens of data and inquiry, we cannot discount the allure of the unexpected – the possibility that beneath the layers of numerical analysis lies a playful dance of internet sensation and historical exploration. Such duality reminds us of the inherent complexity and the delightful surprises that research endeavors may unveil.
Indeed, the melding of these distinct variables beckons us to ponder the marriage of historical curiosity and numerical contemplation. It also compels us to consider the fascinating possibility that individuals, in their digital pursuits, may be seeking solace in the quantifiable frameworks of Numberphile’s numerical demonstrations, perhaps in a whimsical attempt to demystify the convoluted historical narratives surrounding the annexation of the Lone Star State.
As we venture forth into this captivating interplay of search engine queries and video content duration, we invite our esteemed readers to join us in this academic waltz where precision blends with peculiarity, and numerical musings intertwine with historical inquiry. The results of this inquiry may indeed defy expectation, presenting an intellectual tapestry laced with quirky revelations and statistical revelations – a resonance of such findings, one might say, would be music to the ears of the scientifically inclined.

[[RESULTS]]
The analysis of the data from 2011 to 2023 revealed a remarkably strong positive correlation between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos, with a coefficient of 0.9356577 and an r-squared value of 0.8754553. The p-value being less than 0.01 further underscores the significance of this unexpected relationship.
The robust correlation, visually depicted in the accompanying scatterplot (Fig. 1), showcases the intriguing synchronicity between these divergent variables. As we contemplate this curious association, one cannot help but marvel at the whimsical juxtaposition of historical curiosity and mathematical musings within the digital domain. It seems the enigmatic allure of Texas' annexation has, in some peculiar digital dimension, intertwined with the captivating numerical narratives spun by Numberphile.
The strength of this correlation prompts us to reconsider the quirky ways in which individuals engage with online content. Could it be that amidst the labyrinth of information, there exists a yearning to demystify historical events through the lens of numerical precision? Perhaps, the length of Numberphile videos provides a comforting structure within which the complexity of Texas' historical narrative can be neatly encapsulated.
In closing, our findings invite playful ponderings on the intersection of historical intrigue and numerical fascination. The peculiar correlation between querying the annexation of Texas and the length of Numberphile videos reflects the enticing complexity of online behavior and prompts us to anticipate the unexpected within the digital realm. As we unveil this unusual confluence of variables, we urge fellow scholars to delight in the whimsy that imbues this unconventional correlation, for it is in such intellectual whims that the treasure of scientific curiosity often lies.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation has shed light on the unexpected yet robust correlation between Google searches for "how to annex Texas" and the average duration of Numberphile YouTube videos. The strength of this correlation prompts one to reflect on the curious interplay between historical inquisition and numerical contemplation within the digital ecosystem. One cannot help but marvel at the whimsical dance of inquiries about territorial expansion blending with mathematical marvels.

The implications of this correlation are, indeed, as fascinating as the historical events they reflect. This correlation invites us to consider the possibility of individuals seeking comfort in the quantifiable worlds of Numberphile as they navigate the labyrinthine complexities of Texas' historical narrative. It is almost as if viewers are attempting to annex numerical explanations to historically charged events, guided by the precise yet whimsical explanations proffered by the Numberphile channel.

We are left to ponder the duality and incongruence of these seemingly unrelated variables, as well as the enticing possibility that within the digital realm, unexpected discoveries may await those who dare to explore the unconventional. This beguiling correlation infuses the scientific inquiry with a hint of mirth and a dash of whimsy, underscoring the delightful surprises that can emerge from the intertwining of disparate subjects.

As with any scientific odyssey, our findings open the door to a treasure trove of questions and quirky revelations, reminding us that even the most peculiar correlations can offer insight into the enigmatic world of online behavior. It is for this reason that we assert no further research is required in this area - for in the delightful marriage of historical intrigue and numerical fascination, we have unearthed a treasure trove of whimsical musings that enrich the scientific discourse.


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 Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Quirky Quantitative Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Quirky Research and Analysis


Model: gpt-3.5-turbo-1106
System prompt: You provide potential search keywords separated by commas. You say nothing else, and you do not chat with the user.
User prompt: Please provide potential search keywords for a paper titled Searching for Lone Star State Secrets: The Texas Annexation Googling and Numberphile Video Length Correlation with an abstract of This study examines the relationship between Google searches for "how to annex Texas" and the average length of Numberphile YouTube videos. Utilizing data from Google Trends and YouTube, our research team employed statistical analysis to investigate this peculiar association. Remarkably, our findings reveal a strong positive correlation with a coefficient of 0.9356577 and p < 0.01, indicating a significant relationship from 2011 to 2023. Additionally, this research invites whimsical interpretations, perhaps suggesting that individuals are seeking numerically annexed explanations for the complexities of Texas history.

ChatGPT:

Texas annexation, Google searches, YouTube video length, correlation study, statistical analysis, Google Trends data, YouTube data, correlation coefficient, Texas history, Numberphile videos, annexation, Texas complexity, historical studies

*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

Google searches for 'how to annex texas'
Detailed data title: Relative volume of Google searches for 'how to annex texas' (Worldwide, without quotes)
Source: Google Trends
Additional Info: Relative search volume (not absolute numbers)

See what else correlates with Google searches for 'how to annex texas'

Average length of Numberphile YouTube videos
Detailed data title: Average length of Numberphile YouTube videos.
Source: YouTube
See what else correlates with Average length of Numberphile YouTube videos

Correlation r = 0.9356577 (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.8754553 (Coefficient of determination)
This means 87.5% of the change in the one variable (i.e., Average length of Numberphile YouTube videos) is predictable based on the change in the other (i.e., Google searches for 'how to annex texas') over the 13 years from 2011 through 2023.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.6E-6. 0.0000026297301606852590000000
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.94 in 0.00026% of random cases. Said differently, if you correlated 380,267 random variables You don't actually need 380 thousand variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 12 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 12 because we have two variables measured over a period of 13 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.79, 0.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

This one is a bit more complciated than the other calculations, but I include it because many people have been pushing for confidence intervals instead of p-value calculations (for example: NEJM. However, if you are dredging data, you can reliably find yourself in the 5%. That's my goal!


All values for the years included above: If I were being very sneaky, I could trim years from the beginning or end of the datasets to increase the correlation on some pairs of variables. I don't do that because there are already plenty of correlations in my database without monkeying with the years.

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2011201220132014201520162017201820192020202120222023
Google searches for 'how to annex texas' (Rel. search volume)4.756.083339.258.666679.583338.5910.59.6666711.58331114.666715.3333
Average length of Numberphile YouTube videos (Length in seconds)255.556402.663543.436537.086536.068544.765566.362680.51788.5834.6716.61834.6831113.76




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([4.75,6.08333,9.25,8.66667,9.58333,8.5,9,10.5,9.66667,11.5833,11,14.6667,15.3333,])
array_2 = np.array([255.556,402.663,543.436,537.086,536.068,544.765,566.362,680.51,788.5,834.6,716.61,834.683,1113.76,])
array_1_name = "Google searches for 'how to annex texas'"
array_2_name = "Average length of Numberphile YouTube videos"

# 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 skills are top-notch!


Correlation ID: 5162 · Black Variable ID: 1477 · Red Variable ID: 25474
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0