q u antif y ing the strength of bi v ariate relationships
play

Q u antif y ing the strength of bi v ariate relationships C OR R E - PowerPoint PPT Presentation

Q u antif y ing the strength of bi v ariate relationships C OR R E L ATION AN D R E G R E SSION IN R Ben Ba u mer Assistant Professor at Smith College Correlation Correlation coe cient bet w een -1 and 1 Sign > direction Magnit u


  1. Q u antif y ing the strength of bi v ariate relationships C OR R E L ATION AN D R E G R E SSION IN R Ben Ba u mer Assistant Professor at Smith College

  2. Correlation Correlation coe � cient bet w een -1 and 1 Sign —> direction Magnit u de —> strength CORRELATION AND REGRESSION IN R

  3. Near perfect correlation CORRELATION AND REGRESSION IN R

  4. Strong CORRELATION AND REGRESSION IN R

  5. Moderate CORRELATION AND REGRESSION IN R

  6. Weak CORRELATION AND REGRESSION IN R

  7. Zero CORRELATION AND REGRESSION IN R

  8. Negati v e CORRELATION AND REGRESSION IN R

  9. Non - linear CORRELATION AND REGRESSION IN R

  10. Non - linear correlation run10 %>% filter(divPlace <= 10) %>% ggplot(aes(x = age, y = pace, color = gender)) + geom_point() CORRELATION AND REGRESSION IN R

  11. Pearson prod u ct - moment correlation CORRELATION AND REGRESSION IN R

  12. Pearson prod u ct - moment correlation ( i x − ¯) ( i y − ¯) ∑ i =1 n x y r ( x , y ) = ¯ 2 ∑ i =1 ¯ 2 ( x − ) ⋅ ( y − ) √ ∑ i =1 n n x y i i CORRELATION AND REGRESSION IN R

  13. Let ' s practice ! C OR R E L ATION AN D R E G R E SSION IN R

  14. The Anscombe dataset C OR R E L ATION AN D R E G R E SSION IN R Ben Ba u mer Assistant Professor at Smith College

  15. Anscombe ggplot(data = Anscombe, aes(x = x, y = y)) + geom_point() + facet_wrap(~ set) CORRELATION AND REGRESSION IN R

  16. Anscombe 1 Anscombe %>% filter(set == 1) %>% ggplot(aes(x = x, y = y)) + geom_point() CORRELATION AND REGRESSION IN R

  17. Anscombe 2 Anscombe %>% filter(set == 2) %>% ggplot(aes(x = x, y = y)) + geom_point() CORRELATION AND REGRESSION IN R

  18. Anscombe 3 Anscombe %>% filter(set == 3) %>% ggplot(aes(x = x, y = y)) + geom_point() CORRELATION AND REGRESSION IN R

  19. Anscombe 4 Anscombe %>% filter(set == 4) %>% ggplot(aes(x = x, y = y)) + geom_point() CORRELATION AND REGRESSION IN R

  20. Let ' s practice ! C OR R E L ATION AN D R E G R E SSION IN R

  21. Interpretation of Correlation C OR R E L ATION AN D R E G R E SSION IN R Ben Ba u mer Assistant Professor at Smith College

  22. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  23. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  24. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  25. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  26. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  27. E x ercise and beer 1 So u rce : h � p ://w ell . blogs . n y times . com /2015/12/02/ the - close - ties - bet w een - e x ercise - and - beer / CORRELATION AND REGRESSION IN R

  28. E x ercise and beer CORRELATION AND REGRESSION IN R

  29. E x ercise and beer CORRELATION AND REGRESSION IN R

  30. E x ercise and beer CORRELATION AND REGRESSION IN R

  31. E x ercise and beer CORRELATION AND REGRESSION IN R

  32. NFL arrests 1 So u rce : h � ps ://www. n y times . com /2014/09/13/u pshot /w hat - the - n u mbers - sho w- abo u t - n �- pla y er - arrests . html CORRELATION AND REGRESSION IN R

  33. NFL arrests CORRELATION AND REGRESSION IN R

  34. NFL arrests CORRELATION AND REGRESSION IN R

  35. NFL arrests CORRELATION AND REGRESSION IN R

  36. Correlation v s . regression 1 So u rce : h � p ://www. n y times . com /2012/11/02/ b u siness / q u estions - raised - on - w ithdra w al - of - congressional - research - ser v ices - report - on - ta x- rates . html CORRELATION AND REGRESSION IN R

  37. Correlation v s . regression 1 So u rce : h � p ://www. n y times . com /2012/11/02/ b u siness / q u estions - raised - on - w ithdra w al - of - congressional - research - ser v ices - report - on - ta x- rates . html CORRELATION AND REGRESSION IN R

  38. Correlation v s . regression 1 So u rce : h � p ://www. n y times . com /2012/11/02/ b u siness / q u estions - raised - on - w ithdra w al - of - congressional - research - ser v ices - report - on - ta x- rates . html CORRELATION AND REGRESSION IN R

  39. Can y o u plot a correlation ? 1 So u rce : h � p :// heatst . com /w orld / no - correlation - bet w een -v oting - for - bre x it - and - racism - st u d y-� nds / CORRELATION AND REGRESSION IN R

  40. Let ' s practice ! C OR R E L ATION AN D R E G R E SSION IN R

  41. Sp u rio u s correlations C OR R E L ATION AN D R E G R E SSION IN R Ben Ba u mer Assistant Professor at Smith College

  42. Sp u rio u s o v er time CORRELATION AND REGRESSION IN R

  43. Sp u rio u s o v er time CORRELATION AND REGRESSION IN R

  44. Sp u rio u s o v er space CORRELATION AND REGRESSION IN R

  45. Sp u rio u s for w hate v er reason CORRELATION AND REGRESSION IN R

  46. Let ' s practice ! C OR R E L ATION AN D R E G R E SSION IN R

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend