Finding correlations with R
Loading...
3,415
Loading...
Uploader Comments (jdeisenberg)
see all
All Comments (5)
-
Thanks this video saved me a lot of time :)
Loading...
You're plotting the regression line, but the correlation method you use is Spearman. I heard from elsewhere that it's meaningless to bring the line that best fit the Spearman correlation. I'm reporting the same case in fact, and the approach I use is first I convert the values into ranked values, and then plot them and bring the line best fit the Pearson correlation of ranked values. Is it better?
rivosuoth 7 months ago
@rivosuoth According to Wikipedia (and how could they be wrong?): "The Spearman correlation coefficient is defined as the Pearson correlation coefficient between the ranked variables." Yes, a llne of best fit is really more appropriate for interval data than ordinal data.
jdeisenberg 7 months ago
Blurry... At least on my iPhone.
scottakenhead 1 year ago
@scottakenhead It's blurry, period, because of the screen size and software I used to make the video; sorry about that!
jdeisenberg 1 year ago