SlideShare a Scribd company logo
1 of 10
Statistical Sampling and Regression: Convariance and
Correlation
Covariance and correlation describe how two variables are related.

    •   Variables are positively related if they move in the same direction.
    •   Variables are inversely related if they move in opposite directions.

Both covariance and correlation indicate whether variables are positively or
inversely related. Correlation also tells you the degree to which the variables tend
to move together.

You are probably already familiar with statements about covariance and
correlation that appear in the news almost daily. For example, you might hear
that as economic growth increases, stock market returns tend to increase as well.
These variables are said to be positively related because they move in the same
direction. You may also hear that as world oil production increases, gasoline
prices fall. These variables are said to be negatively, or inversely, related because
they move in opposite directions.

The relationship between two variables can be illustrated in a graph. In the
examples below, the graph on the left illustrates how the positive relationship
between economic growth and market returns might appear. The graph indicates
that as economic growth increases, stock market returns also increase. The graph
on the right is an example of how the inverse relationship between oil production
and gasoline prices might appear. It illustrates that as oil production increases,
gas prices fall.




To determine the actual relationships of these variables, you would use the
formulas for covariance and correlation.

Covariance

Covariance indicates how two variables are related. A positive covariance means
the variables are positively related, while a negative covariance means the
variables are inversely related. The formula for calculating covariance of sample
data is shown below.
x = the independent variable
y = the dependent variable
n = number of data points in the sample
  = the mean of the independent variable x

  = the mean of the dependent variable y

To understand how covariance is used, consider the table below, which describes
the rate of economic growth (xi) and the rate of return on the S&P 500 (yi).




Using the covariance formula, you can determine whether economic growth and
S&P 500 returns have a positive or inverse relationship. Before you compute the
covariance, calculate the mean of x and y. (The Summary Measures topic of the
Discrete Probability Distributions section explains the mean formula in detail.)
Now you can identify the variables for the covariance formula as follows.

x = 2.1, 2.5, 4.0, and 3.6 (economic growth)
y = 8, 12, 14, and 10 (S&P 500 returns)
   = 3.1

  = 11

Substitute these values into the covariance formula to determine the relationship
between economic growth and S&P 500 returns.
The covariance between the returns of the S&P 500 and economic growth is 1.53.
Since the covariance is positive, the variables are positively related—they move
together in the same direction.

Correlation

Correlation is another way to determine how two variables are related. In addition
to telling you whether variables are positively or inversely related, correlation also
tells you the degree to which the variables tend to move together.

As stated above, covariance measures variables that have different units of
measurement. Using covariance, you could determine whether units were
increasing or decreasing, but it was impossible to measure the degree to which
the variables moved together because covariance does not use one standard unit
of measurement. To measure the degree to which variables move together, you
must use correlation.

Correlation standardizes the measure of interdependence between two variables
and, consequently, tells you how closely the two variables move. The correlation
measurement, called a correlation coefficient, will always take on a value between
1 and – 1:

    •   If the correlation coefficient is one, the variables have a perfect positive
        correlation. This means that if one variable moves a given amount, the
        second moves proportionally in the same direction. A positive correlation
        coefficient less than one indicates a less than perfect positive correlation,
        with the strength of the correlation growing as the number approaches
        one.
    •   If correlation coefficient is zero, no relationship exists between the
        variables. If one variable moves, you can make no predictions about the
        movement of the other variable; they are uncorrelated.
    •   If correlation coefficient is –1, the variables are perfectly negatively
        correlated (or inversely correlated) and move in opposition to each other.
        If one variable increases, the other variable decreases proportionally. A
        negative correlation coefficient greater than –1 indicates a less than
        perfect negative correlation, with the strength of the correlation growing
        as the number approaches –1.

Test your understanding of how correlations might look graphically. In the box
below, choose one of the three sets of purple points and drag it to the correlation
coefficient it illustrates: 1, –1, or 0. If your choice is correct, an explanation of the
correlation will appear. Remember to close the Instructions box before you begin.
This interactive tool illustrates the theoretical extremes of the idea of correlation
coefficients between two variables: 1, –1, or 0. These figures serve only to
provide an idea of the boundaries on correlations. In practice, most variables will
not be perfectly correlated, but they will instead take on a fractional correlation
coefficient between 1 and –1.

To calculate the correlation coefficient for two variables, you would use the
correlation formula, shown below.




r(x,y) = correlation of the variables x and y
COV(x, y) = covariance of the variables x and y
sx = sample standard deviation of the random variable x
sy = sample standard deviation of the random variable y

Earlier in this discussion, you saw how the covariance of S&P 500 returns and
economic growth was calculated using data from the following table. Now consider
how their correlation is measured.
To calculate correlation, you must know the covariance for the two variables and
the standard deviations of each variable. From the earlier example, you know that
the covariance of S&P 500 returns and economic growth was calculated to be
1.53. Now you need to determine the standard deviation of each of the variables.
You would calculate the standard deviation of the S&P 500 returns and the
economic growth from the above example as follows. (For a more detailed
explanation of calculating standard deviation, refer to the Summary Measures
topic of the Discrete Probability Distributions section of the course.)
Using the information from above, you know that

COV(x,y) = 1.53
sx = 0.90
sy = 2.58

Now you can calculate the correlation coefficient by substituting the numbers
above into the correlation formula, as shown below.
A correlation coefficient of .66 tells you two important things:

    •   Because the correlation coefficient is a positive number, returns on the
        S&P 500 and economic growth are postively related.
    •   Because .66 is relatively far from indicating no correlation, the strength of
        the correlation between returns on the S&P 500 and economic growth is
        strong.

Both covariance and correlation identified that the variables are positively related.
By standardizing measures, correlation is also able to measure the degree to
which the variables tend to move together.

In business, covariance and correlation are used frequently to analyze market
returns for anything from an individual stock to a market composite. In addition,
marketing executives use covariance and correlation to understand the
interdependence between consumer behavior and the consumption of their
products.




1. If there is a positive relationship between the scores of job incumbents on a job
knowledge test and actual job performance, which of the following graphs would
most likely be an accurate representation of this situation?
Solution 1

2. In each of the graphs, are job performance and test performance shown to be
positively related, inversely related, or unrelated?

          Solution 2




3. Given the following return information, what is the covariance between the
return of Stock A and the return of the market index?




          Solution 3

4. Using the table and your calculations from above, calculate the correlation of
Stock A's returns and the return of the market index.

More Related Content

What's hot

Statistical Estimation
Statistical Estimation Statistical Estimation
Statistical Estimation Remyagharishs
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSSLNIPE
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysisnadiazaheer
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functionsAnkit Katiyar
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSSParag Shah
 
Regression analysis algorithm
Regression analysis algorithm Regression analysis algorithm
Regression analysis algorithm Sammer Qader
 
Correlation and regression analysis
Correlation and regression analysisCorrelation and regression analysis
Correlation and regression analysis_pem
 
Normal Distribution – Introduction and Properties
Normal Distribution – Introduction and PropertiesNormal Distribution – Introduction and Properties
Normal Distribution – Introduction and PropertiesSundar B N
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,Dronak Sahu
 
regression assumption by Ammara Aftab
regression assumption by Ammara Aftabregression assumption by Ammara Aftab
regression assumption by Ammara AftabUniversity of Karachi
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression pptSantosh Bhaskar
 

What's hot (20)

Statistical Estimation
Statistical Estimation Statistical Estimation
Statistical Estimation
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression
RegressionRegression
Regression
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSS
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functions
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
 
Regression analysis algorithm
Regression analysis algorithm Regression analysis algorithm
Regression analysis algorithm
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Correlation and regression analysis
Correlation and regression analysisCorrelation and regression analysis
Correlation and regression analysis
 
Normal Distribution – Introduction and Properties
Normal Distribution – Introduction and PropertiesNormal Distribution – Introduction and Properties
Normal Distribution – Introduction and Properties
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
regression assumption by Ammara Aftab
regression assumption by Ammara Aftabregression assumption by Ammara Aftab
regression assumption by Ammara Aftab
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression ppt
 
Poission distribution
Poission distributionPoission distribution
Poission distribution
 

Viewers also liked

probability :- Covariance and correlation Faisalkhan2081@yahoo.com
probability :- Covariance and correlation Faisalkhan2081@yahoo.comprobability :- Covariance and correlation Faisalkhan2081@yahoo.com
probability :- Covariance and correlation Faisalkhan2081@yahoo.comFaisal Khan
 
correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covarianceEkta Doger
 
Introduction to measures of relationship: covariance, and Pearson r
Introduction to measures of relationship: covariance, and Pearson rIntroduction to measures of relationship: covariance, and Pearson r
Introduction to measures of relationship: covariance, and Pearson rIvan Jacob Pesigan
 
Correlation
CorrelationCorrelation
CorrelationTech_MX
 
Correlation analysis ppt
Correlation analysis pptCorrelation analysis ppt
Correlation analysis pptAnil Mishra
 
Covariance & Contravariance
Covariance &  ContravarianceCovariance &  Contravariance
Covariance & ContravarianceMesh Korea
 
Correlation coefficient
Correlation coefficientCorrelation coefficient
Correlation coefficientCarlo Magno
 
Features of Renaissance
Features of RenaissanceFeatures of Renaissance
Features of RenaissanceImran Rabbane
 
Desso, S. kranendijk, Cradle to Cradle
Desso, S. kranendijk, Cradle to CradleDesso, S. kranendijk, Cradle to Cradle
Desso, S. kranendijk, Cradle to CradleIntegral Vision
 
Bizik planaren aurkezp
Bizik planaren aurkezpBizik planaren aurkezp
Bizik planaren aurkezpLur
 
Alakh kiaur
Alakh kiaurAlakh kiaur
Alakh kiaurgurusewa
 
Open Access: be seen, be read, be cited, have impact!
Open Access: be seen, be read, be cited, have impact!Open Access: be seen, be read, be cited, have impact!
Open Access: be seen, be read, be cited, have impact!Ina Smith
 

Viewers also liked (20)

probability :- Covariance and correlation Faisalkhan2081@yahoo.com
probability :- Covariance and correlation Faisalkhan2081@yahoo.comprobability :- Covariance and correlation Faisalkhan2081@yahoo.com
probability :- Covariance and correlation Faisalkhan2081@yahoo.com
 
Covariance
CovarianceCovariance
Covariance
 
Correlation ppt...
Correlation ppt...Correlation ppt...
Correlation ppt...
 
correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covariance
 
COVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITYCOVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITY
 
Introduction to measures of relationship: covariance, and Pearson r
Introduction to measures of relationship: covariance, and Pearson rIntroduction to measures of relationship: covariance, and Pearson r
Introduction to measures of relationship: covariance, and Pearson r
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation analysis ppt
Correlation analysis pptCorrelation analysis ppt
Correlation analysis ppt
 
Covariance & Contravariance
Covariance &  ContravarianceCovariance &  Contravariance
Covariance & Contravariance
 
Correlation coefficient
Correlation coefficientCorrelation coefficient
Correlation coefficient
 
Pearson Correlation
Pearson CorrelationPearson Correlation
Pearson Correlation
 
Features of Renaissance
Features of RenaissanceFeatures of Renaissance
Features of Renaissance
 
Desso, S. kranendijk, Cradle to Cradle
Desso, S. kranendijk, Cradle to CradleDesso, S. kranendijk, Cradle to Cradle
Desso, S. kranendijk, Cradle to Cradle
 
Uam7179
Uam7179Uam7179
Uam7179
 
Bizik planaren aurkezp
Bizik planaren aurkezpBizik planaren aurkezp
Bizik planaren aurkezp
 
Alakh kiaur
Alakh kiaurAlakh kiaur
Alakh kiaur
 
计算机媒介学习
计算机媒介学习计算机媒介学习
计算机媒介学习
 
SciELO
SciELO SciELO
SciELO
 
Foredrag - B2B
Foredrag - B2BForedrag - B2B
Foredrag - B2B
 
Open Access: be seen, be read, be cited, have impact!
Open Access: be seen, be read, be cited, have impact!Open Access: be seen, be read, be cited, have impact!
Open Access: be seen, be read, be cited, have impact!
 

Similar to Statistical Sampling and Regression: Covariance and Correlation Explained

Data analysis test for association BY Prof Sachin Udepurkar
Data analysis   test for association BY Prof Sachin UdepurkarData analysis   test for association BY Prof Sachin Udepurkar
Data analysis test for association BY Prof Sachin Udepurkarsachinudepurkar
 
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...NiezelPertimos
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis Misab P.T
 
Correlation and Regression.pdf
Correlation and Regression.pdfCorrelation and Regression.pdf
Correlation and Regression.pdfAadarshSah1
 
Simple regressionand correlation (2).pdf
Simple regressionand correlation (2).pdfSimple regressionand correlation (2).pdf
Simple regressionand correlation (2).pdfyadavrahulrahul799
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regressionKeyur Tejani
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysisAwais Salman
 
PPT Correlation.pptx
PPT Correlation.pptxPPT Correlation.pptx
PPT Correlation.pptxMahamZeeshan5
 
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptx
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptxAn-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptx
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptxShriramKargaonkar
 
Lesson 16 Data Analysis Ii
Lesson 16 Data Analysis IiLesson 16 Data Analysis Ii
Lesson 16 Data Analysis Iivinod
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionANCYBS
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAntony Raj
 
03 correlation analysis
03 correlation analysis03 correlation analysis
03 correlation analysisNoushad Feroke
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAntony Raj
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation AnalysisSaqib Ali
 

Similar to Statistical Sampling and Regression: Covariance and Correlation Explained (20)

Data analysis test for association BY Prof Sachin Udepurkar
Data analysis   test for association BY Prof Sachin UdepurkarData analysis   test for association BY Prof Sachin Udepurkar
Data analysis test for association BY Prof Sachin Udepurkar
 
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...
 
data analysis
data analysisdata analysis
data analysis
 
Correlation 2
Correlation 2Correlation 2
Correlation 2
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis
 
Correlation and Regression.pdf
Correlation and Regression.pdfCorrelation and Regression.pdf
Correlation and Regression.pdf
 
Simple regressionand correlation (2).pdf
Simple regressionand correlation (2).pdfSimple regressionand correlation (2).pdf
Simple regressionand correlation (2).pdf
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
 
PPT Correlation.pptx
PPT Correlation.pptxPPT Correlation.pptx
PPT Correlation.pptx
 
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptx
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptxAn-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptx
An-Introduction-to-Correlation-and-Linear-Regression FYBSc(IT) SNK.pptx
 
Lesson 16 Data Analysis Ii
Lesson 16 Data Analysis IiLesson 16 Data Analysis Ii
Lesson 16 Data Analysis Ii
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
03 correlation analysis
03 correlation analysis03 correlation analysis
03 correlation analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 

More from Rashid Hussain

More from Rashid Hussain (6)

Business Studies
Business Studies Business Studies
Business Studies
 
portfolio selection problem modified
portfolio selection problem modifiedportfolio selection problem modified
portfolio selection problem modified
 
Currency crisis
Currency crisisCurrency crisis
Currency crisis
 
Anti dumping duties
Anti dumping dutiesAnti dumping duties
Anti dumping duties
 
Entrepreneurship
EntrepreneurshipEntrepreneurship
Entrepreneurship
 
Branding.
Branding.Branding.
Branding.
 

Recently uploaded

VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130
VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130
VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130Suhani Kapoor
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHenry Tapper
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free DeliveryPooja Nehwal
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Sapana Sha
 
Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfMichael Silva
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex
 
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthUnveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthShaheen Kumar
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designsegoetzinger
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...Henry Tapper
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Roomdivyansh0kumar0
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...First NO1 World Amil baba in Faisalabad
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfAdnet Communications
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...shivangimorya083
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...Suhani Kapoor
 

Recently uploaded (20)

VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130
VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130
VIP Call Girls Service Begumpet Hyderabad Call +91-8250192130
 
House of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview documentHouse of Commons ; CDC schemes overview document
House of Commons ; CDC schemes overview document
 
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services  9892124323 | ₹,4500 With Room Free DeliveryMalad Call Girl in Services  9892124323 | ₹,4500 With Room Free Delivery
Malad Call Girl in Services 9892124323 | ₹,4500 With Room Free Delivery
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
 
Stock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdfStock Market Brief Deck for 4/24/24 .pdf
Stock Market Brief Deck for 4/24/24 .pdf
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024
 
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net WorthUnveiling the Top Chartered Accountants in India and Their Staggering Net Worth
Unveiling the Top Chartered Accountants in India and Their Staggering Net Worth
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
 
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service NashikHigh Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
High Class Call Girls Nashik Maya 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
VIP Call Girls Service Dilsukhnagar Hyderabad Call +91-8250192130
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
 
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
Authentic No 1 Amil Baba In Pakistan Authentic No 1 Amil Baba In Karachi No 1...
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdf
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
 

Statistical Sampling and Regression: Covariance and Correlation Explained

  • 1. Statistical Sampling and Regression: Convariance and Correlation Covariance and correlation describe how two variables are related. • Variables are positively related if they move in the same direction. • Variables are inversely related if they move in opposite directions. Both covariance and correlation indicate whether variables are positively or inversely related. Correlation also tells you the degree to which the variables tend to move together. You are probably already familiar with statements about covariance and correlation that appear in the news almost daily. For example, you might hear that as economic growth increases, stock market returns tend to increase as well. These variables are said to be positively related because they move in the same direction. You may also hear that as world oil production increases, gasoline prices fall. These variables are said to be negatively, or inversely, related because they move in opposite directions. The relationship between two variables can be illustrated in a graph. In the examples below, the graph on the left illustrates how the positive relationship between economic growth and market returns might appear. The graph indicates that as economic growth increases, stock market returns also increase. The graph on the right is an example of how the inverse relationship between oil production and gasoline prices might appear. It illustrates that as oil production increases, gas prices fall. To determine the actual relationships of these variables, you would use the formulas for covariance and correlation. Covariance Covariance indicates how two variables are related. A positive covariance means the variables are positively related, while a negative covariance means the variables are inversely related. The formula for calculating covariance of sample data is shown below.
  • 2. x = the independent variable y = the dependent variable n = number of data points in the sample = the mean of the independent variable x = the mean of the dependent variable y To understand how covariance is used, consider the table below, which describes the rate of economic growth (xi) and the rate of return on the S&P 500 (yi). Using the covariance formula, you can determine whether economic growth and S&P 500 returns have a positive or inverse relationship. Before you compute the covariance, calculate the mean of x and y. (The Summary Measures topic of the Discrete Probability Distributions section explains the mean formula in detail.)
  • 3. Now you can identify the variables for the covariance formula as follows. x = 2.1, 2.5, 4.0, and 3.6 (economic growth) y = 8, 12, 14, and 10 (S&P 500 returns) = 3.1 = 11 Substitute these values into the covariance formula to determine the relationship between economic growth and S&P 500 returns.
  • 4. The covariance between the returns of the S&P 500 and economic growth is 1.53. Since the covariance is positive, the variables are positively related—they move together in the same direction. Correlation Correlation is another way to determine how two variables are related. In addition to telling you whether variables are positively or inversely related, correlation also tells you the degree to which the variables tend to move together. As stated above, covariance measures variables that have different units of measurement. Using covariance, you could determine whether units were increasing or decreasing, but it was impossible to measure the degree to which the variables moved together because covariance does not use one standard unit of measurement. To measure the degree to which variables move together, you must use correlation. Correlation standardizes the measure of interdependence between two variables and, consequently, tells you how closely the two variables move. The correlation measurement, called a correlation coefficient, will always take on a value between 1 and – 1: • If the correlation coefficient is one, the variables have a perfect positive correlation. This means that if one variable moves a given amount, the second moves proportionally in the same direction. A positive correlation coefficient less than one indicates a less than perfect positive correlation, with the strength of the correlation growing as the number approaches one. • If correlation coefficient is zero, no relationship exists between the variables. If one variable moves, you can make no predictions about the movement of the other variable; they are uncorrelated. • If correlation coefficient is –1, the variables are perfectly negatively correlated (or inversely correlated) and move in opposition to each other. If one variable increases, the other variable decreases proportionally. A negative correlation coefficient greater than –1 indicates a less than perfect negative correlation, with the strength of the correlation growing as the number approaches –1. Test your understanding of how correlations might look graphically. In the box below, choose one of the three sets of purple points and drag it to the correlation coefficient it illustrates: 1, –1, or 0. If your choice is correct, an explanation of the correlation will appear. Remember to close the Instructions box before you begin.
  • 5. This interactive tool illustrates the theoretical extremes of the idea of correlation coefficients between two variables: 1, –1, or 0. These figures serve only to provide an idea of the boundaries on correlations. In practice, most variables will not be perfectly correlated, but they will instead take on a fractional correlation coefficient between 1 and –1. To calculate the correlation coefficient for two variables, you would use the correlation formula, shown below. r(x,y) = correlation of the variables x and y COV(x, y) = covariance of the variables x and y sx = sample standard deviation of the random variable x sy = sample standard deviation of the random variable y Earlier in this discussion, you saw how the covariance of S&P 500 returns and economic growth was calculated using data from the following table. Now consider how their correlation is measured.
  • 6. To calculate correlation, you must know the covariance for the two variables and the standard deviations of each variable. From the earlier example, you know that the covariance of S&P 500 returns and economic growth was calculated to be 1.53. Now you need to determine the standard deviation of each of the variables. You would calculate the standard deviation of the S&P 500 returns and the economic growth from the above example as follows. (For a more detailed explanation of calculating standard deviation, refer to the Summary Measures topic of the Discrete Probability Distributions section of the course.)
  • 7. Using the information from above, you know that COV(x,y) = 1.53 sx = 0.90 sy = 2.58 Now you can calculate the correlation coefficient by substituting the numbers above into the correlation formula, as shown below.
  • 8. A correlation coefficient of .66 tells you two important things: • Because the correlation coefficient is a positive number, returns on the S&P 500 and economic growth are postively related. • Because .66 is relatively far from indicating no correlation, the strength of the correlation between returns on the S&P 500 and economic growth is strong. Both covariance and correlation identified that the variables are positively related. By standardizing measures, correlation is also able to measure the degree to which the variables tend to move together. In business, covariance and correlation are used frequently to analyze market returns for anything from an individual stock to a market composite. In addition, marketing executives use covariance and correlation to understand the interdependence between consumer behavior and the consumption of their products. 1. If there is a positive relationship between the scores of job incumbents on a job knowledge test and actual job performance, which of the following graphs would most likely be an accurate representation of this situation?
  • 9. Solution 1 2. In each of the graphs, are job performance and test performance shown to be positively related, inversely related, or unrelated? Solution 2 3. Given the following return information, what is the covariance between the return of Stock A and the return of the market index? Solution 3 4. Using the table and your calculations from above, calculate the correlation of
  • 10. Stock A's returns and the return of the market index.