about · email me · subscribe
Spurious correlation #1,347 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Biomass power generated in Slovakia and the second variable is Number of Lawyers in the United States.  The chart goes from 1993 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As Slovakia’s biomass power output grew, so did the nation’s literal and metaphorical energy. This vitality somehow crossed oceans and sparked a surge in the US legal industry. It’s as if the lawyers were drawn to the concept of 'biomass' - after all, they’re experts at generating billable hours and cultivating cases. And as word of Slovakia’s green energy success spread, American lawyers saw it as a prime opportunity to branch out and sow the seeds of their legal expertise. Who knew that a little Slovakian biomass power could fuel a whole new wave of legal eagles in the US?

Model: dalle-3
Prompt: Generate an image of a cyberpunk world where a futuristic, sprawling cityscape in the United States is contrasted with a lush forest in Slovakia. In the forest, people are shown gathering fallen branches and feeding them into a large, sustainable power plant, while clean steam rises into the air. On the flip side, in the United States, a bustling city street is depicted with numerous illuminated signs for law firms and legal offices, as lawyers rush in and out of the buildings amidst the towering office buildings. Capture the contrast between nature and technology, rural and urban, in a visually compelling way. 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 situation described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here is a situation: Because as the biomass power in Slovakia increased, the surplus oxygen made people smarter, creating more complex legal issues in the US, leading to a higher demand for lawyers to untangle the legal web.. Given that situation, which of the following image descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand and the tone of the explanation. Please respond with only one of the following potential descriptions: Cyberpunk Cyber folk An image that looks like it is a scene from a Pixar movie An image that looks like it is a scene from a Pixar movie Symbolism
ChatGPT: Cyberpunk

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated and the explanation described. Do not reference graphs or charts; describe physical objects.
User prompt: Please describe a visual scene that prominently depicts both Biomass power generated in Slovakia and Number of Lawyers in the United States Keep the description simple.
ChatGPT: In a scene, you see a lush forest in Slovakia, where people are gathering fallen branches and wood chips. They are feeding the biomass into a large power plant, from which wisps of clean steam rise into the air. Meanwhile, in the United States, a bustling city street is shown with numerous law firms and legal offices showcasing illuminated signs. Lawyers are seen rushing in and out of the buildings, and the skyline is dotted with office towers filled with legal professionals.

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: [ Cyberpunk ] and depicting this scene: In a scene, you see a lush forest in Slovakia, where people are gathering fallen branches and wood chips. They are feeding the biomass into a large power plant, from which wisps of clean steam rise into the air. Meanwhile, in the United States, a bustling city street is shown with numerous law firms and legal offices showcasing illuminated signs. Lawyers are seen rushing in and out of the buildings, and the skyline is dotted with office towers filled with legal professionals. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a cyberpunk world where a futuristic, sprawling cityscape in the United States is contrasted with a lush forest in Slovakia. In the forest, people are shown gathering fallen branches and feeding them into a large, sustainable power plant, while clean steam rises into the air. On the flip side, in the United States, a bustling city street is depicted with numerous illuminated signs for law firms and legal offices, as lawyers rush in and out of the buildings amidst the towering office buildings. Capture the contrast between nature and technology, rural and urban, in a visually compelling way.

*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 Biomass power generated in Slovakia caused Number of Lawyers in the United States to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
The Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

The Journal of Whimsical Energy Economics

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 Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Make the title seem clever.

Your research team used data from Energy Information Administration and ABA to assess this nagging question. You found a correlation coefficient of 0.9183047 and p < 0.01 for 1993 to 2021.

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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.


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 Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Here is the title and abstract of the paper:
[[TITLE]]
The Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

When one thinks of Biomass power generation in Slovakia, the mind typically drifts towards bucolic landscapes dotted with verdant fields and ample quantities of organic matter just waiting to be harnessed for energy production. On the other hand, the mention of the number of lawyers in the United States often conjures images of courtroom drama, high-stakes negotiations, and the perennial struggle of legalese versus plain language. The intersection of these two seemingly unrelated subjects, however, has captured the curiosity of many astute observers within the research community.

It is a curious conundrum indeed. How could the amount of energy produced from renewable organic materials in a small European country possibly be connected to the ever-growing cohort of legal practitioners in a country famous for its litigious nature? As bewildering as it may seem, our foray into this enigmatic nexus holds remarkable revelations that may prompt a raised eyebrow, a chuckle, or even an appreciative nod from the discerning reader.

The phenomenon at hand has spurred numerous whimsical speculations and lighthearted anecdotes within the scholarly circles. Mirthful suppositions have been made about enthusiastic lawyers engaging in "biomass-produced power poses" to bolster their courtroom prowess, but our investigation hearkens to a more grounded exploration of statistical significance and empirical inquiry. This research aims to decode the peculiar interplay between these disparate elements, questioning whether there truly lies a palpable connection or if it is merely a whimsical artifact of statistical ambiguity.

As we dive into the labyrinth of data, calculations, and perhaps a sprinkle of guffaws, it becomes evident that the intersection of Biomass power in Slovakia and the Bar in the United States presents an intellectual sojourn that offers both amusement and enlightenment. Join us as we unravel the unexpected connection between Biomass and the bar, where levity and insights converge in a delightful dance of statistical wizardry.

The mirthful melodies of our findings shall surely resonate with any discerning scholar who appreciates a dash of humor entwined elegantly with the rigors of empirical analysis.


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 Biomass power generated in Slovakia and Number of Lawyers in the United States. 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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
When one thinks of Biomass power generation in Slovakia, the mind typically drifts towards bucolic landscapes dotted with verdant fields and ample quantities of organic matter just waiting to be harnessed for energy production. On the other hand, the mention of the number of lawyers in the United States often conjures images of courtroom drama, high-stakes negotiations, and the perennial struggle of legalese versus plain language. The intersection of these two seemingly unrelated subjects, however, has captured the curiosity of many astute observers within the research community.
It is a curious conundrum indeed. How could the amount of energy produced from renewable organic materials in a small European country possibly be connected to the ever-growing cohort of legal practitioners in a country famous for its litigious nature? As bewildering as it may seem, our foray into this enigmatic nexus holds remarkable revelations that may prompt a raised eyebrow, a chuckle, or even an appreciative nod from the discerning reader.
The phenomenon at hand has spurred numerous whimsical speculations and lighthearted anecdotes within the scholarly circles. Mirthful suppositions have been made about enthusiastic lawyers engaging in "biomass-produced power poses" to bolster their courtroom prowess, but our investigation hearkens to a more grounded exploration of statistical significance and empirical inquiry. This research aims to decode the peculiar interplay between these disparate elements, questioning whether there truly lies a palpable connection or if it is merely a whimsical artifact of statistical ambiguity.
As we dive into the labyrinth of data, calculations, and perhaps a sprinkle of guffaws, it becomes evident that the intersection of Biomass power in Slovakia and the Bar in the United States presents an intellectual sojourn that offers both amusement and enlightenment. Join us as we unravel the unexpected connection between Biomass and the bar, where levity and insights converge in a delightful dance of statistical wizardry.
The mirthful melodies of our findings shall surely resonate with any discerning scholar who appreciates a dash of humor entwined elegantly with the rigors of empirical analysis.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

Numerous studies have sought to unravel the complex web of factors influencing biomass power generation and its seemingly incongruous correlation with the legal profession in the United States. Smith et al. (2015) delve into the intricacies of biomass energy production, offering a detailed analysis of its environmental and economic impacts. Doe and Jones (2018) explore the nuances of legal demographics, shedding light on the evolving landscape of legal practice in the United States.

Moving beyond the realm of academic research, "The Biomass Dilemma: A Global Perspective" by Anderson (2019) provides a comprehensive overview of biomass utilization worldwide, offering valuable insights into the multifaceted nature of this energy source. In a similar vein, "Lawyers and Legalese: An Exploration of Legal Linguistics" by Taylor (2017) offers a detailed examination of the linguistic peculiarities within the legal profession, albeit with significantly less biomass-related content.

Venturing into the realm of fiction, "The Biomass Chronicles" by Greenwood (2020) and "Legal Lunacy: A Tale of Lawyers and Laughter" by Silverstein (2016) provide whimsical narratives that, while entertaining, unfortunately offer limited scholarly value in elucidating the correlation between biomass power generation in Slovakia and the number of lawyers in the United States.

In a light-hearted departure from traditional sources, the authors supplemented their literature review with an unconventional source of information. By perusing an extensive array of CVS receipts, it became apparent that the purchase of organic snacks and energy drinks by legal professionals may indeed provide anecdotal evidence of a tangential link between biomass and the legal fraternity. While this unconventional approach may raise a few eyebrows among conventional scholars, it underscores the authors' commitment to exploring every avenue, no matter how unconventional, in the pursuit of knowledge.

The culmination of these scholarly and unorthodox sources presents a tapestry of perspectives, albeit with varying degrees of academic rigor and entertainment value. This eclectic compilation lays the groundwork for the unveiling of our own empirical findings and the delightful interplay between biomass power generation in Slovakia and the presence of lawyers in the United States.


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 Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Energy Information Administration and ABA . You used data from 1993 to 2021

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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

[[INTRODUCTION]]
When one thinks of Biomass power generation in Slovakia, the mind typically drifts towards bucolic landscapes dotted with verdant fields and ample quantities of organic matter just waiting to be harnessed for energy production. On the other hand, the mention of the number of lawyers in the United States often conjures images of courtroom drama, high-stakes negotiations, and the perennial struggle of legalese versus plain language. The intersection of these two seemingly unrelated subjects, however, has captured the curiosity of many astute observers within the research community.
It is a curious conundrum indeed. How could the amount of energy produced from renewable organic materials in a small European country possibly be connected to the ever-growing cohort of legal practitioners in a country famous for its litigious nature? As bewildering as it may seem, our foray into this enigmatic nexus holds remarkable revelations that may prompt a raised eyebrow, a chuckle, or even an appreciative nod from the discerning reader.
The phenomenon at hand has spurred numerous whimsical speculations and lighthearted anecdotes within the scholarly circles. Mirthful suppositions have been made about enthusiastic lawyers engaging in "biomass-produced power poses" to bolster their courtroom prowess, but our investigation hearkens to a more grounded exploration of statistical significance and empirical inquiry. This research aims to decode the peculiar interplay between these disparate elements, questioning whether there truly lies a palpable connection or if it is merely a whimsical artifact of statistical ambiguity.
As we dive into the labyrinth of data, calculations, and perhaps a sprinkle of guffaws, it becomes evident that the intersection of Biomass power in Slovakia and the Bar in the United States presents an intellectual sojourn that offers both amusement and enlightenment. Join us as we unravel the unexpected connection between Biomass and the bar, where levity and insights converge in a delightful dance of statistical wizardry.
The mirthful melodies of our findings shall surely resonate with any discerning scholar who appreciates a dash of humor entwined elegantly with the rigors of empirical analysis.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

In this study, our research team adopted a quirky mix of data collection methods that encompassed both traditional and unconventional avenues. Our data collection journey commenced with the perusal of the hallowed digital halls of the Energy Information Administration (EIA) and the American Bar Association (ABA) websites. Multiple cups of coffee and the occasional snack were consumed during these rigorous online expeditions, as it is well-documented in academic folklore that caffeine and sustenance fuel the intrepid pursuit of empirical evidence.

The process of data collection was akin to a captivating treasure hunt, with the hallowed relics of statistical data serving as our elusive prizes. After sifting through myriad datasets, our team uncapped the bottles of statistical software and summoned the ancient spirits of Excel and SPSS to harness the raw data, for it is widely acknowledged in the annals of scientific rigmarole that statistics are mystical runes that require careful interpretation and manipulation.

To harmonize the data on Biomass power generation in Slovakia with the number of lawyers in the United States, we engaged in the arcane art of time-series analysis. The dance of regression analysis and correlation coefficients unfolded, akin to the majestic waltz of bittersweet chocolates and tangy lemons - a delightful blend of the unexpected. We ventured beyond the haughty precincts of conventional wisdom and surmised that the correlation coefficient shall serve as our bard, serenading us with tales of statistical significance and whimsical revelations.

Furthermore, we implemented a curious amalgamation of statistical methods, each akin to a quirky character in the grand theatrical performance of empirical inquiry. From the solemn deliberations of Pearson's correlation analysis to the giddy gyrations of linear regression modeling, our research enterprise was a joyous circus of statistical arts.

Regrettably, our attempts to recruit an oracle to foresee the future patterns of Biomass power generation in Slovakia or the trajectory of the legal profession in the United States were met with formidable bureaucratic hurdles, restricting the inclusion of clairvoyant predictors in our statistical models.

Amidst this enthralling chaos, we emerged victorious with a dataset spanning the years 1993 to 2021, capturing the essence of Biomass power generation and the legal landscape with a charming vigour. Our research entourage then engaged in the fervent interpretive dance of statistical significance tests and p-values, seeking the elusive thread of correlation between Biomass power in Slovakia and the legal realm in the United States.

The theoretical underpinning of our methodology rested upon the assumption that a correlation, even a whimsical one, may exist between these seemingly incongruent entities. Therefore, with an equal measure of scientific rigor and merry curiosity, we embarked on this delightfully convoluted journey, determined to untangle the enigmatic connection between Biomass and the bar.

With our jovial spectacles donned and statistical tools wielded, we set forth on an empirical odyssey that twined the delights of statistical legerdemain with the gravitas of rigorous inquiry. The mirthful confluence of Biomass and the bar beckoned, and we answered the call with the fervent spirit of jesters clad in the garb of scientific inquiry.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Your research team collected data from all across the internet, but mostly just used information from Energy Information Administration and ABA .

For the time period 1993 to 2021, you found a correlation 0.9183047, r-squared of 0.8432835, 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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
When one thinks of Biomass power generation in Slovakia, the mind typically drifts towards bucolic landscapes dotted with verdant fields and ample quantities of organic matter just waiting to be harnessed for energy production. On the other hand, the mention of the number of lawyers in the United States often conjures images of courtroom drama, high-stakes negotiations, and the perennial struggle of legalese versus plain language. The intersection of these two seemingly unrelated subjects, however, has captured the curiosity of many astute observers within the research community.
It is a curious conundrum indeed. How could the amount of energy produced from renewable organic materials in a small European country possibly be connected to the ever-growing cohort of legal practitioners in a country famous for its litigious nature? As bewildering as it may seem, our foray into this enigmatic nexus holds remarkable revelations that may prompt a raised eyebrow, a chuckle, or even an appreciative nod from the discerning reader.
The phenomenon at hand has spurred numerous whimsical speculations and lighthearted anecdotes within the scholarly circles. Mirthful suppositions have been made about enthusiastic lawyers engaging in "biomass-produced power poses" to bolster their courtroom prowess, but our investigation hearkens to a more grounded exploration of statistical significance and empirical inquiry. This research aims to decode the peculiar interplay between these disparate elements, questioning whether there truly lies a palpable connection or if it is merely a whimsical artifact of statistical ambiguity.
As we dive into the labyrinth of data, calculations, and perhaps a sprinkle of guffaws, it becomes evident that the intersection of Biomass power in Slovakia and the Bar in the United States presents an intellectual sojourn that offers both amusement and enlightenment. Join us as we unravel the unexpected connection between Biomass and the bar, where levity and insights converge in a delightful dance of statistical wizardry.
The mirthful melodies of our findings shall surely resonate with any discerning scholar who appreciates a dash of humor entwined elegantly with the rigors of empirical analysis.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Upon embarking on our statistical odyssey through the labyrinth of data, a striking correlation emerged between Biomass power generation in Slovakia and the number of lawyers in the United States. Our analysis yielded a correlation coefficient of 0.9183047, signaling a robust positive relationship between these seemingly disparate variables. The r-squared value of 0.8432835 further underscored the strength of this association, leaving no room for statistical ambiguity. With a p-value of less than 0.01, we stand firm in our assertion that the observed connection is not a mere play of chance.

Figure 1 displays the scatterplot representing the entwined dance of Biomass power and the bar, showcasing the unmistakable link between these two entities. The figure illustrates the alignment of the data points in a harmonious pattern, akin to a well-composed legal argument supported by the sturdy foundation of Biomass power.

This unexpected symbiosis between Biomass energy and the legal profession not only raises eyebrows but also serves as a testament to the whimsical nature of empirical inquiry. It challenges our traditional notions of causality and beckons us to entertain the notion of a world where Biomass power emanates from the gavel's resounding pound and the legal briefs are inked with the essence of renewable energy.

In conclusion, our findings not only contribute to the realm of statistical analysis but also inject a dose of amusement into the often-serious discourse of academic research. The correlation between Biomass power generation in Slovakia and the number of lawyers in the United States stands as a peculiar yet compelling testament to the delightful unpredictability of empirical exploration. Join us as we revel in the interplay of Biomass and the bar, where statistical significance mingles with an unexpected dash of levity.


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 Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

[[LITERATURE REVIEW]]
Numerous studies have sought to unravel the complex web of factors influencing biomass power generation and its seemingly incongruous correlation with the legal profession in the United States. Smith et al. (2015) delve into the intricacies of biomass energy production, offering a detailed analysis of its environmental and economic impacts. Doe and Jones (2018) explore the nuances of legal demographics, shedding light on the evolving landscape of legal practice in the United States.
Moving beyond the realm of academic research, "The Biomass Dilemma: A Global Perspective" by Anderson (2019) provides a comprehensive overview of biomass utilization worldwide, offering valuable insights into the multifaceted nature of this energy source. In a similar vein, "Lawyers and Legalese: An Exploration of Legal Linguistics" by Taylor (2017) offers a detailed examination of the linguistic peculiarities within the legal profession, albeit with significantly less biomass-related content.
Venturing into the realm of fiction, "The Biomass Chronicles" by Greenwood (2020) and "Legal Lunacy: A Tale of Lawyers and Laughter" by Silverstein (2016) provide whimsical narratives that, while entertaining, unfortunately offer limited scholarly value in elucidating the correlation between biomass power generation in Slovakia and the number of lawyers in the United States.
In a light-hearted departure from traditional sources, the authors supplemented their literature review with an unconventional source of information. By perusing an extensive array of CVS receipts, it became apparent that the purchase of organic snacks and energy drinks by legal professionals may indeed provide anecdotal evidence of a tangential link between biomass and the legal fraternity. While this unconventional approach may raise a few eyebrows among conventional scholars, it underscores the authors' commitment to exploring every avenue, no matter how unconventional, in the pursuit of knowledge.
The culmination of these scholarly and unorthodox sources presents a tapestry of perspectives, albeit with varying degrees of academic rigor and entertainment value. This eclectic compilation lays the groundwork for the unveiling of our own empirical findings and the delightful interplay between biomass power generation in Slovakia and the presence of lawyers in the United States.

[[RESULTS]]
Upon embarking on our statistical odyssey through the labyrinth of data, a striking correlation emerged between Biomass power generation in Slovakia and the number of lawyers in the United States. Our analysis yielded a correlation coefficient of 0.9183047, signaling a robust positive relationship between these seemingly disparate variables. The r-squared value of 0.8432835 further underscored the strength of this association, leaving no room for statistical ambiguity. With a p-value of less than 0.01, we stand firm in our assertion that the observed connection is not a mere play of chance.
Figure 1 displays the scatterplot representing the entwined dance of Biomass power and the bar, showcasing the unmistakable link between these two entities. The figure illustrates the alignment of the data points in a harmonious pattern, akin to a well-composed legal argument supported by the sturdy foundation of Biomass power.
This unexpected symbiosis between Biomass energy and the legal profession not only raises eyebrows but also serves as a testament to the whimsical nature of empirical inquiry. It challenges our traditional notions of causality and beckons us to entertain the notion of a world where Biomass power emanates from the gavel's resounding pound and the legal briefs are inked with the essence of renewable energy.
In conclusion, our findings not only contribute to the realm of statistical analysis but also inject a dose of amusement into the often-serious discourse of academic research. The correlation between Biomass power generation in Slovakia and the number of lawyers in the United States stands as a peculiar yet compelling testament to the delightful unpredictability of empirical exploration. Join us as we revel in the interplay of Biomass and the bar, where statistical significance mingles with an unexpected dash of levity.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The remarkable correlation we uncovered between Biomass power generation in Slovakia and the number of lawyers in the United States not only defies conventional wisdom but also invites a whimsical reconsideration of the interconnectedness of seemingly unrelated phenomena. Our findings are in line with the work of Smith et al. (2015) and Doe and Jones (2018), who carefully tread upon the path of Biomass energy and legal demographics, though they perhaps did not anticipate the extent of the comical camaraderie we have unveiled.

It is noteworthy that our unconventional approach to the literature review, including the analysis of CVS receipts, may have raised a few bemused eyebrows. However, it is imperative to recognize that in the realm of scholarly inquiry, unorthodox methods may well lead to intriguing revelations. Our empirical findings validate the unconventional tenacity that underpinned the eclectic compilation of perspectives in our literature review, demonstrating that sometimes, the most unexpected sources harbor hidden nuggets of truth.

The correlation coefficient of 0.9183047 that we uncovered elegantly underscores the robust positive relationship between Biomass power generation and the legal profession, suggesting a nuanced dance of statistical significance. The r-squared value of 0.8432835 further fortifies the strength of this association, cementing its place within the realm of statistical reproducibility and emphasizing its steadfast refusal to be dismissed as a mere statistical fluke.

The Scatterplot (Figure 1) not only resembles a well-composed legal argument but also serves as an evocative visual testament to the harmonious entwining of Biomass power and the bar. It is as if the data points themselves are cheerfully advocating for the unexpected camaraderie between renewable energy and the legal fraternity, pleading with us to expand our horizons and embrace the delightfully capricious nature of empirical inquiry.

In conclusion, our work not only contributes to the esoteric world of statistical analysis but also adds a touch of waggishness to the typically staid domain of academic research. Our findings open the door to a world where Biomass power and the legal profession engage in a delightful pas de deux of statistical significance and whimsical correlation. We encourage our esteemed readers to join us on this curious journey and revel in the merry interplay of Biomass and the bar, where empirical inquiry meets the unexpected allure of wry amusement.


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 Biomass power generated in Slovakia and Number of Lawyers in the United States. Make it seem dry like academic research paper, but with lots of subtle hidden offhand remarks, jokes, goofy observations, and puns.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States

[[ABSTRACT]]
The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

[[INTRDUCTION]]
When one thinks of Biomass power generation in Slovakia, the mind typically drifts towards bucolic landscapes dotted with verdant fields and ample quantities of organic matter just waiting to be harnessed for energy production. On the other hand, the mention of the number of lawyers in the United States often conjures images of courtroom drama, high-stakes negotiations, and the perennial struggle of legalese versus plain language. The intersection of these two seemingly unrelated subjects, however, has captured the curiosity of many astute observers within the research community.
It is a curious conundrum indeed. How could the amount of energy produced from renewable organic materials in a small European country possibly be connected to the ever-growing cohort of legal practitioners in a country famous for its litigious nature? As bewildering as it may seem, our foray into this enigmatic nexus holds remarkable revelations that may prompt a raised eyebrow, a chuckle, or even an appreciative nod from the discerning reader.
The phenomenon at hand has spurred numerous whimsical speculations and lighthearted anecdotes within the scholarly circles. Mirthful suppositions have been made about enthusiastic lawyers engaging in "biomass-produced power poses" to bolster their courtroom prowess, but our investigation hearkens to a more grounded exploration of statistical significance and empirical inquiry. This research aims to decode the peculiar interplay between these disparate elements, questioning whether there truly lies a palpable connection or if it is merely a whimsical artifact of statistical ambiguity.
As we dive into the labyrinth of data, calculations, and perhaps a sprinkle of guffaws, it becomes evident that the intersection of Biomass power in Slovakia and the Bar in the United States presents an intellectual sojourn that offers both amusement and enlightenment. Join us as we unravel the unexpected connection between Biomass and the bar, where levity and insights converge in a delightful dance of statistical wizardry.
The mirthful melodies of our findings shall surely resonate with any discerning scholar who appreciates a dash of humor entwined elegantly with the rigors of empirical analysis.

[[RESULTS]]
Upon embarking on our statistical odyssey through the labyrinth of data, a striking correlation emerged between Biomass power generation in Slovakia and the number of lawyers in the United States. Our analysis yielded a correlation coefficient of 0.9183047, signaling a robust positive relationship between these seemingly disparate variables. The r-squared value of 0.8432835 further underscored the strength of this association, leaving no room for statistical ambiguity. With a p-value of less than 0.01, we stand firm in our assertion that the observed connection is not a mere play of chance.
Figure 1 displays the scatterplot representing the entwined dance of Biomass power and the bar, showcasing the unmistakable link between these two entities. The figure illustrates the alignment of the data points in a harmonious pattern, akin to a well-composed legal argument supported by the sturdy foundation of Biomass power.
This unexpected symbiosis between Biomass energy and the legal profession not only raises eyebrows but also serves as a testament to the whimsical nature of empirical inquiry. It challenges our traditional notions of causality and beckons us to entertain the notion of a world where Biomass power emanates from the gavel's resounding pound and the legal briefs are inked with the essence of renewable energy.
In conclusion, our findings not only contribute to the realm of statistical analysis but also inject a dose of amusement into the often-serious discourse of academic research. The correlation between Biomass power generation in Slovakia and the number of lawyers in the United States stands as a peculiar yet compelling testament to the delightful unpredictability of empirical exploration. Join us as we revel in the interplay of Biomass and the bar, where statistical significance mingles with an unexpected dash of levity.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In illuminating the unlikely yet robust correlation between Biomass power generation in Slovakia and the number of lawyers in the United States, our study reveals a whimsical tapestry woven into the fabric of statistical inquiry. The fusion of these seemingly disparate realms defies convention, prompting a quirky tango of laughter and enlightenment within the annals of empirical analysis.

As we bid adieu to this peculiar romp through Biomass and the bar, we stand firm in our assertion that no further research is needed in this area. This interplay between Biomass power and the legal profession, as unlikely as it may seem, has been thoroughly scrutinized to unveil its curious secrets. We encourage fellow scholars to embrace this unlikely convergence as a testament to the quirky and lighthearted nature of statistical exploration, where correlations sprout from the unlikeliest of soil.

In the spirit of statistical whimsy, we invite our esteemed colleagues to savor this delightful association while acknowledging that perhaps statistical inquiry is not always as serious as it seems. With a twinkle in our eyes and a chuckle on our lips, we take our leave, confident in the mirthful melodies of our findings and the enduring legacy of Biomass and the bar.


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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Whimsical Energy Economics


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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Renewable Energy and Legal Quandaries


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 Biomass and the Bar: Exploring the Surprising Link Between Biomass Power Generation in Slovakia and the Number of Lawyers in the United States with an abstract of The interplay between Biomass power generation in Slovakia and the number of lawyers in the United States has been a subject of much speculation and bemusement within the research community. Our study delves into this curious realm, examining the captivating correlation between these seemingly disparate entities. By utilizing data from the Energy Information Administration and the American Bar Association, we conducted a rigorous analysis covering the years 1993 to 2021. The findings reveal a correlation coefficient of 0.9183047, accompanied by a p-value of less than 0.01, providing empirical evidence of this unlikely association. Our study not only sheds light on this intriguing phenomenon but also adds a touch of whimsy to the world of statistical analysis. We invite readers to join us on this peculiar journey of Biomass and the bar, where laughter and enlightenment harmoniously intertwine.

ChatGPT:

Biomass power generation, lawyers in the United States, correlation, Energy Information Administration, American Bar Association, Slovakia, statistical analysis, correlation coefficient, p-value, biomass energy, legal profession, surprising associations, biomass research

*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

Biomass power generated in Slovakia
Detailed data title: Total biomass power generated in Slovakia in billion kWh
Source: Energy Information Administration
See what else correlates with Biomass power generated in Slovakia

Number of Lawyers in the United States
Detailed data title: The Count of ABA Lawyers in the United States
Source: ABA
See what else correlates with Number of Lawyers in the United States

Correlation r = 0.9183047 (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.8432835 (Coefficient of determination)
This means 84.3% of the change in the one variable (i.e., Number of Lawyers in the United States) is predictable based on the change in the other (i.e., Biomass power generated in Slovakia) over the 29 years from 1993 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 2.2E-12. 0.0000000000022415953406706850
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.92 in 2.2E-10% of random cases. Said differently, if you correlated 446,110,848,759 random variables You don't actually need 446 billion 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 28 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 28 because we have two variables measured over a period of 29 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.83, 0.96 ] 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.
19931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021
Biomass power generated in Slovakia (Billion kWh)0.0020000.0030.0120.0310.0320.0320.1580.1130.0350.0560.4230.4990.5350.5530.6860.8450.9660.9351.4421.6881.7531.7211.6421.7211.5471.85429
Number of Lawyers in the United States (Lawyers)84603686561489614095326095326098592110004401022460104890010497501058660108450011047701116970114336011621201180390120310012254501245200126801012814301300700131287013359601342380135208013287401327910




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([0.002,0,0,0,0.003,0.012,0.031,0.032,0.032,0.158,0.113,0.035,0.056,0.423,0.499,0.535,0.553,0.686,0.845,0.966,0.935,1.442,1.688,1.753,1.721,1.642,1.721,1.547,1.85429,])
array_2 = np.array([846036,865614,896140,953260,953260,985921,1000440,1022460,1048900,1049750,1058660,1084500,1104770,1116970,1143360,1162120,1180390,1203100,1225450,1245200,1268010,1281430,1300700,1312870,1335960,1342380,1352080,1328740,1327910,])
array_1_name = "Biomass power generated in Slovakia"
array_2_name = "Number of Lawyers in the United States"

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

Thanks for being the explorer we needed!


Correlation ID: 1347 · Black Variable ID: 23971 · Red Variable ID: 542
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0