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

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is Master's degrees awarded in Public administration and the second variable is The number of accountants and auditors in Arizona.  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 public administration masterminds emerged, they realized the COUNTless opportunities in Arizona for number-crunching and AUDITing. The MASTERY of financial management and budgeting made them the TOP CREDITors in the state's workforce. It's as if a degree in public administration unlocked the VAULT to a whole new world of accounting opportunities in the Grand Canyon State!

Model: dalle-3
Prompt: The image generation prompt for DALLE-3 in a high-tech style, depicting the scene of bustling Arizona city transformed by Master's graduates in Public Administration, could be the following: "Generate an aerial view of a futuristic Arizona cityscape, with sleek and modern buildings towering against a backdrop of clear blue skies. In the streets, graduates with Master's degrees in Public Administration are seen engaging with the community, their animated discussions visible through transparent holographic displays. As they impart their expertise on managing public funds, a digital wave of organization and precision sweeps through the streets, represented by streams of data flowing seamlessly between the citizens and the administrative professionals. The city is alive with the hum of advanced technology, as robotic assistants and AI platforms assist in analyzing and optimizing financial strategies. The scene captures the seamless integration of public administration and high-tech innovation, ushering in a new era of efficiency and order in the city." 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: Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. 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 Scalar art Woodblock painting inspired by bauhaus Cutsy graphics
ChatGPT: High-tech

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 Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona, in the following situation: As more people became proficient in managing public funds, they inadvertently sparked a statewide obsession with organizing and tallying everything in sight. It's like they unleashed a primal urge for numerical order and financial precision among the population. The allure of spreadsheets and balanced budgets became irresistible, leading to a surge in the number of accountants and auditors across Arizona. It's as if the city streets just started echoing with the sound of calculators and the faint scent of freshly printed financial reports. The power of public administration knowledge inadvertently turned Arizona into a hotbed for number-crunching enthusiasts, ultimately shaping the state's financial landscape in an unexpected way.. Keep the description simple.
ChatGPT: In a bustling Arizona city, graduates with Master's degrees in Public Administration are seen eagerly sharing their knowledge with the community. As they enthusiastically discuss managing public funds, a wave of organization and precision spreads through the streets. The city is suddenly buzzing with accountants and auditors meticulously tallying and strategizing, their calculators echoing across the landscape. The influence of public administration has inadvertently transformed Arizona into a hub of financial order and precision.

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: [ High-tech ] and depicting this scene: In a bustling Arizona city, graduates with Master's degrees in Public Administration are seen eagerly sharing their knowledge with the community. As they enthusiastically discuss managing public funds, a wave of organization and precision spreads through the streets. The city is suddenly buzzing with accountants and auditors meticulously tallying and strategizing, their calculators echoing across the landscape. The influence of public administration has inadvertently transformed Arizona into a hub of financial order and precision. Keep the visual depiction simple. Do not include any words or speech bubbles.
ChatGPT: The image generation prompt for DALLE-3 in a high-tech style, depicting the scene of bustling Arizona city transformed by Master's graduates in Public Administration, could be the following: "Generate an aerial view of a futuristic Arizona cityscape, with sleek and modern buildings towering against a backdrop of clear blue skies. In the streets, graduates with Master's degrees in Public Administration are seen engaging with the community, their animated discussions visible through transparent holographic displays. As they impart their expertise on managing public funds, a digital wave of organization and precision sweeps through the streets, represented by streams of data flowing seamlessly between the citizens and the administrative professionals. The city is alive with the hum of advanced technology, as robotic assistants and AI platforms assist in analyzing and optimizing financial strategies. The scene captures the seamless integration of public administration and high-tech innovation, ushering in a new era of efficiency and order in the city."

*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 Master's degrees awarded in Public administration caused The number of accountants and auditors in Arizona to increase. Include one good pun.

AI academic paper

(Because p < 0.01)
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

Journal of Financial Punditry

Jan 2024

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




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

Please draft the title and abstract of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns.

Make the title punny if you can come up with clever pun. If not, just make it sound clever.

Your research team used data from National Center for Education Statistics and Bureau of Larbor Statistics to assess this nagging question. You found a correlation coefficient of 0.9811454 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]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.


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

Please make up the introduction section of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Here is the title and abstract of the paper:
[[TITLE]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

-------

Your response should start like this:

[[INTRODUCTION]]



ChatGPT:
[[INTRODUCTION]]

It is often said that there are no shortcuts to success, but we believe that in the world of academic research, a good pun is the shortest distance between two points. The intersection of public administration and accounting may seem like a match made in wonky-data-heaven, but hey, stranger things have happened in the realm of statistics. So buckle up, dear readers, as we take a joyride through the numbers and giggles, and unfold the playful yet impactful connection between Master's degrees in Public Administration and the number of accountants and auditors in the captivating state of Arizona.

We initially stumbled upon this research question during a team meeting that was eerily quiet, except for the distant whirring of calculators. As we pondered the coexistence of public administration and accounting, it became clear that this correlation is not just a statistical fluke, but a real-life manifestation of the saying "where there's a bill, there's a way." So, armed with our spreadsheets and an enthusiasm for discovering the unexpected, we began our journey to shed light on this enigmatic relationship.

Before we dive into the nitty-gritty, it's crucial to acknowledge the inherent link between these two domains – governing the administration of public resources and making sense of money matters. It's like a dance-off between bureaucracy and balance sheets, and we sought to find out who's leading the tango. Science and statistics may seem like serious business, but we firmly believe that a good chuckle now and then can ease the burden of complex hypotheses and boggling equations. After all, what's a research paper without a sprinkle of wit and whimsy?

So, as we embark on this playful yet rigorous quest for knowledge and statistical shenanigans, we invite you to join us in uncovering the delightful interplay of Master's degrees in Public Administration and the bustling world of accounting in the land of cacti and canyons. Let's put the "fun" in functional analysis and the "laughter" in linear regression, and unravel the peculiar dance of numbers and narratives that shapes the professional tapestry of Arizona's financial governance landscape.


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

Please make up a literature review section of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns.

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

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

Start by naming serious-sounding studies by authors like Smith, Doe, and Jones - but then quickly devolve. Name some real non-fiction books that would be related to the topic. Then name some real fiction books that sound like they could be related. Then name a couple popular internet memes that are related to one of the topics.

Here is the title and abstract of the paper:
[[TITLE]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

-------

And here is the introduction section that led to this literature review:
[[INTRODUCTION]]
It is often said that there are no shortcuts to success, but we believe that in the world of academic research, a good pun is the shortest distance between two points. The intersection of public administration and accounting may seem like a match made in wonky-data-heaven, but hey, stranger things have happened in the realm of statistics. So buckle up, dear readers, as we take a joyride through the numbers and giggles, and unfold the playful yet impactful connection between Master's degrees in Public Administration and the number of accountants and auditors in the captivating state of Arizona.
We initially stumbled upon this research question during a team meeting that was eerily quiet, except for the distant whirring of calculators. As we pondered the coexistence of public administration and accounting, it became clear that this correlation is not just a statistical fluke, but a real-life manifestation of the saying "where there's a bill, there's a way." So, armed with our spreadsheets and an enthusiasm for discovering the unexpected, we began our journey to shed light on this enigmatic relationship.
Before we dive into the nitty-gritty, it's crucial to acknowledge the inherent link between these two domains – governing the administration of public resources and making sense of money matters. It's like a dance-off between bureaucracy and balance sheets, and we sought to find out who's leading the tango. Science and statistics may seem like serious business, but we firmly believe that a good chuckle now and then can ease the burden of complex hypotheses and boggling equations. After all, what's a research paper without a sprinkle of wit and whimsy?
So, as we embark on this playful yet rigorous quest for knowledge and statistical shenanigans, we invite you to join us in uncovering the delightful interplay of Master's degrees in Public Administration and the bustling world of accounting in the land of cacti and canyons. Let's put the "fun" in functional analysis and the "laughter" in linear regression, and unravel the peculiar dance of numbers and narratives that shapes the professional tapestry of Arizona's financial governance landscape.

-------

Your response should start like this:

[[LITERATURE REVIEW]]



ChatGPT:
[[LITERATURE REVIEW]]

In their seminal work, Smith et al. (2015) examined the relationship between the influx of Master's degrees in Public Administration and the burgeoning numbers of accountants and auditors in various states. Their meticulous study uncovered a compelling correlation, suggesting that the pursuit of higher education in public administration directly influences the demand for number-crunching aficionados in the labor market. Similarly, Doe and Jones (2018) conducted a comprehensive analysis that echoed these findings, shedding light on the symbiotic dance between administrative prowess and financial stewardship.

However, delving further into the realm of literature, we encounter an unexpected twist. In "Book About Mind-Blowing Connections" by Researcher Extraordinaire, the authors find a surprising parallel between the rise of accountants and auditors and the popularity of fishing in the state of Arizona. Now, we know what you're thinking – how on earth could fishing possibly relate to accounting? Well, it turns out that the fishers of Arizona have long been advocates of balanced scales, albeit of the piscine variety.

Taking a leap into the realm of non-fiction literature related to the subject matter, "Financial Governance in the Desert: A Decade-Long Saga" by Expert Analyst delves into the intricacies of financial management against the backdrop of Arizona's unique landscape. The author presents compelling insights into the correlation between public administration education and the evolution of financial governance practices in the state. Meanwhile, "The Cactus Conundrum" by Economic Guru examines the intertwined nature of administrative decision-making and the demands for fiscal oversight in Arizona, laying the groundwork for understanding the interconnectedness of these domains.

On a more whimsical note, in the realm of fiction, "The Auditor's Apprentice" by Novel Enthusiast paints a captivating tale of a young protagonist striving to navigate the labyrinthine corridors of public administration while grappling with the enigmatic art of auditing. This tale interweaves the complexities of administrative acumen with the allure of number crunching, converging in an unexpected, delightful manner.

Not to be outdone by literature, popular internet memes have also had their say in this intricate web of correlation. The "Unimpressed Accountant Cat" meme has gained widespread popularity, capturing the essence of fiscal scrutiny and adding a dash of humor to the serious world of number analysis. The iconic image of a feline with an unimpressed expression seems to echo the sentiment of accountants and auditors as they pore over financial statements, forever unyielding in their quest for precision and accuracy.

As we traverse this literary landscape filled with serious research, unexpected connections, and the occasional dash of whimsy, it becomes evident that the convergence of Master's degrees in Public Administration and the number of accountants and auditors in Arizona is a colorful tapestry woven with threads of correlation, quirky associations, and perhaps a feline or two.


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

Please make up the methodology section of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Your research team collected data from all across the internet, but mostly just used information from National Center for Education Statistics and Bureau of Larbor Statistics . 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]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

[[INTRODUCTION]]
It is often said that there are no shortcuts to success, but we believe that in the world of academic research, a good pun is the shortest distance between two points. The intersection of public administration and accounting may seem like a match made in wonky-data-heaven, but hey, stranger things have happened in the realm of statistics. So buckle up, dear readers, as we take a joyride through the numbers and giggles, and unfold the playful yet impactful connection between Master's degrees in Public Administration and the number of accountants and auditors in the captivating state of Arizona.
We initially stumbled upon this research question during a team meeting that was eerily quiet, except for the distant whirring of calculators. As we pondered the coexistence of public administration and accounting, it became clear that this correlation is not just a statistical fluke, but a real-life manifestation of the saying "where there's a bill, there's a way." So, armed with our spreadsheets and an enthusiasm for discovering the unexpected, we began our journey to shed light on this enigmatic relationship.
Before we dive into the nitty-gritty, it's crucial to acknowledge the inherent link between these two domains – governing the administration of public resources and making sense of money matters. It's like a dance-off between bureaucracy and balance sheets, and we sought to find out who's leading the tango. Science and statistics may seem like serious business, but we firmly believe that a good chuckle now and then can ease the burden of complex hypotheses and boggling equations. After all, what's a research paper without a sprinkle of wit and whimsy?
So, as we embark on this playful yet rigorous quest for knowledge and statistical shenanigans, we invite you to join us in uncovering the delightful interplay of Master's degrees in Public Administration and the bustling world of accounting in the land of cacti and canyons. Let's put the "fun" in functional analysis and the "laughter" in linear regression, and unravel the peculiar dance of numbers and narratives that shapes the professional tapestry of Arizona's financial governance landscape.

-------

Your response should start like this:

[[METHODOLOGY]]



ChatGPT:

[[METHODOLOGY]]

To investigate the intertwined fates of Master's degrees in Public Administration and the daunting herd of accountants and auditors in Arizona, we concocted a research methodology that was as robust as it was lighthearted. Our approach was akin to a treasure hunt through the statistical underbrush, aiming to unveil the glittering connection between these seemingly disparate domains.

Data Collection:

Our eager team of data wranglers scoured the vast expanse of the internet, armed with determination and an assortment of caffeinated beverages. The National Center for Education Statistics and the Bureau of Labor Statistics became our digital comrades-in-arms, providing us with the numerical ammunition needed for our quest. We meticulously gathered information on the number of Master's degrees awarded in Public Administration and the count of accountants and auditors in Arizona from 2012 to 2021, meticulously sifting through the data like eager prospectors panning for gold.

Statistical Analysis:

With our burgeoning dataset in hand, we embarked upon a statistical escapade that would make even the most stoic of researchers crack a smile. Armed with a phalanx of statistical software, we conjured up scatter plots, correlation matrices, and regression models as if they were magical spells from a research sorcerer's handbook. Our robust statistical analysis sought to unearth the precise relationship between the influx of administrative prowess and the proliferation of number-crunching virtuosos in the sunny realm of Arizona.

Correlation Coefficients and P-Values:

In the grand tradition of statistical enlightenment, we computed the correlation coefficient between the number of Master's degrees in Public Administration and the quantity of accountants and auditors in Arizona. Our results revealed a correlation coefficient of 0.9811454, sending ripples of excitement through our research den. This notable value, coupled with a p-value less than 0.01, cemented the statistical significance of our findings. It was as if the fates of public administration and accountancy were entwined in a Mississippian square dance of statistical camaraderie.

Limitations and Caveats:

While our research endeavors were indeed filled with mirth and mischief, it's important to acknowledge the limitations of our methodology. The data, though comprehensive, may not encapsulate the entirety of the complex relationship between these two domains. Additionally, our analysis is based on correlation and does not imply causation, much to the dismay of aspiring puppeteers in the realm of statistics. Nevertheless, our findings provide a captivating glimpse into the whimsical interplay of academic pursuits and professional landscapes in the state of Arizona.

In summary, our research methodology was a whimsical yet robust odyssey into the heart of statistical symbiosis, seeking to unveil the intriguing dance between Master's degrees in Public Administration and the fervent community of accountants and auditors in the captivating state of Arizona. We hope that our methodological revelry provides both insights and levity, proving that even in the serious realm of academic inquiry, there's always room for a sprinkle of statistical silliness.


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

Please make up the results section of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

For the time period 2012 to 2021, you found a correlation 0.9811454, r-squared of 0.9626463, 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]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

-------

And here is the methodology section that led to this result:
[[METHODOLOGY]]
It is often said that there are no shortcuts to success, but we believe that in the world of academic research, a good pun is the shortest distance between two points. The intersection of public administration and accounting may seem like a match made in wonky-data-heaven, but hey, stranger things have happened in the realm of statistics. So buckle up, dear readers, as we take a joyride through the numbers and giggles, and unfold the playful yet impactful connection between Master's degrees in Public Administration and the number of accountants and auditors in the captivating state of Arizona.
We initially stumbled upon this research question during a team meeting that was eerily quiet, except for the distant whirring of calculators. As we pondered the coexistence of public administration and accounting, it became clear that this correlation is not just a statistical fluke, but a real-life manifestation of the saying "where there's a bill, there's a way." So, armed with our spreadsheets and an enthusiasm for discovering the unexpected, we began our journey to shed light on this enigmatic relationship.
Before we dive into the nitty-gritty, it's crucial to acknowledge the inherent link between these two domains – governing the administration of public resources and making sense of money matters. It's like a dance-off between bureaucracy and balance sheets, and we sought to find out who's leading the tango. Science and statistics may seem like serious business, but we firmly believe that a good chuckle now and then can ease the burden of complex hypotheses and boggling equations. After all, what's a research paper without a sprinkle of wit and whimsy?
So, as we embark on this playful yet rigorous quest for knowledge and statistical shenanigans, we invite you to join us in uncovering the delightful interplay of Master's degrees in Public Administration and the bustling world of accounting in the land of cacti and canyons. Let's put the "fun" in functional analysis and the "laughter" in linear regression, and unravel the peculiar dance of numbers and narratives that shapes the professional tapestry of Arizona's financial governance landscape.

-------

Your response should start like this:

[[RESULTS]]



ChatGPT:

[[RESULTS]]

The results of our data analysis have not only confirmed the existence of a significant correlation between the number of Master's degrees awarded in Public Administration and the count of accountants and auditors in Arizona but have also added a splash of whimsy to the statistical landscape. From 2012 to 2021, we found a striking correlation coefficient of 0.9811454, indicating a robust relationship resembling the dependable bond between a calculator and its batteries. The calculated r-squared of 0.9626463 further emphasizes the tight embrace of these two variables, akin to the unbreakable alliance between a diligent bean counter and their trusty abacus. Additionally, with a p-value less than 0.01, the statistical significance of this association stands as firm as a bureaucratic decree and is as clear as a well-maintained balance sheet.

Not content with merely pontificating about statistical values and hypotheses, we present Figure 1, a delightful scatterplot that visually encapsulates the lockstep dance of Master's degrees in Public Administration and the legion of accountants and auditors in Arizona. This captivating visualization is akin to a graceful waltz of data points, harmoniously twirling and swirling to the beat of the correlation coefficient, painting a picture that resonates with the melodic hum of academic curiosity and statistical elegance.

The findings of this study not only highlight the profound influence of higher education in public administration on the accounting industry in Arizona but also underscore the charming synergy between administrative expertise and number-crunching prowess. Hence, it is with a sprinkle of statistical stardust and a dash of research whimsy that we present our results, inviting readers to join us in applauding the delightful convergence of these scholarly contrarians, with the panorama of Arizona's financial governance as their stage.


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

Please make up the discussion section of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

Limit your response to 500 tokens.

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

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

[[TITLE]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

[[LITERATURE REVIEW]]
In their seminal work, Smith et al. (2015) examined the relationship between the influx of Master's degrees in Public Administration and the burgeoning numbers of accountants and auditors in various states. Their meticulous study uncovered a compelling correlation, suggesting that the pursuit of higher education in public administration directly influences the demand for number-crunching aficionados in the labor market. Similarly, Doe and Jones (2018) conducted a comprehensive analysis that echoed these findings, shedding light on the symbiotic dance between administrative prowess and financial stewardship.
However, delving further into the realm of literature, we encounter an unexpected twist. In "Book About Mind-Blowing Connections" by Researcher Extraordinaire, the authors find a surprising parallel between the rise of accountants and auditors and the popularity of fishing in the state of Arizona. Now, we know what you're thinking – how on earth could fishing possibly relate to accounting? Well, it turns out that the fishers of Arizona have long been advocates of balanced scales, albeit of the piscine variety.
Taking a leap into the realm of non-fiction literature related to the subject matter, "Financial Governance in the Desert: A Decade-Long Saga" by Expert Analyst delves into the intricacies of financial management against the backdrop of Arizona's unique landscape. The author presents compelling insights into the correlation between public administration education and the evolution of financial governance practices in the state. Meanwhile, "The Cactus Conundrum" by Economic Guru examines the intertwined nature of administrative decision-making and the demands for fiscal oversight in Arizona, laying the groundwork for understanding the interconnectedness of these domains.
On a more whimsical note, in the realm of fiction, "The Auditor's Apprentice" by Novel Enthusiast paints a captivating tale of a young protagonist striving to navigate the labyrinthine corridors of public administration while grappling with the enigmatic art of auditing. This tale interweaves the complexities of administrative acumen with the allure of number crunching, converging in an unexpected, delightful manner.
Not to be outdone by literature, popular internet memes have also had their say in this intricate web of correlation. The "Unimpressed Accountant Cat" meme has gained widespread popularity, capturing the essence of fiscal scrutiny and adding a dash of humor to the serious world of number analysis. The iconic image of a feline with an unimpressed expression seems to echo the sentiment of accountants and auditors as they pore over financial statements, forever unyielding in their quest for precision and accuracy.
As we traverse this literary landscape filled with serious research, unexpected connections, and the occasional dash of whimsy, it becomes evident that the convergence of Master's degrees in Public Administration and the number of accountants and auditors in Arizona is a colorful tapestry woven with threads of correlation, quirky associations, and perhaps a feline or two.

[[RESULTS]]
The results of our data analysis have not only confirmed the existence of a significant correlation between the number of Master's degrees awarded in Public Administration and the count of accountants and auditors in Arizona but have also added a splash of whimsy to the statistical landscape. From 2012 to 2021, we found a striking correlation coefficient of 0.9811454, indicating a robust relationship resembling the dependable bond between a calculator and its batteries. The calculated r-squared of 0.9626463 further emphasizes the tight embrace of these two variables, akin to the unbreakable alliance between a diligent bean counter and their trusty abacus. Additionally, with a p-value less than 0.01, the statistical significance of this association stands as firm as a bureaucratic decree and is as clear as a well-maintained balance sheet.
Not content with merely pontificating about statistical values and hypotheses, we present Figure 1, a delightful scatterplot that visually encapsulates the lockstep dance of Master's degrees in Public Administration and the legion of accountants and auditors in Arizona. This captivating visualization is akin to a graceful waltz of data points, harmoniously twirling and swirling to the beat of the correlation coefficient, painting a picture that resonates with the melodic hum of academic curiosity and statistical elegance.
The findings of this study not only highlight the profound influence of higher education in public administration on the accounting industry in Arizona but also underscore the charming synergy between administrative expertise and number-crunching prowess. Hence, it is with a sprinkle of statistical stardust and a dash of research whimsy that we present our results, inviting readers to join us in applauding the delightful convergence of these scholarly contrarians, with the panorama of Arizona's financial governance as their stage.

-------

Your response should start like this:

[[DISCUSSION]]



ChatGPT:

[[DISCUSSION]]

Our findings not only lend weight to the previous research conducted by Smith et al. (2015) and Doe and Jones (2018) but also sprinkle a little scientific humor into the mix. The correlation coefficient of 0.9811454 we unearthed is about as close-knit as a union between peanut butter and jelly, or perhaps a reflector and the sun's rays. This statistical revelation further validates the suggestion that the pursuit of higher education in public administration holds a significant sway over the number of number-crunching connoisseurs populating the Arizona employment landscape. It's as if the state's financial sector has been inhaling the rarefied air of administrative academia, prompting a visible uptick in the demand for accounting aficionados.

A perusal of the literature showcased an intriguing yet informal association between the rise of accountants and auditors and the popularity of fishing in the state of Arizona. We might just call it "the reel connection." Now, we won’t go as far as baiting you with wild speculation, but it's uncanny how the scales of the piscine world seem to have tipped in favor of balanced bookkeeping in Arizona. Researcher Extraordinaire's findings may be surprising, but they underline the interconnectedness of seemingly disparate activities and professions. As for the rise in accountants and auditors paralleling the popularity of fishing, it's no fishy business - just a jaunty piece of statistical trivia.

The delightful scatterplot presented in Figure 1, akin to a data-driven dance recital, not only enlivens the usually serious world of statistics but also paints a vivid picture of the close relationship between the two variables. It’s as if the dance floor metaphorically represents the correlation coefficient and the data points are the nimble feet of statistical significance, elegantly gliding across the axis. The data visualization serves as a whimsical portrayal of the harmonic relationship between the pursuit of administrative education and the proliferation of accounting aficionados in Arizona, akin to a merry waltz of numbers and acumen.

In essence, our results not only affirm the serious statistical significance of the connection between Master's degrees in Public Administration and the number of accountants and auditors in Arizona, but also add a dash of lighthearted scientific merriment to the scholarly milieu, illuminating the amusing yet undeniable interplay between administrative expertise and financial stewardship. And who said science and research couldn't have a waltz with whimsy?


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

Please make up a short conclusion of an academic research paper presenting the findings of the connection between Master's degrees awarded in Public administration and The number of accountants and auditors in Arizona. Make lots of jokes, goofy observations, and puns. Sneak in some jokes and clever puns about science, research, statistics, and the variables.

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

Here are the title, abstract, introduction, and results sections.
[[TITLE]]
Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona

[[ABSTRACT]]
This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

[[INTRDUCTION]]
It is often said that there are no shortcuts to success, but we believe that in the world of academic research, a good pun is the shortest distance between two points. The intersection of public administration and accounting may seem like a match made in wonky-data-heaven, but hey, stranger things have happened in the realm of statistics. So buckle up, dear readers, as we take a joyride through the numbers and giggles, and unfold the playful yet impactful connection between Master's degrees in Public Administration and the number of accountants and auditors in the captivating state of Arizona.
We initially stumbled upon this research question during a team meeting that was eerily quiet, except for the distant whirring of calculators. As we pondered the coexistence of public administration and accounting, it became clear that this correlation is not just a statistical fluke, but a real-life manifestation of the saying "where there's a bill, there's a way." So, armed with our spreadsheets and an enthusiasm for discovering the unexpected, we began our journey to shed light on this enigmatic relationship.
Before we dive into the nitty-gritty, it's crucial to acknowledge the inherent link between these two domains – governing the administration of public resources and making sense of money matters. It's like a dance-off between bureaucracy and balance sheets, and we sought to find out who's leading the tango. Science and statistics may seem like serious business, but we firmly believe that a good chuckle now and then can ease the burden of complex hypotheses and boggling equations. After all, what's a research paper without a sprinkle of wit and whimsy?
So, as we embark on this playful yet rigorous quest for knowledge and statistical shenanigans, we invite you to join us in uncovering the delightful interplay of Master's degrees in Public Administration and the bustling world of accounting in the land of cacti and canyons. Let's put the "fun" in functional analysis and the "laughter" in linear regression, and unravel the peculiar dance of numbers and narratives that shapes the professional tapestry of Arizona's financial governance landscape.

[[RESULTS]]
The results of our data analysis have not only confirmed the existence of a significant correlation between the number of Master's degrees awarded in Public Administration and the count of accountants and auditors in Arizona but have also added a splash of whimsy to the statistical landscape. From 2012 to 2021, we found a striking correlation coefficient of 0.9811454, indicating a robust relationship resembling the dependable bond between a calculator and its batteries. The calculated r-squared of 0.9626463 further emphasizes the tight embrace of these two variables, akin to the unbreakable alliance between a diligent bean counter and their trusty abacus. Additionally, with a p-value less than 0.01, the statistical significance of this association stands as firm as a bureaucratic decree and is as clear as a well-maintained balance sheet.
Not content with merely pontificating about statistical values and hypotheses, we present Figure 1, a delightful scatterplot that visually encapsulates the lockstep dance of Master's degrees in Public Administration and the legion of accountants and auditors in Arizona. This captivating visualization is akin to a graceful waltz of data points, harmoniously twirling and swirling to the beat of the correlation coefficient, painting a picture that resonates with the melodic hum of academic curiosity and statistical elegance.
The findings of this study not only highlight the profound influence of higher education in public administration on the accounting industry in Arizona but also underscore the charming synergy between administrative expertise and number-crunching prowess. Hence, it is with a sprinkle of statistical stardust and a dash of research whimsy that we present our results, inviting readers to join us in applauding the delightful convergence of these scholarly contrarians, with the panorama of Arizona's financial governance as their stage.

-------

Your response should start like this:

[[CONCLUSION]]



ChatGPT:

[[CONCLUSION]]

In conclusion, it's crystal clear that the relationship between Master's degrees in Public Administration and the number of accountants and auditors in Arizona is as tight-knit as a bean counter and their trusty abacus. Our findings not only shed light on this enchanting connection but also pepper the statistical landscape with a dash of whimsy and a pinch of puns.

As we bid adieu to our data analysis escapade, it's safe to say that we've uncovered a correlation so strong, it's like a bureaucratic decree in the realm of financial governance. From the delightful embrace of a high correlation coefficient to the enchanting waltz of data points in our scatterplot, our research journey has been as exhilarating as a rollercoaster ride through the realm of numbers and narratives. We've proven that when it comes to the realms of public administration and accounting, a good chuckle can indeed ease the burden of complex hypotheses and boggling equations.

In the wise words of Albert Einstein (or was it a fortune cookie?), "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science." And so, with our research paper as our magnum opus, we can proudly proclaim that no more research is needed in this area. The charming tango of numbers and narratives has been delightfully uncovered, leaving us with a statistical masterpiece that sparkles like a well-maintained balance sheet under the Arizona sun.


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 Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona. Respond only with the name of a fictional academic journal.

ChatGPT:

Journal of Financial Punditry


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 Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona. Respond only with the name of a fictional organization.

ChatGPT:

The Institute for Public Sector Excellence


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 Degrees of Accounting: Exploring the Auditing Effects of Public Administration Master's Degrees in Arizona with an abstract of This study delves into the connection between the number of Master's degrees awarded in Public Administration and the quantity of accountants and auditors in the beautiful state of Arizona. With one eye on the books and another on the data, our research team embarked on a journey using statistics from the National Center for Education Statistics and the Bureau of Labor Statistics to unravel this enigmatic relationship. The findings showcase a correlation coefficient of 0.9811454 and p < 0.01 from 2012 to 2021, proving that the pursuit of higher education in public administration has a profound influence on the accounting landscape in the Grand Canyon State. This paper not only illuminates the statistical significance but also captures the quirky convergence of administrative expertise and number-crunching prowess that shapes the realm of financial governance in the sunny desert domain.

ChatGPT:

Arizona, Public Administration Master's Degrees, accounting landscape, auditors, National Center for Education Statistics, Bureau of Labor Statistics, correlation coefficient, higher education influence, financial governance, Arizona accountants, Arizona auditors, Arizona public administration degrees, statistical significance, administrative expertise

*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

Master's degrees awarded in Public administration
Detailed data title: Master's degrees conferred by postsecondary institutions in Public administration and social services
Source: National Center for Education Statistics
See what else correlates with Master's degrees awarded in Public administration

The number of accountants and auditors in Arizona
Detailed data title: BLS estimate of accountants and auditors in Arizona
Source: Bureau of Larbor Statistics
See what else correlates with The number of accountants and auditors in Arizona

Correlation r = 0.9811454 (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.9626463 (Coefficient of determination)
This means 96.3% of the change in the one variable (i.e., The number of accountants and auditors in Arizona) is predictable based on the change in the other (i.e., Master's degrees awarded in Public administration) over the 10 years from 2012 through 2021.

p < 0.01, which is statistically significant(Null hypothesis significance test)
The p-value is 5.4E-7. 0.0000005404864704444212000000
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.98 in 5.4E-5% of random cases. Said differently, if you correlated 1,850,185 random variables You don't actually need 1 million variables to find a correlation like this one. I don't have that many variables in my database. You can also correlate variables that are not independent. I do this a lot.

p-value calculations are useful for understanding the probability of a result happening by chance. They are most useful when used to highlight the risk of a fluke outcome. For example, if you calculate a p-value of 0.30, the risk that the result is a fluke is high. It is good to know that! But there are lots of ways to get a p-value of less than 0.01, as evidenced by this project.

In this particular case, the values are so extreme as to be meaningless. That's why no one reports p-values with specificity after they drop below 0.01.

Just to be clear: I'm being completely transparent about the calculations. There is no math trickery. This is just how statistics shakes out when you calculate hundreds of millions of random correlations.
with the same 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.92, 1 ] 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
Master's degrees awarded in Public administration (Degrees awarded)41737435914450845948467544536146300488834971849388
The number of accountants and auditors in Arizona (Accountants And Auditors)16750166801881020040202001930020030224502328023150




Why this works

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




Try it yourself

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

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

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

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

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

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

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

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

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


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

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

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

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

    return correlation, r_squared, p_value

# These are the arrays for the variables shown on this page, but you can modify them to be any two sets of numbers
array_1 = np.array([41737,43591,44508,45948,46754,45361,46300,48883,49718,49388,])
array_2 = np.array([16750,16680,18810,20040,20200,19300,20030,22450,23280,23150,])
array_1_name = "Master's degrees awarded in Public administration"
array_2_name = "The number of accountants and auditors in Arizona"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

Your rating is pure awesomeness!


Correlation ID: 2358 · Black Variable ID: 1338 · Red Variable ID: 4859
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0