Correlation and Covariance R. F. Riesenfeld (Based on web slides by James H. Steiger)

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Copyright © Cengage Learning. All rights reserved.
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advanced Piloting Cruise Plot.
Kapitel 21 Astronomie Autor: Bennett et al. Galaxienentwicklung Kapitel 21 Galaxienentwicklung © Pearson Studium 2010 Folie: 1.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Two-step linear equations Variables.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ALGEBRAIC EXPRESSIONS
Year 6 mental test 5 second questions
1 Correlation and Simple Regression. 2 Introduction Interested in the relationships between variables. What will happen to one variable if another is.
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
Correlation & the Coefficient of Determination
ZMQS ZMQS
Solve Multi-step Equations
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
(This presentation may be used for instructional purposes)
ABC Technology Project
3 Logic The Study of What’s True or False or Somewhere in Between.
CHAPTER 6 Introduction to Graphing and Statistics Slide 2Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc. 6.1Tables and Pictographs 6.2Bar Graphs.
© S Haughton more than 3?
VOORBLAD.
Risk and Return Learning Module.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.4 Polynomials in Several Variables Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
1 Atlantic Annual Viewing Trends Adults 35-54, Total TV, By Daypart Average Minute Audience (000) Average Weekly Reach (%) Average Weekly Hours Viewed.
Copyright © Cengage Learning. All rights reserved.
Week 1.
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 10 One- and Two-Sample Tests of Hypotheses.
We will resume in: 25 Minutes.
Figure Essential Cell Biology (© Garland Science 2010)
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 15 2 k Factorial Experiments and Fractions.
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
TASK: Skill Development A proportional relationship is a set of equivalent ratios. Equivalent ratios have equal values using different numbers. Creating.
Chapter 11: The t Test for Two Related Samples
How Cells Obtain Energy from Food
Chapter 16: Correlation.
CpSc 3220 Designing a Database
9. Two Functions of Two Random Variables
Correlation and Covariance
Correlation and Covariance R. F. Riesenfeld (Based on web slides by James H. Steiger)
Correlation and Covariance
Correlation and Covariance
Correlation and Covariance
Principal Component Analysis (PCA)
Presentation transcript:

Correlation and Covariance R. F. Riesenfeld (Based on web slides by James H. Steiger)

Goals Introduce concepts of Introduce concepts of Covariance Covariance Correlation Correlation Develop computational formulas Develop computational formulas 2R F Riesenfeld Sp 2010CS5961 Comp Stat

Covariance Variables may change in relation to each other Variables may change in relation to each other measures how much the movement in one variable predicts the movement in a corresponding variable Covariance measures how much the movement in one variable predicts the movement in a corresponding variable 3R F Riesenfeld Sp 2010CS5961 Comp Stat

Smoking and Lung Capacity Example: investigate relationship between and Example: investigate relationship between cigarette smoking and lung capacity Data: sample group response data on smoking habits, measured lung capacities, respectively Data: sample group response data on smoking habits, and measured lung capacities, respectively R F Riesenfeld Sp 2010CS5961 Comp Stat4

Smoking v Lung Capacity Data 5 N Cigarettes ( X )Lung Capacity ( Y ) R F Riesenfeld Sp 2010CS5961 Comp Stat

Smoking and Lung Capacity 6

Smoking v Lung Capacity Observe that as smoking exposure goes up, corresponding lung capacity goes down Observe that as smoking exposure goes up, corresponding lung capacity goes down Variables inversely Variables covary inversely and quantify relationship Covariance and Correlation quantify relationship 7R F Riesenfeld Sp 2010CS5961 Comp Stat

Covariance Variables that inversely, like smoking and lung capacity, tend to appear on opposite sides of the group means Variables that covary inversely, like smoking and lung capacity, tend to appear on opposite sides of the group means When smoking is above its group mean, lung capacity tends to be below its group mean. When smoking is above its group mean, lung capacity tends to be below its group mean. Average measures extent to which variables covary, the degree of linkage between them Average product of deviation measures extent to which variables covary, the degree of linkage between them 8R F Riesenfeld Sp 2010CS5961 Comp Stat

The Sample Covariance Similar to variance, for theoretical reasons, average is typically computed using ( N -1 ), not N. Thus, Similar to variance, for theoretical reasons, average is typically computed using ( N -1 ), not N. Thus, 9R F Riesenfeld Sp 2010CS5961 Comp Stat

Cigs ( X )Lung Cap ( Y ) Calculating Covariance R F Riesenfeld Sp 2010CS5961 Comp Stat10

Calculating Covariance Cigs (X ) Cap (Y ) = R F Riesenfeld Sp 2010CS5961 Comp Stat11

Evaluation yields, Evaluation yields, 12 Covariance Calculation (2) R F Riesenfeld Sp 2010CS5961 Comp Stat

Covariance under Affine Transformation 13R F Riesenfeld Sp 2010CS5961 Comp Stat

14 CovarianceunderAffineTransf Covariance under Affine Transf (2) R F Riesenfeld Sp 2010CS5961 Comp Stat

(Pearson) Correlation Coefficient r xy Like covariance, but uses Z-values instead of deviations. Hence, invariant under linear transformation of the raw data. Like covariance, but uses Z-values instead of deviations. Hence, invariant under linear transformation of the raw data. 15R F Riesenfeld Sp 2010CS5961 Comp Stat

Alternative (common) Expression 16R F Riesenfeld Sp 2010CS5961 Comp Stat

Computational Formula 1 17R F Riesenfeld Sp 2010CS5961 Comp Stat

Computational Formula 2 18R F Riesenfeld Sp 2010CS5961 Comp Stat

Table for Calculating r xy 19 Cigs ( X ) X 2 XYY 2 Cap (Y ) = R F Riesenfeld Sp 2010CS5961 Comp Stat

Computing from Table Computing r xy from Table 20R F Riesenfeld Sp 2010CS5961 Comp Stat

Computing Correlation 21R F Riesenfeld Sp 2010CS5961 Comp Stat

Conclusion r xy = implies almost certainty smoker will have diminish lung capacity r xy = implies almost certainty smoker will have diminish lung capacity Greater smoking exposure implies greater likelihood of lung damage Greater smoking exposure implies greater likelihood of lung damage 22R F Riesenfeld Sp 2010CS5961 Comp Stat

End Covariance & Correlation 23 Notes R F Riesenfeld Sp 2010CS5961 Comp Stat