Skip to main content
Statistics LibreTexts

3.2.3: Correlation vs. Causation

  • Page ID
    28703
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    One of the greatest mistakes people make in Statistics is in confusing correlation with causation.

    Example: Nicolas Cage movies and drownings

    A study done by law student Tyler Vigan showed a moderate to strong correlation between the number of movies Nicolas Cage releases in a year and the number of drownings in swimming pools in the same year.36  

    clipboard_ebb018ff0a4e0bc7640a7969f4c6c90ea.png

    The scatterplot shows moderate positive correlation,   supported by a correlation coefficient of 0.66.  

    clipboard_eec5cefc933d1034e283dbf3fc1a390bd.png

    What does this mean? When Nicolas Cage releases a movie, people get excited and go jump in the pool? Or maybe in a year when there are many drownings, Nicolas Cage gets inspired to release a new movie?

    This is an example of a spurious correlation, a correlation that just happens by chance.

    Example: Crime and police expenditures

    The scatterplot shows data from all 50 states adjusted for population differences. The horizontal axis is annual police expenditures per person. The vertical axis represents reported violent crimes per 100,000 people per year.

    clipboard_e1a16b6d4a5c85556ca553afd59e87052.png

    There is a moderate positive correlation present, with a correlation coefficient of 0.547.  

    What does this mean? Here are possible explanations.

    1. Police cost causes crime. The more money spent on police, the more crime there is. Eliminate the police to reduce crime.
    2. Crime causes police cost. The more crime there is, more police get hired. High crime states need to spend more money on the police.
    3. More police means more reported crimes. The data shows reported crimes, but many crimes go unreported. Having more police means more reported crimes.
    4. Crime and police costs are higher in cities. States like California, Texas  and Florida have major cities where all expenses are higher and there is more crime. So in this example, urbanization is the cause of both variables increasing. (This is an example of a confounding variable).

    The truth is we can’t say why there is a correlation between police expenditures and violent crime.  As statisticians, we can only say the variables are correlated, and we cannot support a cause and effect relationship.

    In observational studies such as this, correlation does not equal causation.

    Confounding (lurking) variables

    A confounding or lurking variable is a variable that is not known to the researcher, but affects the results of the study.  

    Research has shown there is a strong, positive correlation between shark attacks and ice cream sales. There is actually a store in New York called Shark’s Ice Cream, possibly inspired by this correlation.37

    clipboard_e97ad008dc4e09a8bd1bf4a9826819281.png

    A possible confounding variable might be temperature. On hot days people are more likely to swim in the ocean and are also more likely to buy ice cream.  

    This graph from the BBC seems to support this claim. 38Both shark attacks and ice cream sales are highest in the summer months.  

    clipboard_e0815d9726a8160a4dab127576cdcd643.png

    In the next section, we will discuss how to design experiments that control for confounding variables.  

    Hopefully taking this Statistics class will help you avoid making the mistake of confusing correlation and causation. Or, maybe you already knew that, as inspired by this XKCD comic “Correlation.”39

    clipboard_e4faed0c3c3a579219b8f3d882a2b9082.png

     


    3.2.3: Correlation vs. Causation is shared under a CC BY-SA license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?