Skip to content Skip to navigation

Connexions

You are here: Home » Content » Linear Regression and Correlation: The Correlation Coefficient

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the authors

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...

In these lenses

  • CCOTP

    This module is included inLens: CCOTP Lens
    By: Tahiya MaromeAs a part of collection:"Collaborative Statistics"

    Comments:

    "Part of the Books featured on Community College Open Textbook Project"

    Click the "CCOTP" link to see all content selected in this lens.

  • Bio 502 at CSUDH

    This module is included inLens: Bio 502
    By: Terrence McGlynnAs a part of collection:"Collaborative Statistics"

    Comments:

    "This is the course textbook for Biology 502 at CSU Dominguez Hills"

    Click the "Bio 502 at CSUDH" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Linear Regression and Correlation: The Correlation Coefficient

Module by: Susan Dean, Dr. Barbara Illowsky

Summary: This module provides an overview of Linear Regression and Correlation: The Correlation Coefficient as a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean.

Besides looking at the scatter plot and seeing that a line seems reasonable, how can you tell if the line is a good predictor? Use the correlation coefficient as another indicator (besides the scatterplot) of the strength of the relationship between xx and yy. The correlation coefficient, rr, is defined as:

r = n Σ x y - ( Σ x ) ( Σ y ) [ n Σ x 2 - ( Σ x ) 2 ] [ n Σ y 2 - ( Σ y ) 2 ] r= n Σ x y - ( Σ x ) ( Σ y ) [ n Σ x 2 - ( Σ x ) 2 ] [ n Σ y 2 - ( Σ y ) 2 ]

where:

  • -1r1-1r1
  • nn = the number of data points

If you suspect a linear relationship between xx and yy, then rr can measure how strong it is.

If r=1r=1, there is perfect positive correlation. If r=-1r=-1, there is perfect negative correlation. In both these cases, the original data points lie on a straight line. Of course, in the real world, this will not generally happen.

The formula for rr looks formidable. However, many calculators and any regression and correlation computer program can calculate rr. The sign of rr is the same as the slope, bb, of the best fit line.

Glossary

Coefficient of Correlation:
A measure developed by Karl Pearson (early 1900s) that gives the strength of association between the independent variable and the dependent variable. The formula is:
r = n XY ( X ) ( Y ) [ n X 2 ( X ) 2 ] [ n Y 2 ( Y ) 2 ] , r = n XY ( X ) ( Y ) [ n X 2 ( X ) 2 ] [ n Y 2 ( Y ) 2 ] , size 12{r= { {n Sum { ital "XY"} - \( Sum {X \) \( Sum {Y \) } } } over { sqrt { \[ n Sum {X rSup { size 8{2} } - \( Sum {X \) rSup { size 8{2} } \] \[ n Sum {Y rSup { size 8{2} } - \( Sum {Y \) rSup { size 8{2} } \] } } } } } } } ,} {} (1)
where n is the number of data points. The coefficient cannot be more then 1 and less then -1. The closer the coefficient is to ±1±1 size 12{ +- 1} {}, the stronger the evidence of a significant linear relationship between XX size 12{X} {} and YY size 12{Y} {}.

Comments, questions, feedback, criticisms?

Send feedback