about · email me · subscribe
Spurious correlation #4,544 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Votes for Democratic Senators in Mississippi and the second variable is The number of occupational therapists in Mississippi.  The chart goes from 2003 to 2020, and the two variables track closely in value over that time. Small Image
Download png
, svg

AI explanation

The increase in Democrat votes for Senators in Mississippi led to a rise in the state's morale. This, in turn, created a higher demand for occupational therapists to help people get back on their feet, both literally and figuratively. It's like they say, when it comes to uplifting moods and improving mobility, Mississippi knows how to put the "democra-therapy" in action!

Model: dalle-3
Prompt: Generate an image featuring a vibrant TIME magazine cover with a compelling headline. Illustrate a bustling voting booth in Mississippi surrounded by enthusiastic voters casting Democrat votes for Senators. Show a sense of hope and unity in the air. Next to the voting booth, depict a group of dedicated occupational therapists assisting patients with friendly smiles. Capture the increased demand for their services, symbolizing the state's energetic spirit and determination to uplift and empower its people through "democra-therapy." Portrait the scene with clear focus on the bustling voting booth and the occupational therapists, creating a visually impactful representation of hope and empowerment. 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: Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. Given these, which of the following image style descriptions seems most appropriate? Pick the one that seems to be related to one of the variables at hand. Please respond with only one of the following potential descriptions: A TIME magazine cover image Surrealism Data cyber art Glitch art Whimsical illustration
ChatGPT: A TIME magazine cover image

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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi, in the following situation: The increase in Democrat votes for Senators in Mississippi led to a rise in the state's morale. This, in turn, created a higher demand for occupational therapists to help people get back on their feet, both literally and figuratively. It's like they say, when it comes to uplifting moods and improving mobility, Mississippi knows how to put the "democra-therapy" in action!. Keep the description simple.
ChatGPT: A bustling voting booth in Mississippi displays a surge in Democrat votes for Senators, symbolizing a newfound sense of hope and unity. Meanwhile, a group of dedicated occupational therapists are seen diligently assisting patients with friendly smiles, representing the increased demand for their services. Their actions reflect the state's energetic spirit and determination to uplift and empower its people through "democra-therapy."

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 TIME magazine cover image ] and depicting this scene: A bustling voting booth in Mississippi displays a surge in Democrat votes for Senators, symbolizing a newfound sense of hope and unity. Meanwhile, a group of dedicated occupational therapists are seen diligently assisting patients with friendly smiles, representing the increased demand for their services. Their actions reflect the state's energetic spirit and determination to uplift and empower its people through "democra-therapy." Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: Generate an image featuring a vibrant TIME magazine cover with a compelling headline. Illustrate a bustling voting booth in Mississippi surrounded by enthusiastic voters casting Democrat votes for Senators. Show a sense of hope and unity in the air. Next to the voting booth, depict a group of dedicated occupational therapists assisting patients with friendly smiles. Capture the increased demand for their services, symbolizing the state's energetic spirit and determination to uplift and empower its people through "democra-therapy." Portrait the scene with clear focus on the bustling voting booth and the occupational therapists, creating a visually impactful representation of hope and empowerment.

*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 Democrat votes for Senators in Mississippi caused The number of occupational therapists in Mississippi to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

Journal of Political and Occupational Therapy Studies

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 goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences.

Make the title a clever pun.

Your research team used data from MIT Election Data and Science Lab, Harvard Dataverse and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9297138 and p < 0.01 for 2003 to 2020.

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]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Here is the title and abstract of the paper:
[[TITLE]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

The intersection of political dynamics and occupational trends is a realm often left unexplored in the academic sphere. However, our research aimed to delve into this uncharted territory to uncover the potential relationships between Democrat votes for Senators and the number of occupational therapists in Mississippi. While one might think the two are as related as apples and oranges, our findings suggest otherwise.

It's said that occupational therapists are experts in finding a "balance" in life, but our research took it a step further to uncover a potential "political balance" as well. After all, who wouldn't want to analyze the "republicare" and "democralation" in a state like Mississippi?

Using sophisticated statistical analyses, we obtained data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, covering the period from 2003 to 2020. Our results revealed an unexpected and surprisingly high correlation coefficient of 0.9297138 and p < 0.01, indicating a strong relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. It seems that as the support for Democratic Senators increased - inspiring some "blue" professional leanings - so too did the number of occupational therapists in the state.

It seems that even in the field of occupational therapy, the "left" and the "right" may find common ground! But then again, perhaps the joke's on us for presuming that politics and professional trends could not intertwine.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. 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]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
The intersection of political dynamics and occupational trends is a realm often left unexplored in the academic sphere. However, our research aimed to delve into this uncharted territory to uncover the potential relationships between Democrat votes for Senators and the number of occupational therapists in Mississippi. While one might think the two are as related as apples and oranges, our findings suggest otherwise.
It's said that occupational therapists are experts in finding a "balance" in life, but our research took it a step further to uncover a potential "political balance" as well. After all, who wouldn't want to analyze the "republicare" and "democralation" in a state like Mississippi?
Using sophisticated statistical analyses, we obtained data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, covering the period from 2003 to 2020. Our results revealed an unexpected and surprisingly high correlation coefficient of 0.9297138 and p < 0.01, indicating a strong relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. It seems that as the support for Democratic Senators increased - inspiring some "blue" professional leanings - so too did the number of occupational therapists in the state.
It seems that even in the field of occupational therapy, the "left" and the "right" may find common ground! But then again, perhaps the joke's on us for presuming that politics and professional trends could not intertwine.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

A number of studies have explored the relationship between political affiliation and professional trends, shedding light on the potential interconnectedness of these seemingly distinct spheres. Smith and Doe (2018) found a positive correlation between Democratic counties and the presence of healthcare professionals in rural areas. Jones et al. (2015) also uncovered a link between political leaning and the distribution of mental health practitioners in urban settings. While these studies hint at a possible association, none have specifically examined the connection between Democrat votes for Senators and the number of occupational therapists in Mississippi.

Now let's take a brief detour and talk about some real non-fiction books that could be related to our topic: "The Political Brain: The Role of Emotion in Deciding the Fate of the Nation" by Drew Westen and "The Psychology of Occupational Health" by Leka and Cox, just to cover all our bases.

But wait, let's not forget some fictional books that could also be potential sources of inspiration for our research, such as "The Therapist" by B.A. Paris and "Democracy in America" by Alexis de Tocqueville (because who wouldn't want to read a classic while researching occupational therapy and democratic votes?).

In the spirit of comprehensive research, our team also watched some TV shows that could be relevant to our topic, including "The West Wing" and "Grey's Anatomy" (because you never know when a medical drama might offer some insight into occupational therapy and political inclinations).

Returning to more scholarly sources, an analysis by the American Journal of Occupational Therapy (AJOT) highlighted the impact of political factors on occupational therapy practice and policy, emphasizing the need for further investigation into the intersection of politics and professional trends. Furthermore, a report by the Bureau of Labor Statistics delved into the geographical distribution of occupational therapists, laying the groundwork for understanding the regional variations that may be influenced by political dynamics.

And now, for a relevant dad joke: Why did the therapist bring a red pen to work? In case they needed to draw some "red-state-blue-state" diagrams!

While the literature on this topic is scarce, the existing research provides valuable insights into the complex interplay between political dynamics and professional trends. As we navigate through this uncharted territory, it's essential to consider both empirical evidence and a good sense of humor.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from MIT Election Data and Science Lab, Harvard Dataverse and Bureau of Larbor Statistics . You used data from 2003 to 2020

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]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

[[INTRODUCTION]]
The intersection of political dynamics and occupational trends is a realm often left unexplored in the academic sphere. However, our research aimed to delve into this uncharted territory to uncover the potential relationships between Democrat votes for Senators and the number of occupational therapists in Mississippi. While one might think the two are as related as apples and oranges, our findings suggest otherwise.
It's said that occupational therapists are experts in finding a "balance" in life, but our research took it a step further to uncover a potential "political balance" as well. After all, who wouldn't want to analyze the "republicare" and "democralation" in a state like Mississippi?
Using sophisticated statistical analyses, we obtained data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, covering the period from 2003 to 2020. Our results revealed an unexpected and surprisingly high correlation coefficient of 0.9297138 and p < 0.01, indicating a strong relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. It seems that as the support for Democratic Senators increased - inspiring some "blue" professional leanings - so too did the number of occupational therapists in the state.
It seems that even in the field of occupational therapy, the "left" and the "right" may find common ground! But then again, perhaps the joke's on us for presuming that politics and professional trends could not intertwine.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To examine the potential link between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state, our research team embarked on a methodological journey that would make even the most experienced scientist raise an eyebrow - or perhaps an "eye-vote," if you will. Our data collection process involved sourcing information from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, creating a hodgepodge of sources that rivals even the most eclectic collection of mismatched socks in your dresser drawer.

First, in a quest to capture the political pulse of Mississippi, we extracted data on the population's voting patterns in Senatorial elections from the MIT Election Data and Science Lab. Surprisingly, our team discovered that this data wasn't quite as straightforward as checking for blue or red - it seems those Mississippi voters have more colors in their palette than a rainbow! Ah, the joys of political diversity.

Simultaneously, we donned our statistical superhero capes and plunged into the world of occupational therapy, obtained from the Bureau of Labor Statistics. For this part of the data collection, we certainly gained a new appreciation for the intricate world of career paths - it's not just about taking the "right" turn, but also about finding the "lift" in your professional journey, isn't it?

Once we had this mishmash of political and professional data in hand, we engaged in some serious number-crunching, employing the classic Pearson correlation coefficient to assess the relationship between Democrat votes for Senators and the number of occupational therapists. Despite being buried in a pile of numbers that would send even the most dedicated bean-counter into a frenzied fit of calculation, our research team persisted, fueled by a potent cocktail of caffeine and determination.

To ensure the reliability and rigor of our findings, we also conducted robustness checks using alternative statistical models, including regression analyses and spatial correlation techniques. It's safe to say that as our team navigated through the maze of mathematical models, we uncovered correlations as intriguing as those found in a complex family tree - who knew occupational therapists and Democratic Senatorial votes could be distant cousins?

Finally, we subjected our results to extensive sensitivity analyses, akin to scrutinizing every pixel of a meme to ensure it's ripe for humor. Only after subjecting our findings to every possible test we could think of, did we emerge with a wondrous revelation: a significant and eyebrow-raising correlation between Democrat votes for Senators and the number of occupational therapists in Mississippi.

In the end, our methodology may seem as convoluted as a political debate, but rest assured, dear reader, that every twist and turn led to a revelation worthy of scholarly pursuit. As the old saying goes, "There's no therapy like occupational therapy - especially when it's correlated with political leanings!"


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Your research team collected data from all across the internet, but mostly just used information from MIT Election Data and Science Lab, Harvard Dataverse and Bureau of Larbor Statistics .

For the time period 2003 to 2020, you found a correlation 0.9297138, r-squared of 0.8643677, 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]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
The intersection of political dynamics and occupational trends is a realm often left unexplored in the academic sphere. However, our research aimed to delve into this uncharted territory to uncover the potential relationships between Democrat votes for Senators and the number of occupational therapists in Mississippi. While one might think the two are as related as apples and oranges, our findings suggest otherwise.
It's said that occupational therapists are experts in finding a "balance" in life, but our research took it a step further to uncover a potential "political balance" as well. After all, who wouldn't want to analyze the "republicare" and "democralation" in a state like Mississippi?
Using sophisticated statistical analyses, we obtained data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, covering the period from 2003 to 2020. Our results revealed an unexpected and surprisingly high correlation coefficient of 0.9297138 and p < 0.01, indicating a strong relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. It seems that as the support for Democratic Senators increased - inspiring some "blue" professional leanings - so too did the number of occupational therapists in the state.
It seems that even in the field of occupational therapy, the "left" and the "right" may find common ground! But then again, perhaps the joke's on us for presuming that politics and professional trends could not intertwine.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The analysis of the data collected revealed a remarkably strong positive correlation between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state. The correlation coefficient of 0.9297138 indicates an almost perfect positive linear relationship between these variables. This finding suggests that as the level of support for Democratic Senators increased, there was a corresponding increase in the number of occupational therapists in Mississippi.

It's as if the therapists were saying, "We're here to help you find balance, both politically and physically - after all, we specialize in therapeutic "left" and "right" movements!"

The r-squared value of 0.8643677 further supports the robustness of the relationship, with Democrat votes explaining approximately 86.4% of the variation in the number of occupational therapists. This high r-squared value indicates that the variation in the number of occupational therapists can be largely attributed to the variance in Democrat votes for Senators in Mississippi. It's almost as if the political climate is prescribing an occupational therapy boom in the state - talk about a vote of confidence!

The p-value of less than 0.01 provides strong evidence against the null hypothesis of no relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. This indicates that the observed relationship is statistically significant, leaving little room to doubt the connection between political preference and the number of therapeutic practitioners in the state.

These results not only raise eyebrows but also provide remarkable insight into the influence of political dynamics on the occupational landscape. A truly unexpected "Democralation" indeed – who would have thought that the political compass could point us to the therapy room?

(Would you say that this correlation is "republicarely significant"?)

Fig. 1 illustrates the strong correlation between the Democrat votes for Senators and the number of occupational therapists in Mississippi, as evidenced by the tightly clustered data points. This visual depiction further underscores the strength of the relationship between these variables.

Clearly, there is more to occupational therapy in Mississippi than meets the eye, and our findings open the door to a whole new realm of exploration at the intersection of politics and professional trends. It seems that in this case, the state's political landscape and its therapeutic pursuits are more intertwined than we ever imagined.


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

[[LITERATURE REVIEW]]
A number of studies have explored the relationship between political affiliation and professional trends, shedding light on the potential interconnectedness of these seemingly distinct spheres. Smith and Doe (2018) found a positive correlation between Democratic counties and the presence of healthcare professionals in rural areas. Jones et al. (2015) also uncovered a link between political leaning and the distribution of mental health practitioners in urban settings. While these studies hint at a possible association, none have specifically examined the connection between Democrat votes for Senators and the number of occupational therapists in Mississippi.
Now let's take a brief detour and talk about some real non-fiction books that could be related to our topic: "The Political Brain: The Role of Emotion in Deciding the Fate of the Nation" by Drew Westen and "The Psychology of Occupational Health" by Leka and Cox, just to cover all our bases.
But wait, let's not forget some fictional books that could also be potential sources of inspiration for our research, such as "The Therapist" by B.A. Paris and "Democracy in America" by Alexis de Tocqueville (because who wouldn't want to read a classic while researching occupational therapy and democratic votes?).
In the spirit of comprehensive research, our team also watched some TV shows that could be relevant to our topic, including "The West Wing" and "Grey's Anatomy" (because you never know when a medical drama might offer some insight into occupational therapy and political inclinations).
Returning to more scholarly sources, an analysis by the American Journal of Occupational Therapy (AJOT) highlighted the impact of political factors on occupational therapy practice and policy, emphasizing the need for further investigation into the intersection of politics and professional trends. Furthermore, a report by the Bureau of Labor Statistics delved into the geographical distribution of occupational therapists, laying the groundwork for understanding the regional variations that may be influenced by political dynamics.
And now, for a relevant dad joke: Why did the therapist bring a red pen to work? In case they needed to draw some "red-state-blue-state" diagrams!
While the literature on this topic is scarce, the existing research provides valuable insights into the complex interplay between political dynamics and professional trends. As we navigate through this uncharted territory, it's essential to consider both empirical evidence and a good sense of humor.

[[RESULTS]]
The analysis of the data collected revealed a remarkably strong positive correlation between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state. The correlation coefficient of 0.9297138 indicates an almost perfect positive linear relationship between these variables. This finding suggests that as the level of support for Democratic Senators increased, there was a corresponding increase in the number of occupational therapists in Mississippi.
It's as if the therapists were saying, "We're here to help you find balance, both politically and physically - after all, we specialize in therapeutic "left" and "right" movements!"
The r-squared value of 0.8643677 further supports the robustness of the relationship, with Democrat votes explaining approximately 86.4% of the variation in the number of occupational therapists. This high r-squared value indicates that the variation in the number of occupational therapists can be largely attributed to the variance in Democrat votes for Senators in Mississippi. It's almost as if the political climate is prescribing an occupational therapy boom in the state - talk about a vote of confidence!
The p-value of less than 0.01 provides strong evidence against the null hypothesis of no relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. This indicates that the observed relationship is statistically significant, leaving little room to doubt the connection between political preference and the number of therapeutic practitioners in the state.
These results not only raise eyebrows but also provide remarkable insight into the influence of political dynamics on the occupational landscape. A truly unexpected "Democralation" indeed – who would have thought that the political compass could point us to the therapy room?
(Would you say that this correlation is "republicarely significant"?)
Fig. 1 illustrates the strong correlation between the Democrat votes for Senators and the number of occupational therapists in Mississippi, as evidenced by the tightly clustered data points. This visual depiction further underscores the strength of the relationship between these variables.
Clearly, there is more to occupational therapy in Mississippi than meets the eye, and our findings open the door to a whole new realm of exploration at the intersection of politics and professional trends. It seems that in this case, the state's political landscape and its therapeutic pursuits are more intertwined than we ever imagined.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

The results of our study not only support but also amplify the findings of previous research that hinted at a potential link between political leaning and the distribution of healthcare professionals. Smith and Doe (2018) and Jones et al. (2015) laid the groundwork for understanding the influence of political dynamics on the healthcare workforce, and our study extends this line of inquiry specifically to the field of occupational therapy in Mississippi. Our findings align with the wider narrative established by these prior studies, painting a clearer picture of how political factors may shape the professional landscape. It's as if the political stage is set for some occupational therapy drama!

While we may have indulged in some light-hearted references to fictional books and TV shows in our literature review, the seriousness of our findings cannot be overstated. The correlation coefficient of 0.9297138 and p < 0.01 provide robust statistical evidence for a substantial relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. This statistical significance not only confirms but also emphasizes the meaningful association highlighted by prior literature. It's almost as if the political spectrum is prescribing occupational therapy as the remedy for societal divides - after all, who can argue with a therapy session that promotes bipartisanship?

The r-squared value of 0.8643677 further solidifies the strength of this relationship, indicating that a substantial portion of the variance in the number of occupational therapists can be attributed to variations in Democrat votes for Senators. It's as if the political landscape is casting a vote of confidence in the occupational therapy profession in Mississippi. As the saying goes, when it comes to occupational therapists, there's "no left turn unstoned"!

Our study brings to light a rather unexpected aspect of occupational therapy and political dynamics, and it calls for a deeper exploration into the underlying mechanisms driving this correlation. Are there specific policies or initiatives associated with Democratic leadership that influence the demand for occupational therapists in the state? Perhaps occupational therapists are adept at working the "insured" and "rehabilitation" for their patients, mirroring the political considerations surrounding healthcare. The potential implications of these findings are as thought-provoking as they are unexpected.

In conclusion - though we'll save the formal conclusion for later - our study reveals that the connection between Democrat votes for Senators and the number of occupational therapists in Mississippi is more than just a statistical curiosity; it underscores the intricate interplay between politics and professional trends. This unearths a realm of inquiry that demands further investigation, challenging the conventional boundaries of occupational therapy research and political analysis. The relationship between occupational therapy and political orientation in Mississippi is no laughing matter - well, except for those dad jokes back in the literature review!


Model: gpt-3.5-turbo-1106
System prompt: You are a goofy academic researcher writing an academic paper. You follow the rules, but you throw out convention regularly to make jokes and funny asides.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 Democrat votes for Senators in Mississippi and The number of occupational therapists in Mississippi. You can't resist a good dad joke. Add a relevant dad joke related to the content every couple of sentences. Stay serious and dry most of the time, but then occasionally let your wit shine through.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi

[[ABSTRACT]]
The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.

Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.

This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

[[INTRDUCTION]]
The intersection of political dynamics and occupational trends is a realm often left unexplored in the academic sphere. However, our research aimed to delve into this uncharted territory to uncover the potential relationships between Democrat votes for Senators and the number of occupational therapists in Mississippi. While one might think the two are as related as apples and oranges, our findings suggest otherwise.
It's said that occupational therapists are experts in finding a "balance" in life, but our research took it a step further to uncover a potential "political balance" as well. After all, who wouldn't want to analyze the "republicare" and "democralation" in a state like Mississippi?
Using sophisticated statistical analyses, we obtained data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, covering the period from 2003 to 2020. Our results revealed an unexpected and surprisingly high correlation coefficient of 0.9297138 and p < 0.01, indicating a strong relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. It seems that as the support for Democratic Senators increased - inspiring some "blue" professional leanings - so too did the number of occupational therapists in the state.
It seems that even in the field of occupational therapy, the "left" and the "right" may find common ground! But then again, perhaps the joke's on us for presuming that politics and professional trends could not intertwine.

[[RESULTS]]
The analysis of the data collected revealed a remarkably strong positive correlation between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state. The correlation coefficient of 0.9297138 indicates an almost perfect positive linear relationship between these variables. This finding suggests that as the level of support for Democratic Senators increased, there was a corresponding increase in the number of occupational therapists in Mississippi.
It's as if the therapists were saying, "We're here to help you find balance, both politically and physically - after all, we specialize in therapeutic "left" and "right" movements!"
The r-squared value of 0.8643677 further supports the robustness of the relationship, with Democrat votes explaining approximately 86.4% of the variation in the number of occupational therapists. This high r-squared value indicates that the variation in the number of occupational therapists can be largely attributed to the variance in Democrat votes for Senators in Mississippi. It's almost as if the political climate is prescribing an occupational therapy boom in the state - talk about a vote of confidence!
The p-value of less than 0.01 provides strong evidence against the null hypothesis of no relationship between Democrat votes for Senators and the number of occupational therapists in Mississippi. This indicates that the observed relationship is statistically significant, leaving little room to doubt the connection between political preference and the number of therapeutic practitioners in the state.
These results not only raise eyebrows but also provide remarkable insight into the influence of political dynamics on the occupational landscape. A truly unexpected "Democralation" indeed – who would have thought that the political compass could point us to the therapy room?
(Would you say that this correlation is "republicarely significant"?)
Fig. 1 illustrates the strong correlation between the Democrat votes for Senators and the number of occupational therapists in Mississippi, as evidenced by the tightly clustered data points. This visual depiction further underscores the strength of the relationship between these variables.
Clearly, there is more to occupational therapy in Mississippi than meets the eye, and our findings open the door to a whole new realm of exploration at the intersection of politics and professional trends. It seems that in this case, the state's political landscape and its therapeutic pursuits are more intertwined than we ever imagined.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, our study has shed light on the surprising and robust correlation between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state. It seems like Mississippians are voting for more than just their political beliefs; they may also be inadvertently influencing the state's occupational therapy workforce! Looks like they're not just casting ballots, but also casting spells on the local job market.

The statistically significant relationship between these variables suggests that political dynamics may exert a considerable influence on the professional landscape, transcending beyond the voting booth and into the therapy room. It’s a "Democralation" situation indeed - who knew that political leaning could have such a therapeutic impact?

Our findings highlight the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce and a more politically aligned physical therapy session? It's a win-win situation!

As talk show host Stephen Colbert once said, "Occupational therapy: where the left hand doesn't know what the right hand is doing, but it's okay because they are both getting therapy!" And in Mississippi, it seems like the Democrat-voting left hand and the burgeoning number of occupational therapists might actually be on the same page after all.

Therefore, we cautiously but confidently assert that no more research is needed in this area - after all, we've already uncovered the therapy for political divides! And if you need a second opinion, just remember, "occupational therapists are always there to lend a helping hand."

(No more research needed - we've already reached the "republicarely significant" conclusion!)


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 Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Political and Occupational Therapy Studies


Model: gpt-3.5-turbo-1106
System prompt: You provide fictional names of nonprofit research organizations and associations. You say nothing else, and you do not chat with the user.
User prompt: Please provide the name of a funny but plausible sounding nonprofit, academic, or scientific association or organization that would sponsor research that resulted in a paper entited Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi. Respond only with the name of a fictional organization.

ChatGPT:

The Society for Political and Occupational Integration Research (SPOIR)


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 Voting Left, Therapists Right: The Correlation Between Democrat Votes for Senators and Occupational Therapists in Mississippi with an abstract of The connection between political leaning and occupational trends is a topic that is not often discussed, but our research team delved into this uncharted territory. Using data from the MIT Election Data and Science Lab, Harvard Dataverse, and the Bureau of Labor Statistics, we endeavored to unravel the mystery behind the correlation - or should I say "Democralation"? - between Democrat votes for Senators in Mississippi and the number of occupational therapists in the state.
Our findings revealed a surprising correlation coefficient of 0.9297138 and p < 0.01 for the time period of 2003 to 2020, indicating a strong relationship between these seemingly unrelated factors. It seems that as the support for Democratic Senators in Mississippi increased - perhaps inspiring some "blue" occupational therapy - so too did the number of occupational therapists in the state.
This correlation sparks the question, "What's the therapy for a political divide?” - and no, it's not just delegating more "republicare" time. Our research not only sheds light on this peculiar association but also emphasizes the need for further investigation into the intersections of politics and professional trends. After all, who wouldn't want to cast their vote for a healthier, more balanced workforce?

ChatGPT:

Democrat votes, Senators, occupational therapists, Mississippi, correlation, political leaning, professional trends, MIT Election Data and Science Lab, Harvard Dataverse, Bureau of Labor Statistics, "Democralation", correlation coefficient, "blue" occupational therapy, therapy for political divide

*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

Votes for Democratic Senators in Mississippi
Detailed data title: Total number of votes cast for Federal Democrat Senate candidates in Mississippi
Source: MIT Election Data and Science Lab, Harvard Dataverse
See what else correlates with Votes for Democratic Senators in Mississippi

The number of occupational therapists in Mississippi
Detailed data title: BLS estimate of occupational therapists in Mississippi
Source: Bureau of Larbor Statistics
See what else correlates with The number of occupational therapists in Mississippi

Correlation r = 0.9297138 (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.8643677 (Coefficient of determination)
This means 86.4% of the change in the one variable (i.e., The number of occupational therapists in Mississippi) is predictable based on the change in the other (i.e., Votes for Democratic Senators in Mississippi) over the 6 years from 2003 through 2020.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 0.0072. 0.0072366208094538250000000000
The p-value is a measure of how probable it is that we would randomly find a result this extreme. More specifically the p-value is a measure of how probable it is that we would randomly find a result this extreme if we had only tested one pair of variables one time.

But I am a p-villain. I absolutely did not test only one pair of variables one time. I correlated hundreds of millions of pairs of variables. I threw boatloads of data into an industrial-sized blender to find this correlation.

Who is going to stop me? p-value reporting doesn't require me to report how many calculations I had to go through in order to find a low p-value!
On average, you will find a correaltion as strong as 0.93 in 0.72% of random cases. Said differently, if you correlated 138 random variables Which I absolutely did.
with the same 5 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 5 because we have two variables measured over a period of 6 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.48, 0.99 ] 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.
200620082012201420182020
Votes for Democratic Senators in Mississippi (Total votes)213000480915503467239439790386578691
The number of occupational therapists in Mississippi (Occupational Therapists)670850900750980830




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. Very low n: There are not many data points included in this analysis. Even if the p-value is high, we should be suspicious of using so few datapoints in a correlation.
  5. 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([213000,480915,503467,239439,790386,578691,])
array_2 = np.array([670,850,900,750,980,830,])
array_1_name = "Votes for Democratic Senators in Mississippi"
array_2_name = "The number of occupational therapists in Mississippi"

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

Kudos for rating!


Correlation ID: 4544 · Black Variable ID: 26263 · Red Variable ID: 10219
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0