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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Number of public school students in 7th grade and the second variable is Number of Lawyers in the United States.  The chart goes from 1990 to 2022, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As the 7th graders learned about the concept of justice, they were so persuasive in their arguments that they inspired a wave of future lawyers. It's like a mini-legal revolution sparked by the idealistic debates over who gets the last slice of pizza in the school cafeteria. In a few years, we might see an influx of attorneys specializing in playground disputes and extra credit negotiations.

Model: dalle-3
Prompt: Generate a vibrant and dynamic scene that encapsulates a contrast between youthful mischief and professional decorum. In the foreground, illustrate the playful 7th graders huddled together, engrossed in their smartphones, exuding a mischievous energy. The background should showcase a line of sharply dressed lawyers, standing in an orderly queue outside the White House, projecting a sense of purpose and readiness. The juxtaposition of these two groups in a bustling school courtyard and the political heart of Washington, D.C., should be evident but without explicit political symbolism. The overall imagery should exude a sense of dynamic tension, depicting the bustling activity around these contrasting settings. 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: Number of public school students in 7th grade and Number of Lawyers in the United States. 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: Sci-fi fantacy An image that looks like it is a scene from A Disney Movie Data cyber art An image that looks like it is a scene from A Disney Movie Sci-fi fantacy
ChatGPT: Data cyber art

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 Number of public school students in 7th grade and Number of Lawyers in the United States, in the following situation: Because the rise in 7th graders led to an upsurge in prank calls to the White House, hence an increase in lawyers needed for dealing with fake emergencies and filing frivolous lawsuits.. Keep the description simple.
ChatGPT: In a bustling school courtyard, a group of 7th graders can be seen laughing and whispering as they use their smartphones to make prank calls. At the same time, a line of lawyers wearing suits and carrying briefcases can be seen queueing up outside the White House, ready to handle the increased number of fake emergencies and possible frivolous lawsuits.

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: [ Data cyber art ] and depicting this scene: In a bustling school courtyard, a group of 7th graders can be seen laughing and whispering as they use their smartphones to make prank calls. At the same time, a line of lawyers wearing suits and carrying briefcases can be seen queueing up outside the White House, ready to handle the increased number of fake emergencies and possible frivolous lawsuits. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate a vibrant and dynamic scene that encapsulates a contrast between youthful mischief and professional decorum. In the foreground, illustrate the playful 7th graders huddled together, engrossed in their smartphones, exuding a mischievous energy. The background should showcase a line of sharply dressed lawyers, standing in an orderly queue outside the White House, projecting a sense of purpose and readiness. The juxtaposition of these two groups in a bustling school courtyard and the political heart of Washington, D.C., should be evident but without explicit political symbolism. The overall imagery should exude a sense of dynamic tension, depicting the bustling activity around these contrasting settings.

*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 Number of public school students in 7th grade caused Number of Lawyers in the United States to increase.

AI academic paper

(Because p < 0.01)
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

Journal of Educational Eccentricities

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 silly 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 Number of public school students in 7th grade 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 National Center for Education Statistics and ABA to assess this nagging question. You found a correlation coefficient of 0.8435096 and p < 0.01 for 1990 to 2022.

Please respond in this format (replace "Lorem ipsum dolor sit" with your title and abstract)

[[TITLE]]
Lorem ipsum dolor sit

[[ABSTRACT]]
Lorem ipsum dolor sit



ChatGPT:
[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intertwining of seemingly disparate facets of society has long been a source of fascination for researchers across various disciplines. The peculiar relationship between the number of public school students in the 7th grade and the number of lawyers in the United States has emerged as an unexpected subject of investigation. While on the surface, these variables may appear to occupy entirely separate spheres, our quest for knowledge has prompted us to delve into the enigmatic connection that permeates the fabric of our society.

As researchers, we are conditioned to seek causality, to unravel the mysteries of correlation, and to carefully navigate the statistical undercurrents that dictate the ebb and flow of societal trends. Yet, amidst the intricacies of charts and regression models, we have often found ourselves pondering the whimsical and the improbable. It is within this spirit of quirkiness and scholarly curiosity that we set out to explore the seemingly improbable nexus between the vigor of 7th graders and the legions of legal practitioners.

The examination of correlations between seemingly unrelated variables often leads one to entertain whimsical conjectures, but it is the presence of statistically significant associations that compels one to forge ahead with rigor and determination. The pursuit of this unexpected bond between youngsters embarking on the cusp of adolescence and the legal wherewithal of the nation has propelled our research team into a realm where the conventional and the farcical converge.

Therefore, as we embark on this scholarly escapade, we urge fellow academics to partake in the mirth and wonder that arises from the unexpected bridging of seemingly incongruous domains. The narratives of association that emerge from our data may elicit laughter, astonishment, and perhaps a raised eyebrow or two. Yet, within the labyrinthine corridors of statistical inference, we aim to extract, not just correlation coefficients and p-values, but the kernels of intellectual amusement that lie beneath the shroud of empirical exploration.

As we unravel the mysterious interplay between seventh-grade camaraderie and the legal hustings, we invite our readers to join us on this journey of scholarly whimsy. For it is within the seemingly absurd that the quirky truths of societal tapestries often reveal themselves, and it is in this spirit that we present our findings and embark on this delightful exploration of statistical serendipity.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Perhaps you also got inspiration from some board games that are vaugely related.

Here is the title and abstract of the paper:
[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intertwining of seemingly disparate facets of society has long been a source of fascination for researchers across various disciplines. The peculiar relationship between the number of public school students in the 7th grade and the number of lawyers in the United States has emerged as an unexpected subject of investigation. While on the surface, these variables may appear to occupy entirely separate spheres, our quest for knowledge has prompted us to delve into the enigmatic connection that permeates the fabric of our society.
As researchers, we are conditioned to seek causality, to unravel the mysteries of correlation, and to carefully navigate the statistical undercurrents that dictate the ebb and flow of societal trends. Yet, amidst the intricacies of charts and regression models, we have often found ourselves pondering the whimsical and the improbable. It is within this spirit of quirkiness and scholarly curiosity that we set out to explore the seemingly improbable nexus between the vigor of 7th graders and the legions of legal practitioners.
The examination of correlations between seemingly unrelated variables often leads one to entertain whimsical conjectures, but it is the presence of statistically significant associations that compels one to forge ahead with rigor and determination. The pursuit of this unexpected bond between youngsters embarking on the cusp of adolescence and the legal wherewithal of the nation has propelled our research team into a realm where the conventional and the farcical converge.
Therefore, as we embark on this scholarly escapade, we urge fellow academics to partake in the mirth and wonder that arises from the unexpected bridging of seemingly incongruous domains. The narratives of association that emerge from our data may elicit laughter, astonishment, and perhaps a raised eyebrow or two. Yet, within the labyrinthine corridors of statistical inference, we aim to extract, not just correlation coefficients and p-values, but the kernels of intellectual amusement that lie beneath the shroud of empirical exploration.
As we unravel the mysterious interplay between seventh-grade camaraderie and the legal hustings, we invite our readers to join us on this journey of scholarly whimsy. For it is within the seemingly absurd that the quirky truths of societal tapestries often reveal themselves, and it is in this spirit that we present our findings and embark on this delightful exploration of statistical serendipity.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The investigation into the curious relationship between the number of public school students in 7th grade and the number of lawyers practicing law in the United States has captivated the scholarly community and led to a myriad of studies exploring this improbable correlation.

In "The Student-Lawyer Nexus," Smith et al. meticulously analyze longitudinal data from the National Center for Education Statistics and the American Bar Association, shedding light on the unexpected bond between youth education and the legal profession. Their findings reveal a significant positive correlation, prompting further inquiry into the potential drivers of this captivating association. However, as we delve deeper into this enigmatic connection, it is imperative to approach the subject matter with academic integrity and a touch of whimsy.

Doe's publication "Legalities of Seventh Grade" delves into the historical context of this association, tracing the evolution of 7th-grade students' impact on the legal landscape over the decades. The work provides a comprehensive overview of the societal and educational factors that contribute to the intricate web of influence linking prepubescent education and the legal milieu.

Jones' comprehensive meta-analysis "Lawyers and 7th Graders: A Statistical Odyssey" amalgamates a wide array of empirical studies, offering a nuanced examination of the potential mechanisms underpinning this perplexing correlation. The author meticulously navigates the labyrinth of statistical inference, challenging conventional wisdom and inviting the scholarly community to embrace the unexpected with a blend of levity and rigor.

While the aforementioned publications offer invaluable insights into the intersection of 7th-grade academia and legal advocacy, it is imperative to recognize the broader cultural influences that shape our understanding of this peculiar relationship. Works such as "To Kill a Mockingbird" by Harper Lee and "The Children Act" by Ian McEwan provide imaginative depictions of legal settings intertwined with the formative experiences of young adolescents, infusing the scholarly discourse with literary intrigue and narrative richness.

Additionally, the classic board game "Battleship" offers a playful allegory for the strategic maneuvers inherent in navigating the uncharted waters of this captivating correlation. Its depiction of naval warfare, akin to the scholarly pursuit of understanding the student-lawyer nexus, invites us to contemplate the whimsical connections that underpin our societal fabric.

As we venture into this enthralling fusion of statistical inquiry and playful contemplation, it becomes evident that the quirky truths of societal tapestries often reveal themselves in the most unexpected intersections. In the subsequent sections, we delve into the implications of these distinctive findings, embracing the delightful exploration of statistical serendipity with scholarly fervor and a sprinkle of lightheartedness.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and ABA . You used data from 1990 to 2022

Make up the research methods you don't know. Make them a bit goofy and convoluted.

Here is the title, abstract, and introduction of the paper:
[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

[[INTRODUCTION]]
The intertwining of seemingly disparate facets of society has long been a source of fascination for researchers across various disciplines. The peculiar relationship between the number of public school students in the 7th grade and the number of lawyers in the United States has emerged as an unexpected subject of investigation. While on the surface, these variables may appear to occupy entirely separate spheres, our quest for knowledge has prompted us to delve into the enigmatic connection that permeates the fabric of our society.
As researchers, we are conditioned to seek causality, to unravel the mysteries of correlation, and to carefully navigate the statistical undercurrents that dictate the ebb and flow of societal trends. Yet, amidst the intricacies of charts and regression models, we have often found ourselves pondering the whimsical and the improbable. It is within this spirit of quirkiness and scholarly curiosity that we set out to explore the seemingly improbable nexus between the vigor of 7th graders and the legions of legal practitioners.
The examination of correlations between seemingly unrelated variables often leads one to entertain whimsical conjectures, but it is the presence of statistically significant associations that compels one to forge ahead with rigor and determination. The pursuit of this unexpected bond between youngsters embarking on the cusp of adolescence and the legal wherewithal of the nation has propelled our research team into a realm where the conventional and the farcical converge.
Therefore, as we embark on this scholarly escapade, we urge fellow academics to partake in the mirth and wonder that arises from the unexpected bridging of seemingly incongruous domains. The narratives of association that emerge from our data may elicit laughter, astonishment, and perhaps a raised eyebrow or two. Yet, within the labyrinthine corridors of statistical inference, we aim to extract, not just correlation coefficients and p-values, but the kernels of intellectual amusement that lie beneath the shroud of empirical exploration.
As we unravel the mysterious interplay between seventh-grade camaraderie and the legal hustings, we invite our readers to join us on this journey of scholarly whimsy. For it is within the seemingly absurd that the quirky truths of societal tapestries often reveal themselves, and it is in this spirit that we present our findings and embark on this delightful exploration of statistical serendipity.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

In this whimsical pursuit of scholarly curiosity, our research team crafted an idiosyncratic methodology befitting the enigmatic relationship between the number of public school students in 7th grade and the legion of legal practitioners. The data upon which our analysis is predicated were procured from diverse sources across the internet, with a particular emphasis on data repositories maintained by the National Center for Education Statistics and the American Bar Association.

To capture the panoramic panorama of these variables, we gathered data spanning the temporal tapestry from 1990 to 2022, thereby encapsulating a period rife with societal flux and scholastic evolution.

Our methodological odyssey commenced with the rigorous collection of data on the number of public school students enrolled in 7th grade across the United States. This involved engaging in empirical spelunking through the databases maintained by the aforementioned institutions, trotting through a labyrinth of statistical repositories in pursuit of the elusive numerical underpinnings of youthful academia.

Concurrently, the count of legal luminaries plying their trade within the American judicial ecumene was meticulously acquired from the august annals of the legal fraternity, with the stately rolls of the American Bar Association affording us a vantage point into the mushrooming enclaves of legal prowess.

Having gathered the trove of numerical nomenclature, our preeminent purview veered toward the surreptitious symphony of statistical analyses. Through the untiring mesmeric magic of regression analyses, our team unearthed the coefficient of correlation, a numeric testament to the mysterious interplay between these seemingly disparate variables. As the numbers danced across the spreadsheets, their inherent intrigue beguiled our intrepid foray into the nebulous realms of statistical inference.

The incongruous relationship between the number of public school students in 7th grade and the legal eagles of the nation was further dissected through a rigorous scrutiny of the p-value, the hallowed harbinger of statistical significance. Amidst the heedless hustle and bustle of formulae and data points, our statistical sleuthing produced a p-value less than 0.01, signaling a statistical jubilation of significance that astounded even the most jaded of data-wranglers.

In our quest for empirical aptitude, we called upon the versatile tool of data visualization to artfully depict the ebb and flow of these enigmatic associations. Through the whimsical wizardry of scatter plots and trend lines, we rendered the statistical narratives into graphic vignettes, each a testament to the surreal dance of data points and probability densities that underpins our scholarly pursuit.

With a blend of levity and scholarly rigour, our methodological expedition transcended the conventional trappings of statistical analyses, infusing our findings with a subtle zephyr of whimsy and scholarly jocularity – a testament to the idiosyncratic allure of scientific inquiry.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 1990 to 2022, you found a correlation 0.8435096, r-squared of 0.7115084, 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 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intertwining of seemingly disparate facets of society has long been a source of fascination for researchers across various disciplines. The peculiar relationship between the number of public school students in the 7th grade and the number of lawyers in the United States has emerged as an unexpected subject of investigation. While on the surface, these variables may appear to occupy entirely separate spheres, our quest for knowledge has prompted us to delve into the enigmatic connection that permeates the fabric of our society.
As researchers, we are conditioned to seek causality, to unravel the mysteries of correlation, and to carefully navigate the statistical undercurrents that dictate the ebb and flow of societal trends. Yet, amidst the intricacies of charts and regression models, we have often found ourselves pondering the whimsical and the improbable. It is within this spirit of quirkiness and scholarly curiosity that we set out to explore the seemingly improbable nexus between the vigor of 7th graders and the legions of legal practitioners.
The examination of correlations between seemingly unrelated variables often leads one to entertain whimsical conjectures, but it is the presence of statistically significant associations that compels one to forge ahead with rigor and determination. The pursuit of this unexpected bond between youngsters embarking on the cusp of adolescence and the legal wherewithal of the nation has propelled our research team into a realm where the conventional and the farcical converge.
Therefore, as we embark on this scholarly escapade, we urge fellow academics to partake in the mirth and wonder that arises from the unexpected bridging of seemingly incongruous domains. The narratives of association that emerge from our data may elicit laughter, astonishment, and perhaps a raised eyebrow or two. Yet, within the labyrinthine corridors of statistical inference, we aim to extract, not just correlation coefficients and p-values, but the kernels of intellectual amusement that lie beneath the shroud of empirical exploration.
As we unravel the mysterious interplay between seventh-grade camaraderie and the legal hustings, we invite our readers to join us on this journey of scholarly whimsy. For it is within the seemingly absurd that the quirky truths of societal tapestries often reveal themselves, and it is in this spirit that we present our findings and embark on this delightful exploration of statistical serendipity.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

Our meticulous analysis of the relationship between the number of public school students in 7th grade and the number of lawyers in the United States for the time period 1990 to 2022 has yielded an intriguing correlation coefficient of 0.8435096, with an r-squared value of 0.7115084, and a p-value less than 0.01. These results suggest a remarkably strong association between these seemingly incongruent variables, leaving us to ponder the tantalizing question: are the budding mathematicians in middle school contributing more to the legal landscape than we could have ever imagined?

Fig. 1 showcases a scatterplot that portrays the robust correlation between the two variables. The striking alignment of data points in the plot serves as a visual testament to the surprising link we have uncovered. It is said that a picture is worth a thousand words, and in this case, it might just be worth several legal briefs as well!

The statistical relationship uncovered in our study prompts us to contemplate the implications of this unexpected nexus. Could it be that the youthful enthusiasm of 7th graders is somehow serving as a catalyst for the proliferation of legal expertise in our society? As we navigate the murky waters of statistical analysis, we are reminded that sometimes truth is indeed stranger than fiction, and statistical significance can sometimes lead us down whimsical, unanticipated paths.

While the connection between the vigor of 7th graders and the abundance of legal professionals may appear whimsical at first blush, our findings compel us to acknowledge the presence of this substantial association. The intersection between the pitter-patter of middle schoolers and the legal wrangling of professionals beckons further investigation and contemplation. As we unravel the intricacies of this peculiar relationship, we invite our esteemed colleagues to join us in embracing the delightful absurdity that occasionally arises from scholarly inquiry.

Our discovery of the strong correlation prompts us to approach statistical analysis with a twinkle in our eye and an appreciation for the hidden whimsy that often lies beneath the surface of empirical exploration. We encourage fellow researchers to not only seek to unveil correlations but also to revel in the unexpected and the quirky that emerge from the labyrinth of statistical analytics.

In the words of renowned physicist and occasional jester Albert Einstein, "The most beautiful experience we can have is the mysterious. It is the fundamental emotion that stands at the cradle of true art and true science." As we consider the enigmatic bond between the exuberance of 7th graders and the legal landscape, we are reminded that the pursuit of knowledge can often lead us to the doorstep of merry peculiarity.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

[[LITERATURE REVIEW]]
The investigation into the curious relationship between the number of public school students in 7th grade and the number of lawyers practicing law in the United States has captivated the scholarly community and led to a myriad of studies exploring this improbable correlation.
In "The Student-Lawyer Nexus," Smith et al. meticulously analyze longitudinal data from the National Center for Education Statistics and the American Bar Association, shedding light on the unexpected bond between youth education and the legal profession. Their findings reveal a significant positive correlation, prompting further inquiry into the potential drivers of this captivating association. However, as we delve deeper into this enigmatic connection, it is imperative to approach the subject matter with academic integrity and a touch of whimsy.
Doe's publication "Legalities of Seventh Grade" delves into the historical context of this association, tracing the evolution of 7th-grade students' impact on the legal landscape over the decades. The work provides a comprehensive overview of the societal and educational factors that contribute to the intricate web of influence linking prepubescent education and the legal milieu.
Jones' comprehensive meta-analysis "Lawyers and 7th Graders: A Statistical Odyssey" amalgamates a wide array of empirical studies, offering a nuanced examination of the potential mechanisms underpinning this perplexing correlation. The author meticulously navigates the labyrinth of statistical inference, challenging conventional wisdom and inviting the scholarly community to embrace the unexpected with a blend of levity and rigor.
While the aforementioned publications offer invaluable insights into the intersection of 7th-grade academia and legal advocacy, it is imperative to recognize the broader cultural influences that shape our understanding of this peculiar relationship. Works such as "To Kill a Mockingbird" by Harper Lee and "The Children Act" by Ian McEwan provide imaginative depictions of legal settings intertwined with the formative experiences of young adolescents, infusing the scholarly discourse with literary intrigue and narrative richness.
Additionally, the classic board game "Battleship" offers a playful allegory for the strategic maneuvers inherent in navigating the uncharted waters of this captivating correlation. Its depiction of naval warfare, akin to the scholarly pursuit of understanding the student-lawyer nexus, invites us to contemplate the whimsical connections that underpin our societal fabric.
As we venture into this enthralling fusion of statistical inquiry and playful contemplation, it becomes evident that the quirky truths of societal tapestries often reveal themselves in the most unexpected intersections. In the subsequent sections, we delve into the implications of these distinctive findings, embracing the delightful exploration of statistical serendipity with scholarly fervor and a sprinkle of lightheartedness.

[[RESULTS]]
Our meticulous analysis of the relationship between the number of public school students in 7th grade and the number of lawyers in the United States for the time period 1990 to 2022 has yielded an intriguing correlation coefficient of 0.8435096, with an r-squared value of 0.7115084, and a p-value less than 0.01. These results suggest a remarkably strong association between these seemingly incongruent variables, leaving us to ponder the tantalizing question: are the budding mathematicians in middle school contributing more to the legal landscape than we could have ever imagined?
Fig. 1 showcases a scatterplot that portrays the robust correlation between the two variables. The striking alignment of data points in the plot serves as a visual testament to the surprising link we have uncovered. It is said that a picture is worth a thousand words, and in this case, it might just be worth several legal briefs as well!
The statistical relationship uncovered in our study prompts us to contemplate the implications of this unexpected nexus. Could it be that the youthful enthusiasm of 7th graders is somehow serving as a catalyst for the proliferation of legal expertise in our society? As we navigate the murky waters of statistical analysis, we are reminded that sometimes truth is indeed stranger than fiction, and statistical significance can sometimes lead us down whimsical, unanticipated paths.
While the connection between the vigor of 7th graders and the abundance of legal professionals may appear whimsical at first blush, our findings compel us to acknowledge the presence of this substantial association. The intersection between the pitter-patter of middle schoolers and the legal wrangling of professionals beckons further investigation and contemplation. As we unravel the intricacies of this peculiar relationship, we invite our esteemed colleagues to join us in embracing the delightful absurdity that occasionally arises from scholarly inquiry.
Our discovery of the strong correlation prompts us to approach statistical analysis with a twinkle in our eye and an appreciation for the hidden whimsy that often lies beneath the surface of empirical exploration. We encourage fellow researchers to not only seek to unveil correlations but also to revel in the unexpected and the quirky that emerge from the labyrinth of statistical analytics.
In the words of renowned physicist and occasional jester Albert Einstein, "The most beautiful experience we can have is the mysterious. It is the fundamental emotion that stands at the cradle of true art and true science." As we consider the enigmatic bond between the exuberance of 7th graders and the legal landscape, we are reminded that the pursuit of knowledge can often lead us to the doorstep of merry peculiarity.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

The discovery of a robust correlation coefficient of 0.8435096 and a p-value less than 0.01 between the number of public school students in 7th grade and the number of lawyers in the United States has left us pondering the unexpected influence of middle school academia on the legal profession. As we reflect on the results, we are reminded of the whimsical intersections that can captivate the scholarly community. Our findings echo the sentiments put forth by Smith et al., Doe, and Jones, who meticulously navigated the labyrinth of statistical inference with a blend of levity and rigor. The quirky truths of societal tapestries indeed reveal themselves in unexpected intersections, as evidenced by our investigation.

The enigmatic bond between 7th graders and the legal landscape beckons further investigation and contemplation, challenging us to embrace the delightful exploration of statistical serendipity with scholarly fervor and, dare we say, a sprinkle of lightheartedness. Could it be that the budding mathematicians in middle school are unknowingly contributing more to the legal landscape than previously imagined? Perhaps the strategic maneuvers inherent in the classic board game "Battleship" offer a playful allegory for the uncharted waters of this captivating correlation.

The alignment of data points in our scatterplot serves as a visual testament to the surprising link uncovered, reminding us that truth is indeed stranger than fiction, and statistical significance can sometimes lead us down whimsical, unanticipated paths. As we contemplate the lively debate surrounding this unexpected nexus, we are compelled to approach statistical analysis with a twinkle in our eye, appreciating the hidden whimsy that often lies beneath the surface of empirical exploration.

In the words of renowned physicist and occasional jester Albert Einstein, "The most beautiful experience we can have is the mysterious." The pursuit of knowledge can indeed lead us to the doorstep of merry peculiarity, and our discovery of the strong correlation between the exuberance of 7th graders and the legal landscape encourages us to revel in the unexpected and the quirky that emerge from the realm of statistical analytics.

As we venture into the enthralling fusion of statistical inquiry and playful contemplation, we invite our esteemed colleagues to join us in embracing the delightful absurdity that occasionally arises from scholarly inquiry. This unexpected nexus between 7th grade students and lawyers exemplifies the idiosyncrasies that make the pursuit of knowledge both confounding and captivating. The intersection between the pitter-patter of middle schoolers and the legal wrangling of professionals tantalizingly beckons further investigation, prompting us to acknowledge the presence of this substantial association.


Model: gpt-3.5-turbo-1106
System prompt: You are a silly 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 Number of public school students in 7th grade 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. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
The 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States

[[ABSTRACT]]
This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

[[INTRDUCTION]]
The intertwining of seemingly disparate facets of society has long been a source of fascination for researchers across various disciplines. The peculiar relationship between the number of public school students in the 7th grade and the number of lawyers in the United States has emerged as an unexpected subject of investigation. While on the surface, these variables may appear to occupy entirely separate spheres, our quest for knowledge has prompted us to delve into the enigmatic connection that permeates the fabric of our society.
As researchers, we are conditioned to seek causality, to unravel the mysteries of correlation, and to carefully navigate the statistical undercurrents that dictate the ebb and flow of societal trends. Yet, amidst the intricacies of charts and regression models, we have often found ourselves pondering the whimsical and the improbable. It is within this spirit of quirkiness and scholarly curiosity that we set out to explore the seemingly improbable nexus between the vigor of 7th graders and the legions of legal practitioners.
The examination of correlations between seemingly unrelated variables often leads one to entertain whimsical conjectures, but it is the presence of statistically significant associations that compels one to forge ahead with rigor and determination. The pursuit of this unexpected bond between youngsters embarking on the cusp of adolescence and the legal wherewithal of the nation has propelled our research team into a realm where the conventional and the farcical converge.
Therefore, as we embark on this scholarly escapade, we urge fellow academics to partake in the mirth and wonder that arises from the unexpected bridging of seemingly incongruous domains. The narratives of association that emerge from our data may elicit laughter, astonishment, and perhaps a raised eyebrow or two. Yet, within the labyrinthine corridors of statistical inference, we aim to extract, not just correlation coefficients and p-values, but the kernels of intellectual amusement that lie beneath the shroud of empirical exploration.
As we unravel the mysterious interplay between seventh-grade camaraderie and the legal hustings, we invite our readers to join us on this journey of scholarly whimsy. For it is within the seemingly absurd that the quirky truths of societal tapestries often reveal themselves, and it is in this spirit that we present our findings and embark on this delightful exploration of statistical serendipity.

[[RESULTS]]
Our meticulous analysis of the relationship between the number of public school students in 7th grade and the number of lawyers in the United States for the time period 1990 to 2022 has yielded an intriguing correlation coefficient of 0.8435096, with an r-squared value of 0.7115084, and a p-value less than 0.01. These results suggest a remarkably strong association between these seemingly incongruent variables, leaving us to ponder the tantalizing question: are the budding mathematicians in middle school contributing more to the legal landscape than we could have ever imagined?
Fig. 1 showcases a scatterplot that portrays the robust correlation between the two variables. The striking alignment of data points in the plot serves as a visual testament to the surprising link we have uncovered. It is said that a picture is worth a thousand words, and in this case, it might just be worth several legal briefs as well!
The statistical relationship uncovered in our study prompts us to contemplate the implications of this unexpected nexus. Could it be that the youthful enthusiasm of 7th graders is somehow serving as a catalyst for the proliferation of legal expertise in our society? As we navigate the murky waters of statistical analysis, we are reminded that sometimes truth is indeed stranger than fiction, and statistical significance can sometimes lead us down whimsical, unanticipated paths.
While the connection between the vigor of 7th graders and the abundance of legal professionals may appear whimsical at first blush, our findings compel us to acknowledge the presence of this substantial association. The intersection between the pitter-patter of middle schoolers and the legal wrangling of professionals beckons further investigation and contemplation. As we unravel the intricacies of this peculiar relationship, we invite our esteemed colleagues to join us in embracing the delightful absurdity that occasionally arises from scholarly inquiry.
Our discovery of the strong correlation prompts us to approach statistical analysis with a twinkle in our eye and an appreciation for the hidden whimsy that often lies beneath the surface of empirical exploration. We encourage fellow researchers to not only seek to unveil correlations but also to revel in the unexpected and the quirky that emerge from the labyrinth of statistical analytics.
In the words of renowned physicist and occasional jester Albert Einstein, "The most beautiful experience we can have is the mysterious. It is the fundamental emotion that stands at the cradle of true art and true science." As we consider the enigmatic bond between the exuberance of 7th graders and the legal landscape, we are reminded that the pursuit of knowledge can often lead us to the doorstep of merry peculiarity.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our investigation into the correlation between the number of public school students in 7th grade and the number of lawyers in the United States has unveiled an unexpectedly robust relationship. The statistical significance of our findings has left us marveling at the whimsical interconnectedness of these seemingly disparate domains. The recognition of this substantial association prompts us to consider the potential influence of adolescent exuberance on the legal tapestry of our nation - a premise that goes beyond the jurisprudential tales of "Law & Order: Middle School Unit".

As we bid adieu to this merry escapade into statistical serendipity, we cannot help but emphasize the mirth and wonder that arise from scholarly investigation. Our data has led us down the path of delightful absurdity and serves as a whimsical reminder that in the realm of empirical inquiry, the unexpected often lurks beneath the surface of statistical analyses.

With an air of scholarly levity, we assert that further pursuit of this inquiry may yield more hidden truths and amusing revelations. However, we contend that the prevailing body of evidence suggests a firm connection, leaving us with a sense of contentment akin to solving a particularly confounding math problem in the seventh-grade classroom.

In the spirit of embracing the delightful absurdity of our findings, we present a thought-provoking assertion: perhaps the legal profession should consider instituting a "bring your favorite 7th grader to work day" for the sake of professional enrichment. Nonetheless, we playfully assert that it is with a whimsical nod and an appreciation for the unexpected that we close this chapter of scholarly inquiry. In the grand theatre of statistical exploration, our findings dance to the tune of unexpected correlations, leaving us with a sense of scholarly whimsy and an unquenchable curiosity about the delightful absurdities that statistical analyses can unveil.

In light of the robust correlation uncovered in our study, we assert that no further research is needed in this area, as the threads of statistical whimsy that we have untangled provide a colorful tapestry of insight into the interplay between the vitality of 7th graders and the legal landscape.


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 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Educational Eccentricities


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 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States. Respond only with the name of a fictional organization.

ChatGPT:

The Foundation for Adolescent Legal Dynamics


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 7th Grade and the Courtroom: Examining the Relationship Between Number of Public School Students and Number of Lawyers in the United States with an abstract of This study delves into the intriguing relationship between the number of public school students in 7th grade and the number of lawyers operating within the legal system of the United States. Leveraging data collected from the National Center for Education Statistics and the American Bar Association, our research team embarked on this curious exploration. The analysis revealed a striking correlation coefficient of 0.8435096 and a p-value less than 0.01 for the period spanning 1990 to 2022. While the connection at first may seem incongruous, the findings beg the question: are 7th graders unwittingly fueling the legal profession? We delve into the potential implications of this unexpected bond and ponder the enigmatic relationship between the halls of education and the halls of justice.

ChatGPT:

7th grade, public school students, lawyers, United States, National Center for Education Statistics, American Bar Association, correlation coefficient, p-value, education system, legal profession, implications, relationship between education and justice

*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

Number of public school students in 7th grade
Detailed data title: 7th grade enrollment in public elementary and secondary schools
Source: National Center for Education Statistics
See what else correlates with Number of public school students in 7th grade

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.8435096 (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.7115084 (Coefficient of determination)
This means 71.2% 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., Number of public school students in 7th grade) over the 33 years from 1990 through 2022.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 7.1E-10. 0.0000000007137415487078195000
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.84 in 7.1E-8% of random cases. Said differently, if you correlated 1,401,067,378 random variables You don't actually need 1 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 32 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 32 because we have two variables measured over a period of 33 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.7, 0.92 ] 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.
199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022
Number of public school students in 7th grade (Students)306690031810203299060335529034035503422290346395035198003529620354127036293203720470382137038405103818430377715037160803700420365262036413403676310369600037464803747570370974037315503761000377656038485103917820385950037558603663870
Number of Lawyers in the United States (Lawyers)755694777119799760846036865614896140953260953260985921100044010224601048900104975010586601084500110477011169701143360116212011803901203100122545012452001268010128143013007001312870133596013423801352080132874013279101327010




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([3066900,3181020,3299060,3355290,3403550,3422290,3463950,3519800,3529620,3541270,3629320,3720470,3821370,3840510,3818430,3777150,3716080,3700420,3652620,3641340,3676310,3696000,3746480,3747570,3709740,3731550,3761000,3776560,3848510,3917820,3859500,3755860,3663870,])
array_2 = np.array([755694,777119,799760,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,1327010,])
array_1_name = "Number of public school students in 7th grade"
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?

I'm genuinely thankful for your rating!


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

CC BY 4.0