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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is The number of log graders and scalers in Indiana and the second variable is Divorce rates in the United Kingdom.  The chart goes from 2003 to 2012, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the number of log graders and scalers in Indiana decreased, there was a corresponding decrease in the availability of quality logs. This led to a shortage of top-notch wooden furniture in the United Kingdom. With Brits unable to purchase high-grade log furniture, they found themselves unable to argue over the assembly instructions, leading to a decrease in marital disputes and ultimately lower divorce rates. Remember, a smooth log does not necessarily make for a smooth relationship!

Model: dalle-3
Prompt: Generate an image that looks like a scene from a Pixar movie, depicting a small Indiana town with ungraded logs piled up near the local sawmill, amidst couples rekindling their love in the British countryside. The scene should illustrate the unexpected surge in wealth brought by the international log trading frenzy, contrasted with the declining divorce rates in the United Kingdom. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. 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: Whimsical illustration An image that looks like it is a scene from a Pixar movie a Polaroid photo Glitch art An image that looks like it is a scene from A Disney Movie
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 The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom, in the following situation: With fewer log graders and scalers in Indiana, there was a surplus of ungraded logs, which led to a boom in the international log trading market. This unexpected influx of wealth inspired couples in the United Kingdom to rekindle their love and stick together, ultimately leading to a decrease in divorce rates. The raw power of ungraded logs unknowingly saving marriages across the pond!. Keep the description simple.
ChatGPT: In a small Indiana town, fewer log graders and scalers led to an abundance of ungraded logs piled up near the local sawmill. Meanwhile, in the United Kingdom, couples found themselves rekindling their love amidst a beautiful countryside backdrop. The sudden surge in ungraded logs sparked an international log trading frenzy, bringing unexpected wealth to the town. Across the pond, the renewed love story resulted in a decline in divorce rates.

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: In a small Indiana town, fewer log graders and scalers led to an abundance of ungraded logs piled up near the local sawmill. Meanwhile, in the United Kingdom, couples found themselves rekindling their love amidst a beautiful countryside backdrop. The sudden surge in ungraded logs sparked an international log trading frenzy, bringing unexpected wealth to the town. Across the pond, the renewed love story resulted in a decline in divorce rates. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image that looks like a scene from a Pixar movie, depicting a small Indiana town with ungraded logs piled up near the local sawmill, amidst couples rekindling their love in the British countryside. The scene should illustrate the unexpected surge in wealth brought by the international log trading frenzy, contrasted with the declining divorce rates in the United Kingdom.

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

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

Model: gpt-3.5-turbo-1106 (fine-tuned)
System prompt: You provide humorous responses in the form of plausible sounding explanations for correlations. You assume the correlation is causative for the purpose of the explanation even if it is ridiculous. You do not chat with the user, you only reply with the causal connection explanation and nothing else.
User prompt: Please make up a funny explanation for how a decrease in The number of log graders and scalers in Indiana caused Divorce rates in the United Kingdom to decrease.

AI academic paper

(Because p < 0.01)
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

The Journal of Satirical Sociology

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Rhyme words in the title.

Your research team used data from Bureau of Larbor Statistics and DataBlog to assess this nagging question. You found a correlation coefficient of 0.9306974 and p < 0.01 for 2003 to 2012.

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]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of labor market dynamics and marriage statistics has been largely unexplored in the academic literature, despite the potential for insightful connections and revelations. A sober analysis of seemingly disparate realms, such as the number of log graders and scalers in Indiana and divorce rates in the United Kingdom, might appear to yield little correlation or relevance. However, as the old saying goes, "never judge a log by its bark," and it is precisely within these unexpected intersections that we may uncover fascinating insights.

Marriage and labor have long been intertwined, with the concept of "labor" itself being an indispensable ingredient in all successful marriages - a fact to which many spouses can certainly attest. However, in this particular study, we go beyond the metaphorical labor of love and into the realms of literal labor market activity, namely the employment of log graders and scalers. The lumber industry, traditionally known for its steadfastness and resilience, forms the peculiar backdrop against which we explore the ebb and flow of divorce rates across the Atlantic.

The quirky juxtaposition of log-related employment in Indiana and marital strife in the United Kingdom may raise an eyebrow or two, but it also beckons us to consider the myriad connections that underpin the tapestry of social and economic relationships. In this sense, this study represents an unconventional yet potentially revelatory foray into uncovering the whimsical and unexpected associations that often lie concealed beneath the surface of statistical data.

As we embark on this peculiar journey, we liberally employ quantitative methods to uncover the connections between these seemingly mismatched realms. Our investigation promises to not only expand the boundaries of labor market analysis but also to infuse a dash of lightheartedness into the otherwise staid world of academic research. After all, who would have thought that log graders and scalers could secretly hold the key to understanding the fluttering heartbeats and tumultuous tides of modern matrimony?

So, let us don our academic log-rolling attire and delve into the tangled underbrush of labor quantity and divorce futility, as we seek to unravel the enigmatic dance between loggers and lovers. In doing so, we hope to inspire a newfound appreciation for the unexpected connections that lurk within the vast and varied landscape of economic and social phenomena.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. 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]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of labor market dynamics and marriage statistics has been largely unexplored in the academic literature, despite the potential for insightful connections and revelations. A sober analysis of seemingly disparate realms, such as the number of log graders and scalers in Indiana and divorce rates in the United Kingdom, might appear to yield little correlation or relevance. However, as the old saying goes, "never judge a log by its bark," and it is precisely within these unexpected intersections that we may uncover fascinating insights.
Marriage and labor have long been intertwined, with the concept of "labor" itself being an indispensable ingredient in all successful marriages - a fact to which many spouses can certainly attest. However, in this particular study, we go beyond the metaphorical labor of love and into the realms of literal labor market activity, namely the employment of log graders and scalers. The lumber industry, traditionally known for its steadfastness and resilience, forms the peculiar backdrop against which we explore the ebb and flow of divorce rates across the Atlantic.
The quirky juxtaposition of log-related employment in Indiana and marital strife in the United Kingdom may raise an eyebrow or two, but it also beckons us to consider the myriad connections that underpin the tapestry of social and economic relationships. In this sense, this study represents an unconventional yet potentially revelatory foray into uncovering the whimsical and unexpected associations that often lie concealed beneath the surface of statistical data.
As we embark on this peculiar journey, we liberally employ quantitative methods to uncover the connections between these seemingly mismatched realms. Our investigation promises to not only expand the boundaries of labor market analysis but also to infuse a dash of lightheartedness into the otherwise staid world of academic research. After all, who would have thought that log graders and scalers could secretly hold the key to understanding the fluttering heartbeats and tumultuous tides of modern matrimony?
So, let us don our academic log-rolling attire and delve into the tangled underbrush of labor quantity and divorce futility, as we seek to unravel the enigmatic dance between loggers and lovers. In doing so, we hope to inspire a newfound appreciation for the unexpected connections that lurk within the vast and varied landscape of economic and social phenomena.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Investigations into the peculiar link between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom have been scarce, reflecting the surprising nature of this connection. Nonetheless, several studies have delved into related areas, shedding light on the intertwining threads of labor markets and marital dynamics.

In "The Lumber Industry and Its Socioeconomic Impact," Smith et al. present an in-depth analysis of the various labor roles within the lumber industry, including log graders and scalers. While the focus of their study is primarily on employment trends and economic implications, the authors briefly touch upon the broader societal influence of the lumber industry, hinting at the potential for unforeseen connections with marital trends.

Additionally, Doe's work, "Marrying Wood and Work: A Comparative Analysis," provides a cross-country comparison of industries that have historically played a significant role in shaping societal norms. While the primary emphasis is on industrial development and societal values, the work inadvertently highlights the intertwined nature of labor practices and cultural attitudes towards marriage, offering a tantalizing glimpse at the potential hidden correlations.

Jones' seminal piece, "Labor Market Dynamics and Household Relationships," takes a broader approach to the complex interplay between labor market forces and personal relationships. While the focus is not specifically on the lumber industry or divorce rates, the work lays the groundwork for a deeper exploration of the intricate connections between occupational dynamics and familial stability, indirectly foreshadowing the uncharted territory that our study seeks to navigate.

Moving beyond the realm of academic literature, popular non-fiction works such as "The Lumberjack's Dilemma: How Trees Shape Our Lives" and "Sawdust and Heartstrings: A Love Story in the Forest" provide anecdotal insights into the lives of those employed in the lumber industry, albeit without a direct exploration of their impact on global divorce rates.

On a more imaginative note, fictional works such as "Timber Tales: Love Among the Logs" and "A Splintered Romance: Sawmills and Sentiments" draw attention to the romanticized portrayals of lumber-related professions, evoking a sense of whimsy and intrigue that mirrors the unexpected nature of our own investigation.

Additionally, this review has also taken into consideration more unconventional sources, including folklore, local legends, and even the musings on the back of grocery store receipts and the eternal wisdom of bread loaf expiration dates - all in an admirable yet ultimately fruitless attempt to glean insights into the enigmatic connection between log labor and marital disparities.

In light of this, our study seeks to not only build upon existing scholarly work but also to inject a sense of playfulness and imaginative exploration into the otherwise solemn domain of academic inquiry. For in the convoluted tapestry of academia, perhaps it is the unlikeliest of connections that holds the key to unlocking the mysteries of labor, love, and loggers.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and DataBlog . You used data from 2003 to 2012

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]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

[[INTRODUCTION]]
The intersection of labor market dynamics and marriage statistics has been largely unexplored in the academic literature, despite the potential for insightful connections and revelations. A sober analysis of seemingly disparate realms, such as the number of log graders and scalers in Indiana and divorce rates in the United Kingdom, might appear to yield little correlation or relevance. However, as the old saying goes, "never judge a log by its bark," and it is precisely within these unexpected intersections that we may uncover fascinating insights.
Marriage and labor have long been intertwined, with the concept of "labor" itself being an indispensable ingredient in all successful marriages - a fact to which many spouses can certainly attest. However, in this particular study, we go beyond the metaphorical labor of love and into the realms of literal labor market activity, namely the employment of log graders and scalers. The lumber industry, traditionally known for its steadfastness and resilience, forms the peculiar backdrop against which we explore the ebb and flow of divorce rates across the Atlantic.
The quirky juxtaposition of log-related employment in Indiana and marital strife in the United Kingdom may raise an eyebrow or two, but it also beckons us to consider the myriad connections that underpin the tapestry of social and economic relationships. In this sense, this study represents an unconventional yet potentially revelatory foray into uncovering the whimsical and unexpected associations that often lie concealed beneath the surface of statistical data.
As we embark on this peculiar journey, we liberally employ quantitative methods to uncover the connections between these seemingly mismatched realms. Our investigation promises to not only expand the boundaries of labor market analysis but also to infuse a dash of lightheartedness into the otherwise staid world of academic research. After all, who would have thought that log graders and scalers could secretly hold the key to understanding the fluttering heartbeats and tumultuous tides of modern matrimony?
So, let us don our academic log-rolling attire and delve into the tangled underbrush of labor quantity and divorce futility, as we seek to unravel the enigmatic dance between loggers and lovers. In doing so, we hope to inspire a newfound appreciation for the unexpected connections that lurk within the vast and varied landscape of economic and social phenomena.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the enigmatic entanglement of log labor quantities and divorce rates, we constructed a methodological framework that balanced rigorous statistical analysis with a touch of whimsy. The data at our disposal, primarily sourced from the Bureau of Labor Statistics and DataBlog, spanned the years 2003 to 2012, providing a robust foundation for our exploration.

We commenced our analysis by quantifying the number of log graders and scalers in Indiana, recognizing the pivotal role these arborous arbiters play within the lumber industry. Utilizing complex algorithms and statistical models, we meticulously charted the trajectory of log-related labor in the Hoosier state, fervently striving to capture the essence of this seemingly niche employment sector.

Delving into the ethereal realm of divorce rates in the United Kingdom, we assimilated a myriad of marital data points to unravel the intricate dance of matrimonial dissonance. Through the deft manipulation of mathematical formulae and computational sorcery, we sought to distill the tumultuous tides of marital separation into discernible patterns.

Furthermore, in a peculiar twist, we undertook a holistic analysis of societal gnashing – a term we coined to represent the collective lamentation arising from divorce futility – by integrating qualitative observations from social media platforms and news archives. This unorthodox approach, akin to traversing through forests of emotional entwined roots, was employed to capture the often-unseen reverberations of marital discord and log labor psychosocial interactions.

The intertwining of labor market analytics and marriage statistics necessitated a multi-faceted rigamarole of statistical procedures, including but not limited to linear regression, correlation analysis, and time series modeling. These convoluted machinations were administered with a sense of propriety and scholarly decorum, ensuring the integrity and validity of our findings.

In the spirit of scholarly camaraderie, it is essential to acknowledge the idiosyncrasies and singularities of this research endeavor. The amalgamation of log graders and scalers with divorce rates in the United Kingdom presents an intriguing landscape where the mundane and the whimsical collide, sparking a veritable firestorm of scholarly inquisitiveness.

In sum, our methodological approach sought to blend the solemnity of empirical inquiry with a sprinkle of whimsy, as we endeavored to unravel the enigmatic riddle of the Grader-Spouse Crusade and illuminate the interwoven fabric of log labor quantities and divorce futility.


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

Please make up the results section of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from Bureau of Larbor Statistics and DataBlog .

For the time period 2003 to 2012, you found a correlation 0.9306974, r-squared of 0.8661976, 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]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of labor market dynamics and marriage statistics has been largely unexplored in the academic literature, despite the potential for insightful connections and revelations. A sober analysis of seemingly disparate realms, such as the number of log graders and scalers in Indiana and divorce rates in the United Kingdom, might appear to yield little correlation or relevance. However, as the old saying goes, "never judge a log by its bark," and it is precisely within these unexpected intersections that we may uncover fascinating insights.
Marriage and labor have long been intertwined, with the concept of "labor" itself being an indispensable ingredient in all successful marriages - a fact to which many spouses can certainly attest. However, in this particular study, we go beyond the metaphorical labor of love and into the realms of literal labor market activity, namely the employment of log graders and scalers. The lumber industry, traditionally known for its steadfastness and resilience, forms the peculiar backdrop against which we explore the ebb and flow of divorce rates across the Atlantic.
The quirky juxtaposition of log-related employment in Indiana and marital strife in the United Kingdom may raise an eyebrow or two, but it also beckons us to consider the myriad connections that underpin the tapestry of social and economic relationships. In this sense, this study represents an unconventional yet potentially revelatory foray into uncovering the whimsical and unexpected associations that often lie concealed beneath the surface of statistical data.
As we embark on this peculiar journey, we liberally employ quantitative methods to uncover the connections between these seemingly mismatched realms. Our investigation promises to not only expand the boundaries of labor market analysis but also to infuse a dash of lightheartedness into the otherwise staid world of academic research. After all, who would have thought that log graders and scalers could secretly hold the key to understanding the fluttering heartbeats and tumultuous tides of modern matrimony?
So, let us don our academic log-rolling attire and delve into the tangled underbrush of labor quantity and divorce futility, as we seek to unravel the enigmatic dance between loggers and lovers. In doing so, we hope to inspire a newfound appreciation for the unexpected connections that lurk within the vast and varied landscape of economic and social phenomena.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The statistical analysis of our data set yielded a remarkable correlation coefficient of 0.9306974 between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom for the period from 2003 to 2012. This high correlation coefficient indicates a strong positive association between these seemingly unrelated variables. The r-squared value of 0.8661976 further underscores the robustness of this relationship, explaining approximately 87% of the variance in divorce rates based on the quantity of log graders and scalers.

Upon whittling down the numbers and chiseling away at the data, our findings unveiled a relationship that is perhaps as solid as oak. The p-value of less than 0.01 provides compelling evidence to reject the null hypothesis and accept the alternative hypothesis that there is indeed a significant link between log-related labor activity in Indiana and the divorce dynamics across the Atlantic.

Fig. 1 presents a vivid visualization of the correlation between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom. The scatterplot unveils a striking alignment of data points, reminiscent of the meticulous arrangements of timber in a well-organized lumberyard.

These results, akin to a well-constructed log cabin, serve as a solid foundation for further exploration of the hitherto uncharted territories at the nexus of labor market forces and amorous dispositions. The unexpected coherence between log-related employment and divorce rates invites contemplation on the intricate and often enigmatic dances of economic and social phenomena, urging us to look beyond the surface and embrace the comical and unexpected associations that lie within the sprawling landscapes of data and analysis.

In elucidating the high-rate rhyme between log labor quantity and divorce futility, these findings not only add a touch of whimsy to the realm of academic inquiry but also hint at the tantalizing prospect of uncovering serendipitous connections in the most unexpected of places.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

[[LITERATURE REVIEW]]
Investigations into the peculiar link between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom have been scarce, reflecting the surprising nature of this connection. Nonetheless, several studies have delved into related areas, shedding light on the intertwining threads of labor markets and marital dynamics.
In "The Lumber Industry and Its Socioeconomic Impact," Smith et al. present an in-depth analysis of the various labor roles within the lumber industry, including log graders and scalers. While the focus of their study is primarily on employment trends and economic implications, the authors briefly touch upon the broader societal influence of the lumber industry, hinting at the potential for unforeseen connections with marital trends.
Additionally, Doe's work, "Marrying Wood and Work: A Comparative Analysis," provides a cross-country comparison of industries that have historically played a significant role in shaping societal norms. While the primary emphasis is on industrial development and societal values, the work inadvertently highlights the intertwined nature of labor practices and cultural attitudes towards marriage, offering a tantalizing glimpse at the potential hidden correlations.
Jones' seminal piece, "Labor Market Dynamics and Household Relationships," takes a broader approach to the complex interplay between labor market forces and personal relationships. While the focus is not specifically on the lumber industry or divorce rates, the work lays the groundwork for a deeper exploration of the intricate connections between occupational dynamics and familial stability, indirectly foreshadowing the uncharted territory that our study seeks to navigate.
Moving beyond the realm of academic literature, popular non-fiction works such as "The Lumberjack's Dilemma: How Trees Shape Our Lives" and "Sawdust and Heartstrings: A Love Story in the Forest" provide anecdotal insights into the lives of those employed in the lumber industry, albeit without a direct exploration of their impact on global divorce rates.
On a more imaginative note, fictional works such as "Timber Tales: Love Among the Logs" and "A Splintered Romance: Sawmills and Sentiments" draw attention to the romanticized portrayals of lumber-related professions, evoking a sense of whimsy and intrigue that mirrors the unexpected nature of our own investigation.
Additionally, this review has also taken into consideration more unconventional sources, including folklore, local legends, and even the musings on the back of grocery store receipts and the eternal wisdom of bread loaf expiration dates - all in an admirable yet ultimately fruitless attempt to glean insights into the enigmatic connection between log labor and marital disparities.
In light of this, our study seeks to not only build upon existing scholarly work but also to inject a sense of playfulness and imaginative exploration into the otherwise solemn domain of academic inquiry. For in the convoluted tapestry of academia, perhaps it is the unlikeliest of connections that holds the key to unlocking the mysteries of labor, love, and loggers.

[[RESULTS]]
The statistical analysis of our data set yielded a remarkable correlation coefficient of 0.9306974 between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom for the period from 2003 to 2012. This high correlation coefficient indicates a strong positive association between these seemingly unrelated variables. The r-squared value of 0.8661976 further underscores the robustness of this relationship, explaining approximately 87% of the variance in divorce rates based on the quantity of log graders and scalers.
Upon whittling down the numbers and chiseling away at the data, our findings unveiled a relationship that is perhaps as solid as oak. The p-value of less than 0.01 provides compelling evidence to reject the null hypothesis and accept the alternative hypothesis that there is indeed a significant link between log-related labor activity in Indiana and the divorce dynamics across the Atlantic.
Fig. 1 presents a vivid visualization of the correlation between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom. The scatterplot unveils a striking alignment of data points, reminiscent of the meticulous arrangements of timber in a well-organized lumberyard.
These results, akin to a well-constructed log cabin, serve as a solid foundation for further exploration of the hitherto uncharted territories at the nexus of labor market forces and amorous dispositions. The unexpected coherence between log-related employment and divorce rates invites contemplation on the intricate and often enigmatic dances of economic and social phenomena, urging us to look beyond the surface and embrace the comical and unexpected associations that lie within the sprawling landscapes of data and analysis.
In elucidating the high-rate rhyme between log labor quantity and divorce futility, these findings not only add a touch of whimsy to the realm of academic inquiry but also hint at the tantalizing prospect of uncovering serendipitous connections in the most unexpected of places.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The findings of our study have unearthed an unexpected harmony between the seemingly disparate worlds of log-related labor and divorce rates, reminiscent of a finely orchestrated symphony playing out across continents. Our results not only echo but, dare I say, tangibly validate the whimsical musings and unconventional sources that we humorously incorporated into our literature review. It appears that the eternally wise bread loaf expiration dates and folklore may hold more wisdom than previously assumed, warranting further exploration of their potential insights into the enigmatic connection between log labor and marital disparities.

The high correlation coefficient of 0.9306974 and the robust r-squared value of 0.8661976 reinforce the notion that there is indeed a strong positive association between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom. This unexpected rapport between log-related labor activity and marital dynamics has exceeded our initial expectations, much like discovering a hidden treasure trove beneath a seemingly ordinary lumberyard.

While our research stemmed from a lighthearted consideration of the potentially unconventional sources of insight, it has led to a fascinating confluence of seemingly unrelated data sets, likening the meticulous arrangements of timber in a well-organized lumberyard to the alignment of our data points in the scatterplot. The unexpected coherence we have unearthed not only adds a touch of whimsy to the realm of academic inquiry but also underscores the unconventional and delightful potential for uncovering serendipitous connections in the most unexpected of places.

In conclusion, our study not only contributes to the body of knowledge on labor market forces and marital dynamics but also invites a reconsideration of the intriguing associations hinted at in unconventional sources. The unassuming interplay between log-related employment and divorce rates serves as a gentle reminder that, in the convoluted tapestry of academia, perhaps it is the unlikeliest of connections that holds the key to unraveling the mysteries of labor, love, and loggers.


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between The number of log graders and scalers in Indiana and Divorce rates in the United Kingdom. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility

[[ABSTRACT]]
The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

[[INTRDUCTION]]
The intersection of labor market dynamics and marriage statistics has been largely unexplored in the academic literature, despite the potential for insightful connections and revelations. A sober analysis of seemingly disparate realms, such as the number of log graders and scalers in Indiana and divorce rates in the United Kingdom, might appear to yield little correlation or relevance. However, as the old saying goes, "never judge a log by its bark," and it is precisely within these unexpected intersections that we may uncover fascinating insights.
Marriage and labor have long been intertwined, with the concept of "labor" itself being an indispensable ingredient in all successful marriages - a fact to which many spouses can certainly attest. However, in this particular study, we go beyond the metaphorical labor of love and into the realms of literal labor market activity, namely the employment of log graders and scalers. The lumber industry, traditionally known for its steadfastness and resilience, forms the peculiar backdrop against which we explore the ebb and flow of divorce rates across the Atlantic.
The quirky juxtaposition of log-related employment in Indiana and marital strife in the United Kingdom may raise an eyebrow or two, but it also beckons us to consider the myriad connections that underpin the tapestry of social and economic relationships. In this sense, this study represents an unconventional yet potentially revelatory foray into uncovering the whimsical and unexpected associations that often lie concealed beneath the surface of statistical data.
As we embark on this peculiar journey, we liberally employ quantitative methods to uncover the connections between these seemingly mismatched realms. Our investigation promises to not only expand the boundaries of labor market analysis but also to infuse a dash of lightheartedness into the otherwise staid world of academic research. After all, who would have thought that log graders and scalers could secretly hold the key to understanding the fluttering heartbeats and tumultuous tides of modern matrimony?
So, let us don our academic log-rolling attire and delve into the tangled underbrush of labor quantity and divorce futility, as we seek to unravel the enigmatic dance between loggers and lovers. In doing so, we hope to inspire a newfound appreciation for the unexpected connections that lurk within the vast and varied landscape of economic and social phenomena.

[[RESULTS]]
The statistical analysis of our data set yielded a remarkable correlation coefficient of 0.9306974 between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom for the period from 2003 to 2012. This high correlation coefficient indicates a strong positive association between these seemingly unrelated variables. The r-squared value of 0.8661976 further underscores the robustness of this relationship, explaining approximately 87% of the variance in divorce rates based on the quantity of log graders and scalers.
Upon whittling down the numbers and chiseling away at the data, our findings unveiled a relationship that is perhaps as solid as oak. The p-value of less than 0.01 provides compelling evidence to reject the null hypothesis and accept the alternative hypothesis that there is indeed a significant link between log-related labor activity in Indiana and the divorce dynamics across the Atlantic.
Fig. 1 presents a vivid visualization of the correlation between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom. The scatterplot unveils a striking alignment of data points, reminiscent of the meticulous arrangements of timber in a well-organized lumberyard.
These results, akin to a well-constructed log cabin, serve as a solid foundation for further exploration of the hitherto uncharted territories at the nexus of labor market forces and amorous dispositions. The unexpected coherence between log-related employment and divorce rates invites contemplation on the intricate and often enigmatic dances of economic and social phenomena, urging us to look beyond the surface and embrace the comical and unexpected associations that lie within the sprawling landscapes of data and analysis.
In elucidating the high-rate rhyme between log labor quantity and divorce futility, these findings not only add a touch of whimsy to the realm of academic inquiry but also hint at the tantalizing prospect of uncovering serendipitous connections in the most unexpected of places.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation has unraveled a captivating correlation between the number of log graders and scalers in Indiana and divorce rates in the United Kingdom. The robust correlation coefficient of 0.9306974 and the compelling significance level below 0.01 provide a solid foundation on which to build a log cabin of academic inquiries. This unsuspected linkage between log-related labor activity and the intricacies of marital dissolution invites us to consider the intertwined nature of labor market forces and interpersonal relationships.

Furthermore, the r-squared value of 0.8661976 speaks to the resilience and durability of this association, much like a well-seasoned timber. The scatterplot visualization, akin to the meticulous organization of timber in a lumberyard, showcases the surprising alignment of data points, urging us to explore the unexpected coherence within seemingly incongruous realms.

It is within the enigmatic dance of economic and social phenomena that we find elements of whimsy and unexpected connections waiting to be uncovered. As we conclude this peculiar journey into the realms of log labor quantity and divorce futility, we are left with a sense of awe at the delightful and surprising associations lying beneath the surface of statistical data.

In light of these findings, we are compelled to acknowledge the allure of unconventional correlations and the potential for lightheartedness within the realm of academic research. Yet, in line with the definitive and resolute nature of our results, we confidently assert that further research in this area is not warranted. Our findings stand as a testament to the unforeseen revelations that may emerge from the most seemingly disparate of domains, leaving us with a newfound appreciation for the whimsical and unexpected connections that lie within the vast and varied landscape of economic and social phenomena.


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 The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Satirical Sociology


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 The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility. Respond only with the name of a fictional organization.

ChatGPT:

The Society for the Advancement of Rhyming Research and Analysis (SARRA)


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 The Grader-Spouse Crusade: The High-Rate Rhyme of Log Labour Quantity and Divorce Futility with an abstract of The conundrum of labor market analytics touches all aspects of society, even delving into the realms of marriage and divorce. In this study, we investigated the tantalizing link between the quantity of log graders and scalers in Indiana and divorce rates in the United Kingdom. Leveraging data from the Bureau of Labor Statistics and DataBlog, we embarked on a rigorous examination of this unexpected overlap. Remarkably, our analysis revealed a startling correlation coefficient of 0.9306974 and a significance level below 0.01 for the time period spanning from 2003 to 2012. The findings of this study shed light on the intricate dance of labor market forces and interpersonal relationships – providing a unique blend of quantitative rigor and whimsical speculation.

ChatGPT:

log graders, scalers, labor market analytics, divorce rates, correlation coefficient, Bureau of Labor Statistics, DataBlog, Indiana, United Kingdom, labor quantity, divorce futility

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

The number of log graders and scalers in Indiana
Detailed data title: BLS estimate of log graders and scalers in Indiana
Source: Bureau of Larbor Statistics
See what else correlates with The number of log graders and scalers in Indiana

Divorce rates in the United Kingdom
Source: DataBlog
See what else correlates with Divorce rates in the United Kingdom

Correlation r = 0.9306974 (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.8661976 (Coefficient of determination)
This means 86.6% of the change in the one variable (i.e., Divorce rates in the United Kingdom) is predictable based on the change in the other (i.e., The number of log graders and scalers in Indiana) over the 10 years from 2003 through 2012.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 9.3E-5. 0.0000927671219928701700000000
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.93 in 0.0093% of random cases. Said differently, if you correlated 10,780 random variables Which I absolutely did.
with the same 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 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.73, 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.
2003200420052006200720082009201020112012
The number of log graders and scalers in Indiana (Log Graders And Scalers)100807040505030404040
Divorce rates in the United Kingdom (Divorces)153065152923141322132140128131121708113949119589117558118140




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([100,80,70,40,50,50,30,40,40,40,])
array_2 = np.array([153065,152923,141322,132140,128131,121708,113949,119589,117558,118140,])
array_1_name = "The number of log graders and scalers in Indiana"
array_2_name = "Divorce rates in the United Kingdom"

# 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: 2315 · Black Variable ID: 7772 · Red Variable ID: 506
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0