filmov
tv
Correlation Coefficient in R | Pearson Correlation | Spearman Correlation | Kendall Correlation
![preview_player](https://i.ytimg.com/vi/UPwdVoyb6ak/maxresdefault.jpg)
Показать описание
This video is about the calculation of correlation coefficient in R. Correlation is a statistical method that is used to find out the relationship between two variables. There are different methods to calculate correlation like Pearson Correlation, Spearman correlation and Kendall correlation. Pearson correlation is mostly used to compute the correlation coefficient. However, it depends on the structure of data that which method is suitable for data. In R, cor() function is used to calculate correlation coefficient. The cor () function by default calculates Pearson correlation. However, the method within this function can be changed to Spearman or Kendall. In this example, I calculated correlation coefficient between the birth weight and 120 days weight of sheep.
To learn the Basics of R Programming
#correlation #correlationcoefficient #rprogramming
To learn the Basics of R Programming
#correlation #correlationcoefficient #rprogramming