SlideShare a Scribd company logo
1 of 32
CORRELATION
                ANALYSIS
           It is a statistical measure which
           shows relationship between two
            or more variable moving in the
             same or in opposite direction


08/01/12            anilmishra5555@rediffmail.com   1
Visual Displays and
Correlation Analysis   • Correlation Analysis

  • The sample correlation coefficient (r) measures the
      degree of linearity in the relationship between X and
      Y.
                           -1 < r < +1

Strong negative relationship          Strong positive relationship

  • r = 0 indicates no linear relationship
  • In Excel, use =CORREL(array1,array2),
      where array1 is the range for X and array2 is the
      range for Y.
Types of correlation


                correlation



                    Simple ,
   positive                                      Linear
                    multiple
  & negative                                   & non-linear
                    & partial
08/01/12       anilmishra5555@rediffmail.com              3
Methods of correlation

•   Scatter diagram
•   Product moment or covariance
•   Rank correlation
•   Concurrent deviation




08/01/12        anilmishra5555@rediffmail.com   4
Scatter diagram

• Perfectly +ve




08/01/12      anilmishra5555@rediffmail.com   5
Less-degree +ve




                    Weak Positive
                     Correlation



08/01/12   anilmishra5555@rediffmail.com   6
High degree +ve




                        Strong Positive
                          Correlation


08/01/12   anilmishra5555@rediffmail.com   7
Perfectly -ve




08/01/12   anilmishra5555@rediffmail.com   8
High degree -ve

           Strong Negative Correlation




08/01/12         anilmishra5555@rediffmail.com   9
Less degree -ve




           Weak Negative
            Correlation

08/01/12     anilmishra5555@rediffmail.com   10
Zero degree




08/01/12   anilmishra5555@rediffmail.com   11
Karl Pearson correlation coefficient

              cov( x, y )
           r=
               σ x .σ y

           r=
                     ∑ x. y
                    ∑ x .∑ y  2              2




08/01/12     anilmishra5555@rediffmail.com       12
Where


           x = X −X
           and
           y =Y −Y


08/01/12    anilmishra5555@rediffmail.com   13
problem

   From the following data find the
     coefficient of correlation by Karl
     Pearson method
   X:6 2 10 4 8
   Y:9 11 5 8 7
Sol.

 X     Y    X-6   Y-8   x2   y2   x. y

  6     9     0     1    0    1     0
  2    11    -4     3   16    9   -12
 10     5     4    -3   16    9   -12
  8     8    -2     0    4    0     0
  4     7     2    -1    4    1    -2
 30    40     0     0   40   20   -26
Sol.cont.


    X=
       ∑X      =
                 30
                    =6
         N        5

    Y =
        ∑ Y = 40 = 8
         N       5

    r=
          ∑ x. y = − 26 = − 26 ≈ −0.92
        ∑  x 2 .∑ y 2  40.20 800
Direct method



                      N .∑ XY − ∑ X .∑ Y
     r=
           [ N ∑ X − ( ∑ X ) ]. [ N.∑ Y − ( ∑ Y ) ]
                  2                  2                2   2




08/01/12              anilmishra5555@rediffmail.com           17
Short-cut method



                       N ∑ d x .d y − ∑ d x .∑ d y
           r=
                N ∑ d x − (∑ dx ) . N ∑ d y − (∑ d y )
                      2                 2                 2   2




08/01/12                  anilmishra5555@rediffmail.com           18
Where


           dx = X − A
           &
           dy = Y − A
           A = assume mean



08/01/12    anilmishra5555@rediffmail.com   19
Product moment method

           r = bxy .byx
           where

           bxy     =
                     ∑xy
                    ∑ y                     2




           byx     =
                     ∑xy

08/01/12
                     ∑x
            anilmishra5555@rediffmail.com
                                            2

                                                20
spearman’s Rank correlation

                          6∑ D        2

           R = 1−
                       N ( N − 1)2


           where
           D = Rx − R y
           Rx = rank .of . X
           R y = rank .of . y

08/01/12    anilmishra5555@rediffmail.com   21
problem


Calculate spearman’s rank correlation
 coefficient between advt.cost & sales from
 the following data
Advt.cost :39 65 62 90 82 75 25 98 36 78
Sales(lakhs): 47 53 58 86 62 68 60 91 51 84
X    Y    R-x   R-y   D         D   2


Sol.   39   47   8     10    -2   4
       65   53   6     8     -2   4
       62   58   7     7     0    0
       90   86   2     2     0    0
       82   62   3     5     -2   4
       75   68   5     4     1    1
       25   60   10    6     4    16
       98   91   1     1     0    0
       36   51   9     9     0    0
       78   84   4     3     1    1
                                  30
Sol.cont.

                     6∑ D 2
            R = 1−
                  N −N3

                       6.30
            ⇒ R = 1− 3
                     10 − 10
                      2
            ⇒ R = 1−
                     11
                   9
            ⇒ R = = 0.82
                  11
In case of equal rank

                    
                  6 ∑ D +
                         2   1 3
                            12
                                    (
                                 m −m +
                                         1 3
                                        12
                                                 )         
                                           m − m + ........(   )
           R = 1−                                         
                                   N N −1
                                      2
                                             (          )
           where
           m = no.of repeated items



08/01/12                anilmishra5555@rediffmail.com               25
problem
A psychologist wanted to compare two methods A
  & B of teaching. He selected a random sample
  of 22 students. He grouped them into 11 pairs so
  that the students in a pair have approximately
  equal scores in an intelligence test. In each pair
  one student was taught by method A and the
  other by method B and examined after the
  course. The marks obtained by them as follows
Pair:1 2 3 4 5 6 7 8 9 10 11
A: 24 29 19 14 30 19 27 30 20 28 11
B: 37 35 16 26 23 27 19 20 16 11 21
A    B    R-A   R-B   D       D2
Sol.   24   37   6     1     5      25
       29   35   3     2     1      1
       19   16   8.5   9.5   -1     1
       14   26   10    4     6      36
       30   23   1.5   5     -3.5   12.25
       19   27   8.5   3     5.5    30.25
       27   19   5     8     -3     9
       30   20   1.5   7     -5.5   30.25
       20   16   7     9.5   -2.5   6.25
       28   11   4     11    -7     49
       11   21   11    6     5      25
                                    225
Sol.cont.

in A series the items 19 & 30 are repeated twice and in B series16
is repeated twice ∴
               2( 4 − 1) 2( 4 − 1) 2( 4 − 1) 
       6 ∑ D +
             2
                         +         +
                  12        12        12    
R = 1-
                    11(121 − 1)
⇒ R = −0.0225
Properties of correlation coefficient

• r always lies between +1 & -1
i.e. -1<r<+1
• Two independent variables are
   uncorrelated but converse is not true
• r is independent of change in origin and
   scale
• r is the G.M. of two regression coefficients
• r is symmetrical
08/01/12        anilmishra5555@rediffmail.com   29
Probable error
                      1 −r          2
           SE ( r ) =
                         n
           PE ( r ) = 0.6745 × SE ( r )
           or
                              1 −r               2
           PE ( r ) = 0.6745 ×
                                 n

08/01/12         anilmishra5555@rediffmail.com       30
The coefficient of determination
It is the primary way we can measure the extent
    or strength of the association that exists
    between two variables x & y . Because we have
    used a sample of points to develop regression
    lines .
                       2
It is denoted by r
Thank you



08/01/12   anilmishra5555@rediffmail.com   32

More Related Content

What's hot

correlation and regression
correlation and regressioncorrelation and regression
correlation and regressionUnsa Shakir
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsBabasab Patil
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaEdureka!
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
Chebyshev's Theorem
Chebyshev's Theorem Chebyshev's Theorem
Chebyshev's Theorem Reina Antonette
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrixitutor
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionDrZahid Khan
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysisRabin BK
 
Spearman rank correlation coefficient
Spearman rank correlation coefficientSpearman rank correlation coefficient
Spearman rank correlation coefficientKarishma Chaudhary
 
Regression Analysis - Thiyagu
Regression Analysis - ThiyaguRegression Analysis - Thiyagu
Regression Analysis - ThiyaguThiyagu K
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regressionalok tiwari
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression pptSantosh Bhaskar
 
Introduction to correlation and regression analysis
Introduction to correlation and regression analysisIntroduction to correlation and regression analysis
Introduction to correlation and regression analysisFarzad Javidanrad
 

What's hot (20)

correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Chebyshev's Theorem
Chebyshev's Theorem Chebyshev's Theorem
Chebyshev's Theorem
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Correlation ppt...
Correlation ppt...Correlation ppt...
Correlation ppt...
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysis
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Spearman rank correlation coefficient
Spearman rank correlation coefficientSpearman rank correlation coefficient
Spearman rank correlation coefficient
 
Regression Analysis - Thiyagu
Regression Analysis - ThiyaguRegression Analysis - Thiyagu
Regression Analysis - Thiyagu
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 
Bivariate data
Bivariate dataBivariate data
Bivariate data
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression ppt
 
Introduction to correlation and regression analysis
Introduction to correlation and regression analysisIntroduction to correlation and regression analysis
Introduction to correlation and regression analysis
 

Viewers also liked

Calculation of arithmetic mean
Calculation of arithmetic meanCalculation of arithmetic mean
Calculation of arithmetic meanSajina Nair
 
2.3 Histogram/Frequency Polygon/Ogives
2.3 Histogram/Frequency Polygon/Ogives2.3 Histogram/Frequency Polygon/Ogives
2.3 Histogram/Frequency Polygon/Ogivesmlong24
 
ARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIESARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIESDarwin Santos
 
First order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applicationsFirst order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applicationsJayanshu Gundaniya
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesEnrique Valderrama
 
Malimu variance and standard deviation
Malimu variance and standard deviationMalimu variance and standard deviation
Malimu variance and standard deviationMiharbi Ignasm
 
Propteties of Standard Deviation
Propteties of Standard DeviationPropteties of Standard Deviation
Propteties of Standard DeviationSahil Jindal
 
Spearman Rank Correlation Presentation
Spearman Rank Correlation PresentationSpearman Rank Correlation Presentation
Spearman Rank Correlation Presentationcae_021
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsaman1894
 
Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Namrata Saxena
 
Standard deviation
Standard deviationStandard deviation
Standard deviationKen Plummer
 
Standard Deviation and Variance
Standard Deviation and VarianceStandard Deviation and Variance
Standard Deviation and VarianceJufil Hombria
 
Standard deviation (3)
Standard deviation (3)Standard deviation (3)
Standard deviation (3)Sonali Prasad
 
Pearson Correlation
Pearson CorrelationPearson Correlation
Pearson CorrelationNoreen Morales
 
Mean, median, mode, & range ppt
Mean, median, mode, & range pptMean, median, mode, & range ppt
Mean, median, mode, & range pptmashal2013
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 

Viewers also liked (20)

Calculation of arithmetic mean
Calculation of arithmetic meanCalculation of arithmetic mean
Calculation of arithmetic mean
 
Spearman Rank
Spearman RankSpearman Rank
Spearman Rank
 
2.3 Histogram/Frequency Polygon/Ogives
2.3 Histogram/Frequency Polygon/Ogives2.3 Histogram/Frequency Polygon/Ogives
2.3 Histogram/Frequency Polygon/Ogives
 
ARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIESARITHMETIC MEAN AND SERIES
ARITHMETIC MEAN AND SERIES
 
Skewness
SkewnessSkewness
Skewness
 
First order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applicationsFirst order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applications
 
Partial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examplesPartial Differential Equations, 3 simple examples
Partial Differential Equations, 3 simple examples
 
Malimu variance and standard deviation
Malimu variance and standard deviationMalimu variance and standard deviation
Malimu variance and standard deviation
 
Propteties of Standard Deviation
Propteties of Standard DeviationPropteties of Standard Deviation
Propteties of Standard Deviation
 
Spearman Rank Correlation Presentation
Spearman Rank Correlation PresentationSpearman Rank Correlation Presentation
Spearman Rank Correlation Presentation
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)Correlation of subjects in school (b.ed notes)
Correlation of subjects in school (b.ed notes)
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Skewness
SkewnessSkewness
Skewness
 
Standard Deviation and Variance
Standard Deviation and VarianceStandard Deviation and Variance
Standard Deviation and Variance
 
Standard deviation (3)
Standard deviation (3)Standard deviation (3)
Standard deviation (3)
 
Pearson Correlation
Pearson CorrelationPearson Correlation
Pearson Correlation
 
Mean, median, mode, & range ppt
Mean, median, mode, & range pptMean, median, mode, & range ppt
Mean, median, mode, & range ppt
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Skewness
SkewnessSkewness
Skewness
 

Similar to Correlation analysis ppt

Correlation new 2017 black
Correlation new 2017 blackCorrelation new 2017 black
Correlation new 2017 blackfizjadoon
 
Regression
RegressionRegression
RegressionLavanyaK75
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTONE Virtual Services
 
stats_ch12.pdf
stats_ch12.pdfstats_ch12.pdf
stats_ch12.pdfshermanullah
 
Math4 presentation.ppsx
Math4 presentation.ppsxMath4 presentation.ppsx
Math4 presentation.ppsxRaviPal876687
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and RegressionNeha Dokania
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression AnalysisRekha Rani
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statisticsiphone4s4
 
Unit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxUnit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxAppasamiG
 
Correlation
CorrelationCorrelation
Correlationharshika5
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Muhammadasif909
 
Chapter 12
Chapter 12Chapter 12
Chapter 12Ami Spears
 
Lecture 9 f17
Lecture 9 f17Lecture 9 f17
Lecture 9 f17Eric Cochran
 
2 senarai rumus add maths k1 trial spm sbp 2010
2 senarai rumus add maths k1 trial spm sbp 20102 senarai rumus add maths k1 trial spm sbp 2010
2 senarai rumus add maths k1 trial spm sbp 2010zabidah awang
 
2 senarai rumus add maths k2 trial spm sbp 2010
2 senarai rumus add maths k2 trial spm sbp 20102 senarai rumus add maths k2 trial spm sbp 2010
2 senarai rumus add maths k2 trial spm sbp 2010zabidah awang
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidelarunsmm
 
Scatter diagrams and correlation and simple linear regresssion
Scatter diagrams and correlation and simple linear regresssionScatter diagrams and correlation and simple linear regresssion
Scatter diagrams and correlation and simple linear regresssionAnkit Katiyar
 

Similar to Correlation analysis ppt (20)

Correlation new 2017 black
Correlation new 2017 blackCorrelation new 2017 black
Correlation new 2017 black
 
Regression
RegressionRegression
Regression
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
 
stats_ch12.pdf
stats_ch12.pdfstats_ch12.pdf
stats_ch12.pdf
 
Math4 presentation.ppsx
Math4 presentation.ppsxMath4 presentation.ppsx
Math4 presentation.ppsx
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression Analysis
 
Regression and correlation in statistics
Regression and correlation in statisticsRegression and correlation in statistics
Regression and correlation in statistics
 
Unit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptxUnit 4_3 Correlation Regression.pptx
Unit 4_3 Correlation Regression.pptx
 
Correlation & regression
Correlation & regression Correlation & regression
Correlation & regression
 
Correlation
CorrelationCorrelation
Correlation
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Correlation & regression (2)
Correlation & regression (2)Correlation & regression (2)
Correlation & regression (2)
 
Lecture 9 f17
Lecture 9 f17Lecture 9 f17
Lecture 9 f17
 
2 senarai rumus add maths k1 trial spm sbp 2010
2 senarai rumus add maths k1 trial spm sbp 20102 senarai rumus add maths k1 trial spm sbp 2010
2 senarai rumus add maths k1 trial spm sbp 2010
 
2 senarai rumus add maths k2 trial spm sbp 2010
2 senarai rumus add maths k2 trial spm sbp 20102 senarai rumus add maths k2 trial spm sbp 2010
2 senarai rumus add maths k2 trial spm sbp 2010
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Scatter diagrams and correlation and simple linear regresssion
Scatter diagrams and correlation and simple linear regresssionScatter diagrams and correlation and simple linear regresssion
Scatter diagrams and correlation and simple linear regresssion
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

Correlation analysis ppt

  • 1. CORRELATION ANALYSIS It is a statistical measure which shows relationship between two or more variable moving in the same or in opposite direction 08/01/12 anilmishra5555@rediffmail.com 1
  • 2. Visual Displays and Correlation Analysis • Correlation Analysis • The sample correlation coefficient (r) measures the degree of linearity in the relationship between X and Y. -1 < r < +1 Strong negative relationship Strong positive relationship • r = 0 indicates no linear relationship • In Excel, use =CORREL(array1,array2), where array1 is the range for X and array2 is the range for Y.
  • 3. Types of correlation correlation Simple , positive Linear multiple & negative & non-linear & partial 08/01/12 anilmishra5555@rediffmail.com 3
  • 4. Methods of correlation • Scatter diagram • Product moment or covariance • Rank correlation • Concurrent deviation 08/01/12 anilmishra5555@rediffmail.com 4
  • 5. Scatter diagram • Perfectly +ve 08/01/12 anilmishra5555@rediffmail.com 5
  • 6. Less-degree +ve Weak Positive Correlation 08/01/12 anilmishra5555@rediffmail.com 6
  • 7. High degree +ve Strong Positive Correlation 08/01/12 anilmishra5555@rediffmail.com 7
  • 8. Perfectly -ve 08/01/12 anilmishra5555@rediffmail.com 8
  • 9. High degree -ve Strong Negative Correlation 08/01/12 anilmishra5555@rediffmail.com 9
  • 10. Less degree -ve Weak Negative Correlation 08/01/12 anilmishra5555@rediffmail.com 10
  • 11. Zero degree 08/01/12 anilmishra5555@rediffmail.com 11
  • 12. Karl Pearson correlation coefficient cov( x, y ) r= σ x .σ y r= ∑ x. y ∑ x .∑ y 2 2 08/01/12 anilmishra5555@rediffmail.com 12
  • 13. Where x = X −X and y =Y −Y 08/01/12 anilmishra5555@rediffmail.com 13
  • 14. problem From the following data find the coefficient of correlation by Karl Pearson method X:6 2 10 4 8 Y:9 11 5 8 7
  • 15. Sol. X Y X-6 Y-8 x2 y2 x. y 6 9 0 1 0 1 0 2 11 -4 3 16 9 -12 10 5 4 -3 16 9 -12 8 8 -2 0 4 0 0 4 7 2 -1 4 1 -2 30 40 0 0 40 20 -26
  • 16. Sol.cont. X= ∑X = 30 =6 N 5 Y = ∑ Y = 40 = 8 N 5 r= ∑ x. y = − 26 = − 26 ≈ −0.92 ∑ x 2 .∑ y 2 40.20 800
  • 17. Direct method N .∑ XY − ∑ X .∑ Y r= [ N ∑ X − ( ∑ X ) ]. [ N.∑ Y − ( ∑ Y ) ] 2 2 2 2 08/01/12 anilmishra5555@rediffmail.com 17
  • 18. Short-cut method N ∑ d x .d y − ∑ d x .∑ d y r= N ∑ d x − (∑ dx ) . N ∑ d y − (∑ d y ) 2 2 2 2 08/01/12 anilmishra5555@rediffmail.com 18
  • 19. Where dx = X − A & dy = Y − A A = assume mean 08/01/12 anilmishra5555@rediffmail.com 19
  • 20. Product moment method r = bxy .byx where bxy = ∑xy ∑ y 2 byx = ∑xy 08/01/12 ∑x anilmishra5555@rediffmail.com 2 20
  • 21. spearman’s Rank correlation 6∑ D 2 R = 1− N ( N − 1)2 where D = Rx − R y Rx = rank .of . X R y = rank .of . y 08/01/12 anilmishra5555@rediffmail.com 21
  • 22. problem Calculate spearman’s rank correlation coefficient between advt.cost & sales from the following data Advt.cost :39 65 62 90 82 75 25 98 36 78 Sales(lakhs): 47 53 58 86 62 68 60 91 51 84
  • 23. X Y R-x R-y D D 2 Sol. 39 47 8 10 -2 4 65 53 6 8 -2 4 62 58 7 7 0 0 90 86 2 2 0 0 82 62 3 5 -2 4 75 68 5 4 1 1 25 60 10 6 4 16 98 91 1 1 0 0 36 51 9 9 0 0 78 84 4 3 1 1 30
  • 24. Sol.cont. 6∑ D 2 R = 1− N −N3 6.30 ⇒ R = 1− 3 10 − 10 2 ⇒ R = 1− 11 9 ⇒ R = = 0.82 11
  • 25. In case of equal rank  6 ∑ D + 2 1 3 12 ( m −m + 1 3 12 )  m − m + ........( ) R = 1−   N N −1 2 ( ) where m = no.of repeated items 08/01/12 anilmishra5555@rediffmail.com 25
  • 26. problem A psychologist wanted to compare two methods A & B of teaching. He selected a random sample of 22 students. He grouped them into 11 pairs so that the students in a pair have approximately equal scores in an intelligence test. In each pair one student was taught by method A and the other by method B and examined after the course. The marks obtained by them as follows Pair:1 2 3 4 5 6 7 8 9 10 11 A: 24 29 19 14 30 19 27 30 20 28 11 B: 37 35 16 26 23 27 19 20 16 11 21
  • 27. A B R-A R-B D D2 Sol. 24 37 6 1 5 25 29 35 3 2 1 1 19 16 8.5 9.5 -1 1 14 26 10 4 6 36 30 23 1.5 5 -3.5 12.25 19 27 8.5 3 5.5 30.25 27 19 5 8 -3 9 30 20 1.5 7 -5.5 30.25 20 16 7 9.5 -2.5 6.25 28 11 4 11 -7 49 11 21 11 6 5 25 225
  • 28. Sol.cont. in A series the items 19 & 30 are repeated twice and in B series16 is repeated twice ∴  2( 4 − 1) 2( 4 − 1) 2( 4 − 1)  6 ∑ D + 2 + +  12 12 12   R = 1- 11(121 − 1) ⇒ R = −0.0225
  • 29. Properties of correlation coefficient • r always lies between +1 & -1 i.e. -1<r<+1 • Two independent variables are uncorrelated but converse is not true • r is independent of change in origin and scale • r is the G.M. of two regression coefficients • r is symmetrical 08/01/12 anilmishra5555@rediffmail.com 29
  • 30. Probable error 1 −r 2 SE ( r ) = n PE ( r ) = 0.6745 × SE ( r ) or 1 −r 2 PE ( r ) = 0.6745 × n 08/01/12 anilmishra5555@rediffmail.com 30
  • 31. The coefficient of determination It is the primary way we can measure the extent or strength of the association that exists between two variables x & y . Because we have used a sample of points to develop regression lines . 2 It is denoted by r
  • 32. Thank you 08/01/12 anilmishra5555@rediffmail.com 32