SlideShare a Scribd company logo
T17 correlation
Correlation


By Rama Krishna Kompella
Correlation
• The coefficient of correlation is a numerical
  measure of the strength of the linear
  relationship between 2 variables.
• X, Y must be measurable quantitatively.
Correlation
• Two variables X, Y have a positive correlation if large
  values of X tend to be associated with large values of
  Y; similarly, for small values.
• Two variables X, Y have a negative correlation if
  large values of X tend to be associated with small
  values of Y, and vice-versa.
What Are Correlation Tests?
• Provides a quantitative perspective on the strength of
  the relationship if one is found, denoted by an “r” value.
• Values of r are always between -1 & 1; i.e., between 0
  and 1 in absolute value.
• r = 0 means no correlation; r = +-1 means perfect
  correlation; both rare.
• Tests can be run for both parametric and non-parametric
  data sets.
Correlation Relationships




Negative Relationship   No Relationship   Positive Relationship
Parametric vs. Non-Parametric
• Parametric data:
  – Assumes normal distribution, homogenous
    variance, and data sets are typically ratio or
    interval.
  – Can draw more conclusions.
     • Pearson Correlation
• Non-Parametric data:
  – No assumption on distribution or variance
    relationship, and data sets are typically ordinal or
    nominal.
  – More simple and less affected by outliers.
     • Spearman Correlation
Pearson Product Moment Correlation
• More simply known as Pearson Correlation,
  designated by the Greek letter rho (ρ) but
  reported as a “r” value.
• Depicts linear relationships.
• Data sets must meet assumptions of
  parametric data.
• Like Spearman’s, Hypothesis testing states;
  – Ho : ρ = 0
  – Ha: ρ ≠ 0
Correlation Coefficient

Pearson Product-moment Correlation Coefficient

               1     X i −X   (Yi − )
                                   Y
      rxy =        *∑       *
            (n − )
                 1     Sx        Sy


                           Cov xy
              rxy =
                   Sx * S y




               http://www.drvkumar.com/mr9/      9
Determining Sample Correlation
          Coefficient




          http://www.drvkumar.com/mr9/   10
Testing the Significance of the
     Correlation Coefficient
• Null hypothesis:                   Ho : p = 0
• Alternative hypothesis:            Ha : p ≠ 0
• Test statistic

                                    6 −2
                      t = .70               2
                                                = 1.96
                                 1 − 0.70

       Example: n = 6 and r = .70
       At α = .05 , n-2 = 4 degrees of freedom,
       Critical value of t = 2.78
       Since 1.96<2.78, we fail to reject the null hypothesis.
                        http://www.drvkumar.com/mr9/             11
Questions?

More Related Content

PPTX
Correlation &amp;regression
PPTX
Correlation analysis
PPTX
Correlation and regresion-Mathematics
PPTX
Correlation analysis
PPT
Ch 7 correlation_and_linear_regression
PPTX
Correlationanalysis
PPTX
Correlation analysis
PDF
Correlation &amp;regression
Correlation analysis
Correlation and regresion-Mathematics
Correlation analysis
Ch 7 correlation_and_linear_regression
Correlationanalysis
Correlation analysis

What's hot (20)

PPTX
Correlation and regression
PPTX
Correlation ppt...
PPT
regression and correlation
PPTX
Correlation
PPTX
Data analysis 1
PPT
Correlation analysis
PPTX
Fundamental of Statistics and Types of Correlations
PPTX
Correlation (1)
PPTX
Correlation
PPTX
Correlation
PPTX
Correlation and partial correlation
ODP
Correlation
PPTX
Correlation
PPTX
Correlation and regression
PPTX
Correlation
PPT
Correlation IN STATISTICS
PPTX
Correlation Analysis
PPT
Correlation
PDF
Correlation in Statistics
PPT
Regression & correlation
Correlation and regression
Correlation ppt...
regression and correlation
Correlation
Data analysis 1
Correlation analysis
Fundamental of Statistics and Types of Correlations
Correlation (1)
Correlation
Correlation
Correlation and partial correlation
Correlation
Correlation
Correlation and regression
Correlation
Correlation IN STATISTICS
Correlation Analysis
Correlation
Correlation in Statistics
Regression & correlation
Ad

Similar to T17 correlation (20)

PPT
Les5e ppt 09
PPT
Simple linear regressionn and Correlation
PPT
A correlation analysis.ppt 2018
PPTX
Correlation analysis
PDF
Unit 1 Correlation- BSRM.pdf
PPTX
Correlation and Its Types with Questions and Examples
PDF
Correlation Analysis
PPT
Stats For Life Module7 Oc
PPTX
Correlation and Regression2_student.pptx
PPTX
PPTX
correlation ;.pptx
PPTX
correlation.pptx
PPT
correlation.ppt
PDF
CORRELATION-AND-REGRESSION.pdf for human resource
PDF
Lect w8 w9_correlation_regression
PDF
Introduction to correlation and regression analysis
PDF
Statistical data handling
PPTX
Correlation Analysis PRESENTED.pptx
PPTX
Correlation Statistics for Economics Notes
PPTX
Regression &amp; correlation coefficient
Les5e ppt 09
Simple linear regressionn and Correlation
A correlation analysis.ppt 2018
Correlation analysis
Unit 1 Correlation- BSRM.pdf
Correlation and Its Types with Questions and Examples
Correlation Analysis
Stats For Life Module7 Oc
Correlation and Regression2_student.pptx
correlation ;.pptx
correlation.pptx
correlation.ppt
CORRELATION-AND-REGRESSION.pdf for human resource
Lect w8 w9_correlation_regression
Introduction to correlation and regression analysis
Statistical data handling
Correlation Analysis PRESENTED.pptx
Correlation Statistics for Economics Notes
Regression &amp; correlation coefficient
Ad

More from kompellark (20)

PPT
T22 research report writing
PPT
Rubric assignment 2
PPT
Answers mid-term
PDF
Exam paper
PPT
T21 conjoint analysis
PPT
T20 cluster analysis
PPT
T19 factor analysis
PPT
T18 discriminant analysis
PPT
T16 multiple regression
PPT
T15 ancova
PPT
T14 anova
PPT
T13 parametric tests
PPT
T11 types of tests
PPT
T15 ancova
PPT
T14 anova
PPT
T13 parametric tests
PPT
T12 non-parametric tests
PPT
T11 types of tests
PPT
T16 multiple regression
PPT
T10 statisitical analysis
T22 research report writing
Rubric assignment 2
Answers mid-term
Exam paper
T21 conjoint analysis
T20 cluster analysis
T19 factor analysis
T18 discriminant analysis
T16 multiple regression
T15 ancova
T14 anova
T13 parametric tests
T11 types of tests
T15 ancova
T14 anova
T13 parametric tests
T12 non-parametric tests
T11 types of tests
T16 multiple regression
T10 statisitical analysis

Recently uploaded (20)

PPT
genitourinary-cancers_1.ppt Nursing care of clients with GU cancer
PPT
MENTAL HEALTH - NOTES.ppt for nursing students
PDF
NEET PG 2025 | 200 High-Yield Recall Topics Across All Subjects
PPT
Obstructive sleep apnea in orthodontics treatment
PDF
Therapeutic Potential of Citrus Flavonoids in Metabolic Inflammation and Ins...
PDF
شيت_عطا_0000000000000000000000000000.pdf
PPTX
Neuropathic pain.ppt treatment managment
PDF
Medical Evidence in the Criminal Justice Delivery System in.pdf
PPTX
surgery guide for USMLE step 2-part 1.pptx
PPTX
CME 2 Acute Chest Pain preentation for education
PPT
Management of Acute Kidney Injury at LAUTECH
PPTX
POLYCYSTIC OVARIAN SYNDROME.pptx by Dr( med) Charles Amoateng
PPT
Breast Cancer management for medicsl student.ppt
PPT
ASRH Presentation for students and teachers 2770633.ppt
PPTX
Respiratory drugs, drugs acting on the respi system
PPTX
Imaging of parasitic D. Case Discussions.pptx
PPTX
ca esophagus molecula biology detailaed molecular biology of tumors of esophagus
PPT
1b - INTRODUCTION TO EPIDEMIOLOGY (comm med).ppt
PDF
Handout_ NURS 220 Topic 10-Abnormal Pregnancy.pdf
PDF
Oral Aspect of Metabolic Disease_20250717_192438_0000.pdf
genitourinary-cancers_1.ppt Nursing care of clients with GU cancer
MENTAL HEALTH - NOTES.ppt for nursing students
NEET PG 2025 | 200 High-Yield Recall Topics Across All Subjects
Obstructive sleep apnea in orthodontics treatment
Therapeutic Potential of Citrus Flavonoids in Metabolic Inflammation and Ins...
شيت_عطا_0000000000000000000000000000.pdf
Neuropathic pain.ppt treatment managment
Medical Evidence in the Criminal Justice Delivery System in.pdf
surgery guide for USMLE step 2-part 1.pptx
CME 2 Acute Chest Pain preentation for education
Management of Acute Kidney Injury at LAUTECH
POLYCYSTIC OVARIAN SYNDROME.pptx by Dr( med) Charles Amoateng
Breast Cancer management for medicsl student.ppt
ASRH Presentation for students and teachers 2770633.ppt
Respiratory drugs, drugs acting on the respi system
Imaging of parasitic D. Case Discussions.pptx
ca esophagus molecula biology detailaed molecular biology of tumors of esophagus
1b - INTRODUCTION TO EPIDEMIOLOGY (comm med).ppt
Handout_ NURS 220 Topic 10-Abnormal Pregnancy.pdf
Oral Aspect of Metabolic Disease_20250717_192438_0000.pdf

T17 correlation

  • 3. Correlation • The coefficient of correlation is a numerical measure of the strength of the linear relationship between 2 variables. • X, Y must be measurable quantitatively.
  • 4. Correlation • Two variables X, Y have a positive correlation if large values of X tend to be associated with large values of Y; similarly, for small values. • Two variables X, Y have a negative correlation if large values of X tend to be associated with small values of Y, and vice-versa.
  • 5. What Are Correlation Tests? • Provides a quantitative perspective on the strength of the relationship if one is found, denoted by an “r” value. • Values of r are always between -1 & 1; i.e., between 0 and 1 in absolute value. • r = 0 means no correlation; r = +-1 means perfect correlation; both rare. • Tests can be run for both parametric and non-parametric data sets.
  • 6. Correlation Relationships Negative Relationship No Relationship Positive Relationship
  • 7. Parametric vs. Non-Parametric • Parametric data: – Assumes normal distribution, homogenous variance, and data sets are typically ratio or interval. – Can draw more conclusions. • Pearson Correlation • Non-Parametric data: – No assumption on distribution or variance relationship, and data sets are typically ordinal or nominal. – More simple and less affected by outliers. • Spearman Correlation
  • 8. Pearson Product Moment Correlation • More simply known as Pearson Correlation, designated by the Greek letter rho (ρ) but reported as a “r” value. • Depicts linear relationships. • Data sets must meet assumptions of parametric data. • Like Spearman’s, Hypothesis testing states; – Ho : ρ = 0 – Ha: ρ ≠ 0
  • 9. Correlation Coefficient Pearson Product-moment Correlation Coefficient 1 X i −X (Yi − ) Y rxy = *∑ * (n − ) 1 Sx Sy Cov xy rxy = Sx * S y http://www.drvkumar.com/mr9/ 9
  • 10. Determining Sample Correlation Coefficient http://www.drvkumar.com/mr9/ 10
  • 11. Testing the Significance of the Correlation Coefficient • Null hypothesis: Ho : p = 0 • Alternative hypothesis: Ha : p ≠ 0 • Test statistic 6 −2 t = .70 2 = 1.96 1 − 0.70 Example: n = 6 and r = .70 At α = .05 , n-2 = 4 degrees of freedom, Critical value of t = 2.78 Since 1.96<2.78, we fail to reject the null hypothesis. http://www.drvkumar.com/mr9/ 11