about · email me · subscribe
Spurious correlation #26,009 · View random

A linear line chart with years as the X-axis and two variables on the Y-axis. The first variable is How clickbait-y Tom Scott's YouTube video titles are and the second variable is The number of movies Anthony Hopkins appeared in.  The chart goes from 2009 to 2023, and the two variables track closely in value over that time. Small Image
Download png
, svg

It takes a bit of time to generate AI explanations!
Check back later, or email me if you'd enjoy seeing this work in real-time.



Random correlation

Discover a new correlation

View all correlations

View all research papers

Report an error


Data details

How clickbait-y Tom Scott's YouTube video titles are
Detailed data title: How clickbait-y Tom Scott YouTube video titles are, as rated by an AI.
Source: AI analysis of Tom Scott's YouTube video titles
Additional Info: I asked a large language model, 'On a scale of 1-10, how _______ do you think this YouTube video title is?' for every video.

See what else correlates with How clickbait-y Tom Scott's YouTube video titles are

The number of movies Anthony Hopkins appeared in
Source: The Movie DB
Additional Info: The Remains of the Day (1993); The Elephant Man (1980); Shadowlands (1993); The Road to Wellville (1994); Bad Company (2002); Nixon (1995); The Human Stain (2003); Hearts in Atlantis (2001); Fracture (2007); Instinct (1999); Titus (1999); The Edge (1997); Hannibal (2001); The World's Fastest Indian (2005); Magic (1978); Across the Lake (1988); The Bunker (1981); Surviving Picasso (1996); Spotswood (1992); Guilty Conscience (1985); The Good Father (1985); The Rite (2011); Slipstream (2007); The Hunchback of Notre Dame (1982); The Innocent (1993); The Tenth Man (1988); Arch of Triumph (1985); Hitchcock (2012); A Chorus of Disapproval (1989); Othello (1981); August (1996); The Dawning (1988); One Man’s War (1991); Kidnapping Mr. Heineken (2015); Little Eyolf (1982); Solace (2015); Blackway (2015); Mayflower: The Pilgrims' Adventure (1979); Inside the Labyrinth: The Making of 'The Silence of the Lambs' (2001); Love & Loyalty: The Making of 'The Remains of the Day' (2001); King Lear (2018); The Father (2020); Now Is Everything (2019); Heartland (1989); The Lost Children of Berlin (1997); One Life (2023); Elyse (2020); The Virtuoso (2021); Where Are You (2022); Inside Story - The Silence of the Lambs (2010); Zero Contact (2022); Hannibal Hopkins et Sir Anthony (2021); Freud's Last Session (2023); The Third Rule (2010); Faroe Islands (1989); The Silence of the Lambs (1991); Meet Joe Black (1998); The Bounty (1984); Legends of the Fall (1994); The Wolfman (2010); Desperate Hours (1990); The Mask of Zorro (1998); Red Dragon (2002); Proof (2005); The City of Your Final Destination (2009); A Change of Seasons (1980); 84 Charing Cross Road (1987); Audrey Rose (1977); The Trial (1993); All Creatures Great and Small (1975); Mussolini and I (1985); The Lindbergh Kidnapping Case (1976); Tony Bennett: The Music Never Ends (2007); Dark Victory (1976); The Dresser (2015); Misconduct (2016); Thor: From Asgard to Earth (2011); Blunt (1987); The Two Popes (2019); Thor: Assembling the Troupe (2011); Hello: A Portrait Of Leslie Phillips (2013); Marlon Brando: The Wild One (1994); The Making of 'The Silence of the Lambs' (1991); Blind Loyalty, Hollow Honor: England's Fatal Flaw (2001); Beowulf (2007); Amistad (1997); Howards End (1992); Shortcut to Happiness (2003); International Velvet (1978); You Will Meet a Tall Dark Stranger (2010); Collide (2016); Siegfried & Roy: The Magic Box (1999); Breaking the Silence: The Making of Hannibal (2001); Peter O'Toole: Along the Sky Road to Aqaba (2022); Thor (2011); Freejack (1992); Thor: The Dark World (2013); Noah (2014); 360 (2012); RED 2 (2013); Transformers: The Last Knight (2017); Bram Stoker's Dracula (1992); The True Story of Hannibal (2005); Richard Attenborough: A Life in Film (2014); Blood Lines: Dracula - The Man. The Myth. The Movies. (1992); Shirley Maclaine: Kicking Up Her Heels (1996); The Remains of the Day: The Filmmaker's Journey (2001); The Son (2022); Armageddon Time (2022); A Tribute To Ismail Merchant (2005); All the King's Men (2006); Alexander (2004); Chaplin (1992); A Bridge Too Far (1977); The Blood Is the Life: The Making of 'Bram Stoker's Dracula' (2007); A Director's Journey: The Making of 'Red Dragon' (2003); Bobby (2006); Earth and the American Dream (1992); Thor: Ragnarok (2017); Spielberg (2017); Victory at Entebbe (1976); Rebel Moon - Part One: A Child of Fire (2023); Bare Knuckles (2010); A Century of Cinema (1994); Love, Antosha (2019); Nothing Like a Dame (2018); Mission: Impossible II (2000); Parkinson at 50 (2021); How the Grinch Stole Christmas (2000); And the Oscar Goes to... (2014)

See what else correlates with The number of movies Anthony Hopkins appeared in

Correlation r = 0.5614715 (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.3152502 (Coefficient of determination)
This means 31.5% of the change in the one variable (i.e., The number of movies Anthony Hopkins appeared in) is predictable based on the change in the other (i.e., How clickbait-y Tom Scott's YouTube video titles are) over the 15 years from 2009 through 2023.

p < 0.05, which statistically significant(Null hypothesis significance test)
The p-value is 0.029. 0.0294093890706034270000000000
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.56 in 2.9% of random cases. Said differently, if you correlated 34 random variables Which I absolutely did.
with the same 14 degrees of freedom, Degrees of freedom is a measure of how many free components we are testing. In this case it is 14 because we have two variables measured over a period of 15 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.07, 0.83 ] 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.
200920102011201220132014201520162017201820192020202120222023
How clickbait-y Tom Scott's YouTube video titles are (Clickbait-y score)4.684285.66674.53.82614.66673.91033.92773.88894.67194.77974.30365.15695.23085.1509
The number of movies Anthony Hopkins appeared in (Movie appearances)154233423232353




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.
  4. Outlandish outliers: There are "outliers" in this data. In concept, "outlier" just means "way different than the rest of your dataset." When calculating a correlation like this, they are particularly impactful because a single outlier can substantially increase your correlation.

    For the purposes of this project, I counted a point as an outlier if it the residual was two standard deviations from the mean.

    (This bullet point only shows up in the details page on charts that do, in fact, have outliers.)
    They stand out on the scatterplot above: notice the dots that are far away from any other dots. I intentionally mishandeled outliers, which makes the correlation look extra strong.




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([4.6842,8,5.6667,4.5,3.8261,4.6667,3.9103,3.9277,3.8889,4.6719,4.7797,4.3036,5.1569,5.2308,5.1509,])
array_2 = np.array([1,5,4,2,3,3,4,2,3,2,3,2,3,5,3,])
array_1_name = "How clickbait-y Tom Scott's YouTube video titles are"
array_2_name = "The number of movies Anthony Hopkins appeared in"

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

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



Reuseable content

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

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

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

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

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

Download images for these variables:


View another random correlation

How fun was this correlation?

I'm grateful for your review!


Correlation ID: 26009 · Black Variable ID: 25461 · Red Variable ID: 26686
about · subscribe · emailme@tylervigen.com · twitter

CC BY 4.0