<< Chapter < Page Chapter >> Page >
The mean value and the variance give important information about the distribution for a real random variable X. We consider the expectation of an appropriate function of a pair (X, Y) which gives useful information about their joint distribution. This is the covariance function.

Covariance and the correlation coefficient

The mean value μ X = E [ X ] and the variance σ X 2 = E [ ( X - μ X ) 2 ] give important information about the distribution for real random variable X . Can the expectation of an appropriate function of ( X , Y ) give useful information about the joint distribution? A clue to one possibility is given in the expression

Var [ X ± Y ] = Var [ X ] + Var [ Y ] ± 2 E [ X Y ] - E [ X ] E [ Y ]

The expression E [ X Y ] - E [ X ] E [ Y ] vanishes if the pair is independent (and in some other cases). We note also that for μ X = E [ X ] and μ Y = E [ Y ]

E [ ( X - μ X ) ( Y - μ Y ) ] = E [ X Y ] - μ X μ Y

To see this, expand the expression ( X - μ X ) ( Y - μ Y ) and use linearity to get

E [ ( X - μ X ) ( Y - μ Y ) ] = E [ X Y - μ Y X - μ X Y + μ X μ Y ] = E [ X Y ] - μ Y E [ X ] - μ X E [ Y ] + μ X μ Y

which reduces directly to the desired expression. Now for given ω , X ( ω ) - μ X is the variation of X from its mean and Y ( ω ) - μ Y is the variation of Y from its mean. For this reason, the following terminology is used.

Definition . The quantity Cov [ X , Y ] = E [ ( X - μ X ) ( Y - μ Y ) ] is called the covariance of X and Y .

If we let X ' = X - μ X and Y ' = Y - μ Y be the centered random variables, then

Cov [ X , Y ] = E [ X ' Y ' ]

Note that the variance of X is the covariance of X with itself.

If we standardize, with X * = ( X - μ X ) / σ X and Y * = ( Y - μ Y ) / σ Y , we have

Definition . The correlation coefficient ρ = ρ [ X , Y ] is the quantity

ρ [ X , Y ] = E [ X * Y * ] = E [ ( X - μ X ) ( Y - μ Y ) ] σ X σ Y

Thus ρ = Cov [ X , Y ] / σ X σ Y . We examine these concepts for information on the joint distribution. By Schwarz' inequality (E15), we have

ρ 2 = E 2 [ X * Y * ] E [ ( X * ) 2 ] E [ ( Y * ) 2 ] = 1 with equality iff Y * = c X *

Now equality holds iff

1 = c 2 E 2 [ ( X * ) 2 ] = c 2 which implies c = ± 1 and ρ = ± 1

We conclude - 1 ρ 1 , with ρ = ± 1 iff Y * = ± X *

Relationship between ρ and the joint distribution

  • We consider first the distribution for the standardized pair ( X * , Y * )
  • Since P ( X * r , Y * s ) = P X - μ X σ X r , Y - μ Y σ Y s
    = P ( X t = σ X r + μ X , Y u = σ Y s + μ Y )
    we obtain the results for the distribution for ( X , Y ) by the mapping
    t = σ X r + μ X u = σ Y s + μ Y

Joint distribution for the standardized variables ( X * , Y * ) , ( r , s ) = ( X * , Y * ) ( ω )

  • ρ = 1 iff X * = Y * iff all probability mass is on the line s = r .
  • ρ = - 1 iff X * = - Y * iff all probability mass is on the line s = - r .

If - 1 < ρ < 1 , then at least some of the mass must fail to be on these lines.

Figure one is comprised of a diagonal line with a right triangle. A portion of the line is the base of the triangle. The line is labeled, s = r. One point of the triangle located on the diagonal line is labeled (r, r). The point of the triangle that is not located on the line is labeled, (r, s). The side of the triangle in between these two labeled points is labeled as the absolute value of s - r. The side of the triangle on the line is not labeled. The third side is labeled as the absolute value of s - r divided by the square root of two. Figure one is comprised of a diagonal line with a right triangle. A portion of the line is the base of the triangle. The line is labeled, s = r. One point of the triangle located on the diagonal line is labeled (r, r). The point of the triangle that is not located on the line is labeled, (r, s). The side of the triangle in between these two labeled points is labeled as the absolute value of s - r. The side of the triangle on the line is not labeled. The third side is labeled as the absolute value of s - r divided by the square root of two.
Distance from point (r,s) to the line s = r.

The ρ = ± 1 lines for the ( X , Y ) distribution are:

u - μ Y σ Y = ± t - μ X σ X or u = ± σ Y σ X ( t - μ X ) + μ Y

Consider Z = Y * - X * . Then E [ 1 2 Z 2 ] = 1 2 E [ ( Y * - X * ) 2 ] . Reference to [link] shows this is the average of the square of the distancesof the points ( r , s ) = ( X * , Y * ) ( ω ) from the line s = r (i.e., the variance about the line s = r ). Similarly for W = Y * + X * , E [ W 2 / 2 ] is the variance about s = - r . Now

1 2 E [ ( Y * ± X * ) 2 ] = 1 2 E [ ( Y * ) 2 ] + E [ ( X * ) 2 ] ± 2 E [ X * Y * ] = 1 ± ρ

Thus

  • 1 - ρ is the variance about s = r (the ρ = 1 line)
  • 1 + ρ is the variance about s = - r (the ρ = - 1 line)

Now since

E [ ( Y * - X * ) 2 ] = E [ ( Y * + X * ) 2 ] iff ρ = E [ X * Y * ] = 0

the condition ρ = 0 is the condition for equality of the two variances.

Transformation to the ( X , Y ) plane

t = σ X r + μ X u = σ Y s + μ Y r = t - μ X σ X s = u - μ Y σ Y

The ρ = 1 line is:

u - μ Y σ Y = t - μ X σ X or u = σ Y σ X ( t - μ X ) + μ Y

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask