T17 correlation

864 views
785 views

Published on

Published in: Health & Medicine, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
864
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

T17 correlation

  1. 1. CorrelationBy Rama Krishna Kompella
  2. 2. 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.
  3. 3. 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.
  4. 4. 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.
  5. 5. Correlation RelationshipsNegative Relationship No Relationship Positive Relationship
  6. 6. 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
  7. 7. 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
  8. 8. Correlation CoefficientPearson 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
  9. 9. Determining Sample Correlation Coefficient http://www.drvkumar.com/mr9/ 10
  10. 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
  11. 11. Questions?

×