Skip to content Skip to navigation

Connexions

You are here: Home » Content » Correlation and Covariance

Navigation

Recently Viewed

This feature requires Javascript to be enabled.

Correlation and Covariance

Module by: Nick Kingsbury. E-mail the author

User rating (How does the rating system work?)
Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

:
(0 ratings)

Summary: This module introduces correlation and covariance.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Correlation and covariance are techniques for measuring the similarity of one signal to another. For a random process Xtα X t α they are defined as follows.

  • Auto-correlation function:
    r X X t1t2=EXt1αXt2α=x1x2fx1x2dx1dx2 r X X t1 t2 X t1 α X t2 α x2 x1 x1 x2 f x1 x2 (1)
    where the expectation is performed over all α α (i.e. the whole ensemble), and fx1x2 f x1 x2 is the joint pdf when x1 x1 and x2 x2 are samples taken at times t1 t1 and t2 t2 from the same random event αα of the random process XX.
  • Auto-covariance function:
    c X X t1t2=EXt1αXt1¯Xt2αXt2¯=x1x2x1Xt1¯x2Xt2¯fx1x2dx1dx2= r X X t1t22Xt1¯Xt2¯+Xt1¯Xt2¯= r X X t1t2Xt1¯Xt2¯ c X X t1 t2 X t1 α X t1 X t2 α X t2 x2 x1 x1 x2 x1 X t1 x2 X t2 f x1 x2 r X X t1 t2 2 X t1 X t2 X t1 X t2 r X X t1 t2 X t1 X t2 (2)
    where the same conditions apply as for auto-correlation and the means Xt1¯ X t1 and Xt2¯ X t2 are taken over all α α . Covariances are similar to correlations except that the effects of the means are removed.
  • Cross-correlation function: If we have two different processes, Xtα X t α and Ytα Y t α , both arising as a result of the same random event αα, then cross-correlation is defined as
    r X Y t1t2=EXt1αYt2α=x1y2fx1y2dx1dy2 r X Y t1 t2 X t1 α Y t2 α y2 x1 x1 y2 f x1 y2 (3)
    where fx1y2 f x1 y2 is the joint pdf when x1 x1 and y2 y2 are samples of XX and YY taken at times t1 t1 and t2 t2 as a result of the same random event αα. Again the expectation is performed over all α α .
  • Cross-covariance function:
    c X Y t1t2=EXt1αXt1¯Yt2αYt2¯=x1y2x1Xt1¯y2Yt2¯fx1y2dx1dy2= r X Y t1t2Xt1¯Yt2¯ c X Y t1 t2 X t1 α X t1 Y t2 α Y t2 y2 x1 x1 y2 x1 X t1 y2 Y t2 f x1 y2 r X Y t1 t2 X t1 Y t2 (4)
For Deterministic Random Processes which depend deterministically on the random variable αα (or some function of it), we can simplify the above integrals by expressing the joint pdf in that space. E.g. for auto-correlation:
r X X t1t2=EXt1αXt2α=xt1αxt2αfαdα r X X t1 t2 X t1 α X t2 α α x t1 α x t2 α f α (5)

Content actions

Give Feedback:

E-mail the module author | Rate module ( How does the rating system work?)

Rating system

Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

(0 ratings)

Download:

Add module to:

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 (?)

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.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks