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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Bachelor's degrees awarded in law enforcement and the second variable is Google searches for 'sleepwalking'.  The chart goes from 2012 to 2021, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

As more officers received their degrees, they also started sleepwalking through crime scenes to truly grasp the evidence. And sadly, this led to an increase in sleepwalking incidents among the general public.

Model: dalle-3
Prompt: Generate an image of a university graduation ceremony in a comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s. The scene should depict students proudly receiving their Bachelor's degrees in law enforcement. In the background, a computer screen should be visible with someone searching on Google for 'sleepwalking,' their curious expression reflected in the screen's glow. The focus of the image should be on the pride and accomplishment of the graduates, with the computer screen in the background adding a sense of intrigue. The depiction should include only scenes, people, and objects, it should not include text or speech bubbles.
This image generation prompt was also generated by AI, using the following sequence:

Model: gpt-3.5-turbo-1106
System prompt: You select one of a few potential scene descriptors that seems to go along with the variables described. You respond only with the scene descriptions provided and say nothing else.
User prompt: Here are two variables: Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. 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: High-tech An image that looks like it is a scene from A Disney Movie A photo-realistic image Low poly A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s
ChatGPT: A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s

Model: gpt-3.5-turbo-1106
System prompt: You describe simple visual scenes that depict the two variables stated. You combine both variables into one scene.
User prompt: Please describe a visual scene that prominently depicts both Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking' together. Keep the description simple.
ChatGPT: In the scene, a university graduation ceremony is taking place with students proudly receiving their Bachelor's degrees in law enforcement. Meanwhile, on a nearby computer screen, someone is searching on Google for 'sleepwalking,' their curious expression reflected in the screen's glow.

Model: gpt-3.5-turbo-1106
System prompt: You write and improve image generation prompts for DALLE-3. You maintain the same subjects, but enhance the visuals.
User prompt: Please respond with an image generation prompt that would be likely to create an interesting visual using DALLE-3, using the following style: [ A comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s ] and depicting this scene: In the scene, a university graduation ceremony is taking place with students proudly receiving their Bachelor's degrees in law enforcement. Meanwhile, on a nearby computer screen, someone is searching on Google for 'sleepwalking,' their curious expression reflected in the screen's glow. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image of a university graduation ceremony in a comic-book-style illustration with muted colors and a dotted halftone pattern from the 1960s. The scene should depict students proudly receiving their Bachelor's degrees in law enforcement. In the background, a computer screen should be visible with someone searching on Google for 'sleepwalking,' their curious expression reflected in the screen's glow. The focus of the image should be on the pride and accomplishment of the graduates, with the computer screen in the background adding a sense of intrigue.

*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 Bachelor's degrees awarded in law enforcement caused sleepwalking (Google searches for 'sleepwalking') to increase.\Make it sound serious until the end.

AI academic paper

(Because p < 0.01)
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

The Journal of Applied Somnambulism Research

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Include a pun in the title.

Your research team used data from National Center for Education Statistics and Google Trends to assess this nagging question. You found a correlation coefficient of 0.9025571 and p < 0.01 for 2012 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]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Here is the title and abstract of the paper:
[[TITLE]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The world of law enforcement is often associated with late nights, stakeouts, and perhaps a cup or two of nighttime coffee - a brew that's strong enough to keep both officers and sleepwalkers wide-eyed and bushy-tailed. But what if there's more to the relationship between law enforcement and sleep than meets the night-vision goggles? This study aims to unravel the enigma that lies at the intersection of law enforcement education and the curious case of Google searches for 'sleepwalking'.

As we dive headfirst into the deep and dreamy waters of this correlation, it's important to acknowledge the elephant in the room...or should I say, the sleepwalker on the roof? Yes, folks, it's time to dust off those old dad jokes and ponder the ultimate question: Do law enforcement professionals dream of electric convictions, or are they merely seeking answers to their own nocturnal wandering?

The pursuit of justice often leads to shedding light on the shadows of society, but could it also be shedding light on the shadows of the bedroom? It seems that as our brave men and women in blue chase after lawbreakers, they might also be inadvertently shedding light on a parallel world of sleepwalkers, navigating their own legal issues - namely, trespassing, but with a dreamy twist.

The findings of this study promise to unveil the secret world of the law enforcement graduate, who might be learning how to respect the law by day and interpret the ramblings of sleepwalkers by night. Could it be that they're not only upholding the law but also guarding the gates of dreamland, ensuring that no rogue sleepwalkers escape into the night? These are the burning questions that keep us awake at night, or should I say, 'sleepwalking' through the mysteries of law enforcement and dreams.

Join us in this journey as we explore the unlikely links between academic pursuits in law enforcement and the subconscious escapades of sleepwalkers. Who knows, we might just stumble upon a sleeping beauty or two in the process – it's a land of possibilities, or should I say, "law and REM-order."


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a few real TV shows that sound like they might be relevant to the topic that you watched as research.

Here is the title and abstract of the paper:
[[TITLE]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The world of law enforcement is often associated with late nights, stakeouts, and perhaps a cup or two of nighttime coffee - a brew that's strong enough to keep both officers and sleepwalkers wide-eyed and bushy-tailed. But what if there's more to the relationship between law enforcement and sleep than meets the night-vision goggles? This study aims to unravel the enigma that lies at the intersection of law enforcement education and the curious case of Google searches for 'sleepwalking'.
As we dive headfirst into the deep and dreamy waters of this correlation, it's important to acknowledge the elephant in the room...or should I say, the sleepwalker on the roof? Yes, folks, it's time to dust off those old dad jokes and ponder the ultimate question: Do law enforcement professionals dream of electric convictions, or are they merely seeking answers to their own nocturnal wandering?
The pursuit of justice often leads to shedding light on the shadows of society, but could it also be shedding light on the shadows of the bedroom? It seems that as our brave men and women in blue chase after lawbreakers, they might also be inadvertently shedding light on a parallel world of sleepwalkers, navigating their own legal issues - namely, trespassing, but with a dreamy twist.
The findings of this study promise to unveil the secret world of the law enforcement graduate, who might be learning how to respect the law by day and interpret the ramblings of sleepwalkers by night. Could it be that they're not only upholding the law but also guarding the gates of dreamland, ensuring that no rogue sleepwalkers escape into the night? These are the burning questions that keep us awake at night, or should I say, 'sleepwalking' through the mysteries of law enforcement and dreams.
Join us in this journey as we explore the unlikely links between academic pursuits in law enforcement and the subconscious escapades of sleepwalkers. Who knows, we might just stumble upon a sleeping beauty or two in the process – it's a land of possibilities, or should I say, "law and REM-order."

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

The connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' has piqued the interest of researchers and armchair detectives alike. Smith et al. (2016) first brought attention to this correlation, demonstrating a significant positive relationship between the two variables. However, as keen observers of this peculiar phenomenon, we couldn't help but wonder if this statistical connection conceals a deeper, more amusing truth. Could it be that law enforcement professionals are not only upholding the law but also in pursuit of nocturnal escapades of the somnambulist kind?

In "Enforcing Dreams" by Doe and Jones (2019), the authors unearth a parallel between the rigorous academic curriculum of law enforcement education and the enigmatic world of sleepwalking. This connection begs the question: Are law enforcement professionals not only patrolling the streets by day but also, in a twist of fate, patrolling the sleepwalking subconsciousness by night? It's almost as if they are enforcing not only the law of the land but also the laws of dreamland. The study's revelations prompt us to consider whether law enforcement officers, already masters of reading between the lines of a criminal case, are also becoming adept at interpreting the cryptic footprints of sleepwalkers.

Turning to the non-fiction side of literature, "The Nocturnal Chronicles: Exploring the Mysteries of the Night" by Dr. Dreamer (2018) sheds light on the inexplicable ties between legal studies and the nocturnal wanderings of the mind. The overlap between these seemingly disconnected domains has indeed left us in a state of scholarly stupor, prompting us to ask: Are law enforcement professionals also seeking to uncover the mysteries of the night, much like they unravel the enigmas of law and order during the day?

In a surprising turn of events, fiction literature also offers tantalizing clues to this conundrum. "The Sleepwalker's Guide to Law Enforcement" by Night Detective (1987) presents a whimsical yet strangely relevant narrative that blurs the lines between reality and the surreal. This gripping tale delves into the adventures of a detective who not only strives to solve crimes by day but also finds himself entangled in the nocturnal escapades of sleepwalkers by night. While the book may belong to the realm of fiction, its uncanny resonance with our research findings cannot be dismissed.

As part of our dedication to thorough research, we also delved into the small screen, immersing ourselves in TV shows that might shed light on this curious correlation. "Night Watch: Crimes of the Sleepless" is a gripping procedural drama that not only captures the essence of law enforcement but also delves into the peculiar cases of sleepwalking suspects. Similarly, "Dream Detectives: Night Shift Mysteries" offers a fictional yet intriguing exploration of law enforcement professionals who navigate the realms of both wakefulness and slumber in pursuit of truth.

With such compelling connections surfacing from both real and fictional realms, it's evident that the association between law enforcement education and nocturnal wanderings extends far beyond statistical significance. As we continue our investigation, we can't help but ponder: if law enforcement is the pursuit of justice, could it also become the pursuit of justice in dreamland? Keep your eyes open, and don't let the bedbugs bite, for the night holds more than mere dreams – it holds the secrets that law enforcement professionals might be poised to uncover.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Google Trends . You used data from 2012 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]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

[[INTRODUCTION]]
The world of law enforcement is often associated with late nights, stakeouts, and perhaps a cup or two of nighttime coffee - a brew that's strong enough to keep both officers and sleepwalkers wide-eyed and bushy-tailed. But what if there's more to the relationship between law enforcement and sleep than meets the night-vision goggles? This study aims to unravel the enigma that lies at the intersection of law enforcement education and the curious case of Google searches for 'sleepwalking'.
As we dive headfirst into the deep and dreamy waters of this correlation, it's important to acknowledge the elephant in the room...or should I say, the sleepwalker on the roof? Yes, folks, it's time to dust off those old dad jokes and ponder the ultimate question: Do law enforcement professionals dream of electric convictions, or are they merely seeking answers to their own nocturnal wandering?
The pursuit of justice often leads to shedding light on the shadows of society, but could it also be shedding light on the shadows of the bedroom? It seems that as our brave men and women in blue chase after lawbreakers, they might also be inadvertently shedding light on a parallel world of sleepwalkers, navigating their own legal issues - namely, trespassing, but with a dreamy twist.
The findings of this study promise to unveil the secret world of the law enforcement graduate, who might be learning how to respect the law by day and interpret the ramblings of sleepwalkers by night. Could it be that they're not only upholding the law but also guarding the gates of dreamland, ensuring that no rogue sleepwalkers escape into the night? These are the burning questions that keep us awake at night, or should I say, 'sleepwalking' through the mysteries of law enforcement and dreams.
Join us in this journey as we explore the unlikely links between academic pursuits in law enforcement and the subconscious escapades of sleepwalkers. Who knows, we might just stumble upon a sleeping beauty or two in the process – it's a land of possibilities, or should I say, "law and REM-order."

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

Ah, the juicy details of our methodology! Get ready to embark on a whimsical, sleep-deprived journey through the realm of research methods. As we navigate the data-dotted landscape, let's not forget to sprinkle a few puns and dad jokes along the way.

To kick things off, we harnessed the mighty power of the National Center for Education Statistics to acquire the number of Bachelor's degrees awarded in law enforcement from 2012 to 2021. We then did some professional sleuthing to obtain Google search data for the term 'sleepwalking' through the trusty Google Trends. It was like conducting a covert operation, but instead of tracking down suspects, we were uncovering trends and patterns - talk about a different kind of "snooze and pursuit"!

With our treasure trove of data in hand, we embarked on a statistical escapade to unearth the connection between law enforcement degrees and the nocturnal wanderings of curious internet users. We employed the grave, yet exhilarating, art of correlation analysis to reveal the entangled web of relationships between these disparate but strangely interconnected variables.

In a blaze of statistical glory, we calculated the correlation coefficient, which emerged from the shadows with a striking value of 0.9025571 - cue the dramatic music! This coefficient, akin to a sly detective, stealthily indicated a robust positive association between the number of law enforcement degrees awarded and the frequency of 'sleepwalking' Google searches. It was almost as if these variables were holding hands in the moonlit darkness of statistical significance.

But we didn't stop there. Oh no! We subjected our findings to the ultimate test – the formidable p-value. This numerical gatekeeper, with a p-value less than 0.01, stood like a stalwart sentinel, declaring with confidence that the relationship we uncovered was not a mere mirage in the night. It was a bona fide discovery, worthy of the spotlight and possibly a few sleepwalking patrol officers – after all, who better to keep an eye on the wandering souls of the night?

Now, if you're ready for a bit of a "nightcap," I'd love to share more, but research methodology waits for no slumber. So let's continue our detective work and unveil the intrepid mysteries of academia and nocturnal adventures with a dash of humor, a sprinkling of data, and a whole lot of statistical flair. After all, in the realm of research, as in the land of dreams, the unexpected twists and turns make the journey all the more thrilling.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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

For the time period 2012 to 2021, you found a correlation 0.9025571, r-squared of 0.8146093, 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]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The world of law enforcement is often associated with late nights, stakeouts, and perhaps a cup or two of nighttime coffee - a brew that's strong enough to keep both officers and sleepwalkers wide-eyed and bushy-tailed. But what if there's more to the relationship between law enforcement and sleep than meets the night-vision goggles? This study aims to unravel the enigma that lies at the intersection of law enforcement education and the curious case of Google searches for 'sleepwalking'.
As we dive headfirst into the deep and dreamy waters of this correlation, it's important to acknowledge the elephant in the room...or should I say, the sleepwalker on the roof? Yes, folks, it's time to dust off those old dad jokes and ponder the ultimate question: Do law enforcement professionals dream of electric convictions, or are they merely seeking answers to their own nocturnal wandering?
The pursuit of justice often leads to shedding light on the shadows of society, but could it also be shedding light on the shadows of the bedroom? It seems that as our brave men and women in blue chase after lawbreakers, they might also be inadvertently shedding light on a parallel world of sleepwalkers, navigating their own legal issues - namely, trespassing, but with a dreamy twist.
The findings of this study promise to unveil the secret world of the law enforcement graduate, who might be learning how to respect the law by day and interpret the ramblings of sleepwalkers by night. Could it be that they're not only upholding the law but also guarding the gates of dreamland, ensuring that no rogue sleepwalkers escape into the night? These are the burning questions that keep us awake at night, or should I say, 'sleepwalking' through the mysteries of law enforcement and dreams.
Join us in this journey as we explore the unlikely links between academic pursuits in law enforcement and the subconscious escapades of sleepwalkers. Who knows, we might just stumble upon a sleeping beauty or two in the process – it's a land of possibilities, or should I say, "law and REM-order."

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data revealed a significant correlation between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' from 2012 to 2021. The correlation coefficient was a surprising 0.9025571. This strong positive correlation suggests that as the number of law enforcement degrees awarded increases, so does the public interest in sleepwalking. It’s almost as if law enforcement professionals are not only protecting us from the walking dangers of the waking world but are also inadvertently sparking interest in the walking (or should I say, “sleepwalking”) dangers of the dream world.

Furthermore, the r-squared value of 0.8146093 confirms that approximately 81.5% of the variation in Google searches for 'sleepwalking' can be explained by the number of law enforcement degrees awarded. It's as if the pursuit of law and order is sending shockwaves through the realm of dreams, potentially causing some late-night investigations of a different kind. It begs the question, "Are they on the hunt for sleepwalking suspects?"

With a p-value of less than 0.01, this connection is indeed statistically significant. It seems that the pursuit of justice in the real world is not only capturing criminals but also capturing the imaginations of those who wander the nocturnal world. This correlation opens up a whole new realm of inquiry, prompting us to wonder, "Should law enforcement agencies start recruiting insomniacs to combat sleepwalking crimes, making sure they don't end up 'nodding off' on the job?"

The scatterplot in Figure 1 clearly illustrates the strong positive correlation between the variables, with each data point seemingly following the path of justice and dreams. It's as if the pursuit of law and order is leaving a trail that leads straight into the realm of sleepwalking, raising the question, “Are they following the evidence, or are the dreams leading the way?”

Stay tuned as we delve further into the implications of these findings and explore the possibility of a dream team of law enforcement officers trained in the art of navigating the subconscious corridors of sleepwalking. As we unravel this mystery, we are getting closer to answering the question, "Is there truly 'no rest for the wicked' - or is it the law enforcement graduates who are perpetuating these restless nights?"


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

[[LITERATURE REVIEW]]
The connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' has piqued the interest of researchers and armchair detectives alike. Smith et al. (2016) first brought attention to this correlation, demonstrating a significant positive relationship between the two variables. However, as keen observers of this peculiar phenomenon, we couldn't help but wonder if this statistical connection conceals a deeper, more amusing truth. Could it be that law enforcement professionals are not only upholding the law but also in pursuit of nocturnal escapades of the somnambulist kind?
In "Enforcing Dreams" by Doe and Jones (2019), the authors unearth a parallel between the rigorous academic curriculum of law enforcement education and the enigmatic world of sleepwalking. This connection begs the question: Are law enforcement professionals not only patrolling the streets by day but also, in a twist of fate, patrolling the sleepwalking subconsciousness by night? It's almost as if they are enforcing not only the law of the land but also the laws of dreamland. The study's revelations prompt us to consider whether law enforcement officers, already masters of reading between the lines of a criminal case, are also becoming adept at interpreting the cryptic footprints of sleepwalkers.
Turning to the non-fiction side of literature, "The Nocturnal Chronicles: Exploring the Mysteries of the Night" by Dr. Dreamer (2018) sheds light on the inexplicable ties between legal studies and the nocturnal wanderings of the mind. The overlap between these seemingly disconnected domains has indeed left us in a state of scholarly stupor, prompting us to ask: Are law enforcement professionals also seeking to uncover the mysteries of the night, much like they unravel the enigmas of law and order during the day?
In a surprising turn of events, fiction literature also offers tantalizing clues to this conundrum. "The Sleepwalker's Guide to Law Enforcement" by Night Detective (1987) presents a whimsical yet strangely relevant narrative that blurs the lines between reality and the surreal. This gripping tale delves into the adventures of a detective who not only strives to solve crimes by day but also finds himself entangled in the nocturnal escapades of sleepwalkers by night. While the book may belong to the realm of fiction, its uncanny resonance with our research findings cannot be dismissed.
As part of our dedication to thorough research, we also delved into the small screen, immersing ourselves in TV shows that might shed light on this curious correlation. "Night Watch: Crimes of the Sleepless" is a gripping procedural drama that not only captures the essence of law enforcement but also delves into the peculiar cases of sleepwalking suspects. Similarly, "Dream Detectives: Night Shift Mysteries" offers a fictional yet intriguing exploration of law enforcement professionals who navigate the realms of both wakefulness and slumber in pursuit of truth.
With such compelling connections surfacing from both real and fictional realms, it's evident that the association between law enforcement education and nocturnal wanderings extends far beyond statistical significance. As we continue our investigation, we can't help but ponder: if law enforcement is the pursuit of justice, could it also become the pursuit of justice in dreamland? Keep your eyes open, and don't let the bedbugs bite, for the night holds more than mere dreams – it holds the secrets that law enforcement professionals might be poised to uncover.

[[RESULTS]]
The analysis of the data revealed a significant correlation between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' from 2012 to 2021. The correlation coefficient was a surprising 0.9025571. This strong positive correlation suggests that as the number of law enforcement degrees awarded increases, so does the public interest in sleepwalking. It’s almost as if law enforcement professionals are not only protecting us from the walking dangers of the waking world but are also inadvertently sparking interest in the walking (or should I say, “sleepwalking”) dangers of the dream world.
Furthermore, the r-squared value of 0.8146093 confirms that approximately 81.5% of the variation in Google searches for 'sleepwalking' can be explained by the number of law enforcement degrees awarded. It's as if the pursuit of law and order is sending shockwaves through the realm of dreams, potentially causing some late-night investigations of a different kind. It begs the question, "Are they on the hunt for sleepwalking suspects?"
With a p-value of less than 0.01, this connection is indeed statistically significant. It seems that the pursuit of justice in the real world is not only capturing criminals but also capturing the imaginations of those who wander the nocturnal world. This correlation opens up a whole new realm of inquiry, prompting us to wonder, "Should law enforcement agencies start recruiting insomniacs to combat sleepwalking crimes, making sure they don't end up 'nodding off' on the job?"
The scatterplot in Figure 1 clearly illustrates the strong positive correlation between the variables, with each data point seemingly following the path of justice and dreams. It's as if the pursuit of law and order is leaving a trail that leads straight into the realm of sleepwalking, raising the question, “Are they following the evidence, or are the dreams leading the way?”
Stay tuned as we delve further into the implications of these findings and explore the possibility of a dream team of law enforcement officers trained in the art of navigating the subconscious corridors of sleepwalking. As we unravel this mystery, we are getting closer to answering the question, "Is there truly 'no rest for the wicked' - or is it the law enforcement graduates who are perpetuating these restless nights?"

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our investigation into the intriguing correlation between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' has uncovered compelling evidence of a significant connection. The remarkably high correlation coefficient of 0.9025571 and a p-value of less than 0.01 support the prior research suggesting a tangible relationship between these seemingly disparate domains. It's as if our findings are the 'dream team' of statistical evidence, lending credibility to the notion that law enforcement education holds a curious allure for those captivated by the mysteries of sleepwalking.

The statistical significance of this correlation goes beyond mere chance, leaving us no choice but to take this connection seriously – much like a law enforcement officer would take a potential sleepwalking suspect. It’s almost as if the pursuit of justice is leaving a breadcrumb trail that leads straight into the realm of sleepwalking, prompting us to wonder, "Do law enforcement professionals moonlight as dream detectives?"

Our results support the previously observed compelling association between law enforcement education and the enigmatic world of sleepwalking, raising the specter of whether those trained to enforce the law are also crossing into the domain of dreams to enforce nocturnal justice. The strong positive correlation suggests that the pursuit of law and order is igniting public interest in the night wanderings of the sleepwalking subconsciousness. It's as if law enforcement professionals are not only safeguarding the waking world but are also unwittingly patrolling the mysterious landscape of dreamland.

Just as law enforcement professionals navigate the twists and turns of criminal investigations, it seems they are also navigating the cryptic footprints of sleepwalking, leaving us to ponder, "Are they now on the lookout for midnight marauders of the somnambulist kind?" It's a case of law and slumber intersecting, blurring the lines between reality and the surreal, much like a sleepwalker might blur the lines between dream and wakefulness.

As we continue our pursuit of understanding this curious phenomenon, it's clear that our research reveals more than just a statistical connection. It beckons us to consider the professional duality of law enforcement officers, who not only protect our waking world from harm but may also be called to engage with the enigmatic world of sleepwalking. Our findings not only keep us up at night pondering their implications but also raise the question, "Is it time for law enforcement agencies to embrace a new mandate in their 'night shifts,' involving the policing of dreamscapes?"



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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Bachelor's degrees awarded in law enforcement and Google searches for 'sleepwalking'. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

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]]
Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'

[[ABSTRACT]]
While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.

As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"

Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?"

[[INTRDUCTION]]
The world of law enforcement is often associated with late nights, stakeouts, and perhaps a cup or two of nighttime coffee - a brew that's strong enough to keep both officers and sleepwalkers wide-eyed and bushy-tailed. But what if there's more to the relationship between law enforcement and sleep than meets the night-vision goggles? This study aims to unravel the enigma that lies at the intersection of law enforcement education and the curious case of Google searches for 'sleepwalking'.
As we dive headfirst into the deep and dreamy waters of this correlation, it's important to acknowledge the elephant in the room...or should I say, the sleepwalker on the roof? Yes, folks, it's time to dust off those old dad jokes and ponder the ultimate question: Do law enforcement professionals dream of electric convictions, or are they merely seeking answers to their own nocturnal wandering?
The pursuit of justice often leads to shedding light on the shadows of society, but could it also be shedding light on the shadows of the bedroom? It seems that as our brave men and women in blue chase after lawbreakers, they might also be inadvertently shedding light on a parallel world of sleepwalkers, navigating their own legal issues - namely, trespassing, but with a dreamy twist.
The findings of this study promise to unveil the secret world of the law enforcement graduate, who might be learning how to respect the law by day and interpret the ramblings of sleepwalkers by night. Could it be that they're not only upholding the law but also guarding the gates of dreamland, ensuring that no rogue sleepwalkers escape into the night? These are the burning questions that keep us awake at night, or should I say, 'sleepwalking' through the mysteries of law enforcement and dreams.
Join us in this journey as we explore the unlikely links between academic pursuits in law enforcement and the subconscious escapades of sleepwalkers. Who knows, we might just stumble upon a sleeping beauty or two in the process – it's a land of possibilities, or should I say, "law and REM-order."

[[RESULTS]]
The analysis of the data revealed a significant correlation between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' from 2012 to 2021. The correlation coefficient was a surprising 0.9025571. This strong positive correlation suggests that as the number of law enforcement degrees awarded increases, so does the public interest in sleepwalking. It’s almost as if law enforcement professionals are not only protecting us from the walking dangers of the waking world but are also inadvertently sparking interest in the walking (or should I say, “sleepwalking”) dangers of the dream world.
Furthermore, the r-squared value of 0.8146093 confirms that approximately 81.5% of the variation in Google searches for 'sleepwalking' can be explained by the number of law enforcement degrees awarded. It's as if the pursuit of law and order is sending shockwaves through the realm of dreams, potentially causing some late-night investigations of a different kind. It begs the question, "Are they on the hunt for sleepwalking suspects?"
With a p-value of less than 0.01, this connection is indeed statistically significant. It seems that the pursuit of justice in the real world is not only capturing criminals but also capturing the imaginations of those who wander the nocturnal world. This correlation opens up a whole new realm of inquiry, prompting us to wonder, "Should law enforcement agencies start recruiting insomniacs to combat sleepwalking crimes, making sure they don't end up 'nodding off' on the job?"
The scatterplot in Figure 1 clearly illustrates the strong positive correlation between the variables, with each data point seemingly following the path of justice and dreams. It's as if the pursuit of law and order is leaving a trail that leads straight into the realm of sleepwalking, raising the question, “Are they following the evidence, or are the dreams leading the way?”
Stay tuned as we delve further into the implications of these findings and explore the possibility of a dream team of law enforcement officers trained in the art of navigating the subconscious corridors of sleepwalking. As we unravel this mystery, we are getting closer to answering the question, "Is there truly 'no rest for the wicked' - or is it the law enforcement graduates who are perpetuating these restless nights?"

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our research has illuminated a surprising and substantial correlation between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking' from 2012 to 2021. The statistically significant correlation coefficient of 0.9025571 has left us wide-eyed, prompting us to ask, "Are law enforcement professionals not only protecting us while we're awake but also inadvertently inciting public interest in the oft-overlooked activity of sleepwalking? Talk about serving and sleepwalking!"

The implications of this correlation resonate with the poetic imagery of law enforcement professionals upholding order by day and potentially embarking on nocturnal investigations of a different nature. Could this study be the first step in uncovering a new subfield, 'dream enforcement,' where defenders of the law tackle legal issues that manifest under the veil of sleep? It seems it's a case of sleepwalking in the name of justice!

With a p-value of less than 0.01 and an r-squared value of 0.8146093, it's clear that this connection is not just a fleeting dream but a tangible phenomenon deserving of further investigation. However, as we sign off on this revelatory study, it's appropriate to assert that this thrilling intersection of law enforcement education and nocturnal wanderings has been thoroughly explored. No more research needed in this area - we've already gone the extra mile, or should I say, the extra "nighthawk stakeout"?


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 Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'. Respond only with the name of a fictional academic journal.

ChatGPT:

The Journal of Applied Somnambulism Research


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 Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking'. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Sleep Studies and Paranormal Research


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 Sleep in Law Enforcement: A Correlational Investigation of Bachelor's Degrees Awarded and Google Searches for 'Sleepwalking' with an abstract of While law enforcement is often associated with sleepless nights and long hours, our research delves into the curious connection between the number of Bachelor's degrees awarded in law enforcement and the frequency of Google searches for 'sleepwalking'. Using data from the National Center for Education Statistics and Google Trends, we scrutinized the years 2012 to 2021. Our analysis revealed a striking correlation coefficient of 0.9025571 and a p-value less than 0.01. It seems the pursuit of justice might be giving professionals in law enforcement more than just a few sleepless nights - perhaps some of their suspects are losing sleep, too.
As we delved into the data, it became clear that the connection between law enforcement degrees and sleepwalking searches was no mere phantasm. It's almost as if those studying law enforcement were seeking to uncover the secrets of the night, just like they uncover the mysteries of the law. It's a case of sleepwalking infiltrating the realm of criminal justice, leading us to wonder, "Is sleepwalking becoming a crime of fashion?"
Our findings shed light on the unexpected relationship between academic pursuits and nocturnal wanderings, opening the door to further interdisciplinary exploration. This connection may not only keep us up at night pondering its implications but also raise the question, "Would training law enforcement officers to combat sleepwalkers require a 'night school' of a different kind?

ChatGPT:

law enforcement, sleepwalking, correlation, Bachelor's degrees, Google searches, law enforcement education, sleep disorders, criminal justice, academic research, interdisciplinary study, law enforcement training

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



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

Bachelor's degrees awarded in law enforcement
Detailed data title: Bachelor's degrees conferred by postsecondary institutions, in field of study: Homeland security, law enforcement, and firefighting
Source: National Center for Education Statistics
See what else correlates with Bachelor's degrees awarded in law enforcement

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

See what else correlates with Google searches for 'sleepwalking'

Correlation r = 0.9025571 (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.8146093 (Coefficient of determination)
This means 81.5% of the change in the one variable (i.e., Google searches for 'sleepwalking') is predictable based on the change in the other (i.e., Bachelor's degrees awarded in law enforcement) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.00035. 0.0003501622165283150000000000
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.9 in 0.035% of random cases. Said differently, if you correlated 2,856 random variables Which I absolutely did.
with the same 9 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 9 because we have two variables measured over a period of 10 years. It's just the number of years minus ( the number of variables minus one ), which in this case simplifies to the number of years minus one.
you would randomly expect to find a correlation as strong as this one.

[ 0.63, 0.98 ] 95% correlation confidence interval (using the Fisher z-transformation)
The confidence interval is an estimate the range of the value of the correlation coefficient, using the correlation itself as an input. The values are meant to be the low and high end of the correlation coefficient with 95% confidence.

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


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

Still, sometimes one of the variables has more years of data available than the other. This page only shows the overlapping years. To see all the years, click on "See what else correlates with..." link above.
2012201320142015201620172018201920202021
Bachelor's degrees awarded in law enforcement (Degrees awarded)54091602646241662723611595955358121573335704458009
Google searches for 'sleepwalking' (Rel. search volume)36.2569.583376.7575.557.333353.416745.333340.41673637.75




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([54091,60264,62416,62723,61159,59553,58121,57333,57044,58009,])
array_2 = np.array([36.25,69.5833,76.75,75.5,57.3333,53.4167,45.3333,40.4167,36,37.75,])
array_1_name = "Bachelor's degrees awarded in law enforcement"
array_2_name = "Google searches for 'sleepwalking'"

# Perform the calculation
print(f"Calculating the correlation between {array_1_name} and {array_2_name}...")
correlation, r_squared, p_value = calculate_correlation(array_1, array_2)

# Print the results
print("Correlation Coefficient:", correlation)
print("R-squared:", r_squared)
print("P-value:", p_value)



Reuseable content

You may re-use the images on this page for any purpose, even commercial purposes, without asking for permission. The only requirement is that you attribute Tyler Vigen. Attribution can take many different forms. If you leave the "tylervigen.com" link in the image, that satisfies it just fine. If you remove it and move it to a footnote, that's fine too. You can also just write "Charts courtesy of Tyler Vigen" at the bottom of an article.

You do not need to attribute "the spurious correlations website," and you don't even need to link here if you don't want to. I don't gain anything from pageviews. There are no ads on this site, there is nothing for sale, and I am not for hire.

For the record, I am just one person. Tyler Vigen, he/him/his. I do have degrees, but they should not go after my name unless you want to annoy my wife. If that is your goal, then go ahead and cite me as "Tyler Vigen, A.A. A.A.S. B.A. J.D." Otherwise it is just "Tyler Vigen."

When spoken, my last name is pronounced "vegan," like I don't eat meat.

Full license details.
For more on re-use permissions, or to get a signed release form, see tylervigen.com/permission.

Download images for these variables:


View another random correlation

How fun was this correlation?

Your correlation inspection deserves a standing ovation!


Correlation ID: 1532 · Black Variable ID: 1279 · Red Variable ID: 1499
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0