Correlation in R | Pearson, Spearman, Robust, Bayesian | How to conduct, visualise and interpret

  Рет қаралды 29,942

yuzaR Data Science

yuzaR Data Science

Күн бұрын

Пікірлер: 62
@Rumil_
@Rumil_ 3 жыл бұрын
Wow this is golden. I truly appreciate the awesome editting and reasons and explanations behind the interpretations. Thank you and look forward to watching more!
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
You're very welcome, Rumil! :) I am glad it is useful not only to me :)
@omer3135
@omer3135 5 ай бұрын
Incredible video really. I mean it was to the point, code was shown and the short explanations of all aspects made this video so helpful and easy to understand. Thank you very much
@yuzaR-Data-Science
@yuzaR-Data-Science 5 ай бұрын
Glad you liked it! You are very welcome! Hope other videos are useful too! Thanks for watching and commenting, that helps the channel grow! :)
@bhagyamaduwanthi995
@bhagyamaduwanthi995 Ай бұрын
Wow, What a vedio! Concise, Simple and Perfect.
@yuzaR-Data-Science
@yuzaR-Data-Science Ай бұрын
Glad you liked it! There are similar videos on other tests ;)
@so4ragb
@so4ragb 3 жыл бұрын
you always have the best and very clearly understandable tuts. Always eagerly waiting for the next. 1000x thanks
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
1000x thanks for the feedback! 😊 More to come!
@oousmane
@oousmane 3 жыл бұрын
Amazing Yury, always clear. Love your tuts !
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
Thanks, Ousmane! Glad you like them! 😊 More to come!
@joeyoviedo5202
@joeyoviedo5202 Жыл бұрын
Subscribed! I am very excited to explore your video playlists. Thank you!
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Awesome, thank you! :) hope you like the rest! Cheers
@Dr.S.M.AbdusSalam
@Dr.S.M.AbdusSalam Жыл бұрын
REALLY AWESOME . Very clear tut.
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Glad you think so! Thanks 🙏 You might also like the rest
@juniorsouza4826
@juniorsouza4826 4 ай бұрын
Please post a video about mixed models, suggesting the best data treatments, packages and graphing. Thank you very much! Your channel notifications are my favorite!
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
Thanks for your nice words! I will definitely do multiple videos on mixed models, since I use them everyday. It’ll take a while because I already have a long list of videos to be done, but mixed models will be there, I promise!
@juniorsouza4826
@juniorsouza4826 4 ай бұрын
@@yuzaR-Data-Science Amazing! I'm looking forward to the mixed model series.
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
@@juniorsouza4826 cool :)
@hikeaway1596
@hikeaway1596 7 ай бұрын
top content, very concise and to the point! thanks!
@yuzaR-Data-Science
@yuzaR-Data-Science 7 ай бұрын
waw, thanks for such a generous feedback!
@kydaviddoyle1969
@kydaviddoyle1969 3 ай бұрын
Another great video!! One question what is the source of the tables you use to show the interpretation of P-value, bias factor, and size of correlation coefficient?
@yuzaR-Data-Science
@yuzaR-Data-Science 3 ай бұрын
Good question! Generally, you just find some interpretation and use the reference. It does not have to be the one from the video. However, if you want to use those, here are three references: Hinkle DE, Wiersma W, Jurs SG. Applied Statistics for the Behavioral Sciences. 5th ed. Boston: Houghton Mifflin; 2003. Jeffreys, H. 1961. Theory of Probability. 3rd ed. Oxford: Oxford University Press. Raiola, Gaetano & Di tore, Pio. (2012). Statistical study on bodily communication skills in volleyball to improve teaching methods. Journal of Human Sport and Exercise. 7. 10.4100/jhse.2012.72.12.
@drmedleech
@drmedleech 4 ай бұрын
Amazing! Thank you.
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
Glad you liked it! 🙏
@Dergicetea
@Dergicetea 8 ай бұрын
This video has been awesome to watch, Sir. I have, though, 2 small questions. Where could I find the step before of a shapiro-wilk or kolmogorov-smirnoff test for normality? I'm new in R, by the way. And a little question about the aesthetic appearence of the present correlation graph, is it possible to change the colours within this function ggstatsplot? I mean, if it could be, for example, one just simple colour but with different tonality for the variable x and y. Is that possible? I thank you so much for the answers in advance, Sir.
@yuzaR-Data-Science
@yuzaR-Data-Science 8 ай бұрын
Hi man, "normality" is the function which conducts shapiro-wilk. I do not recommend kolmogorov-smirnoff. you can change colors. for that just write ?ggscatterstats in the console of RStudio, hit enter and explore the possibilities. Cheers
@WilForDataScience
@WilForDataScience 6 ай бұрын
Hey there! I'm wondering where you get the information about the conventional thresholds for interpretation (like for p-values, Bayes, etc). There are so many different versions from different authors out there, which one should we trust? I'm really struggling to make up my mind! I already know about the effectsize package, but should we trust their frames of reference? Thanks in advance sir.
@yuzaR-Data-Science
@yuzaR-Data-Science 6 ай бұрын
Oh man, I totally get it! It made me also crazy when there are two different interpretations of the same effectsize. Where is the truth? Not even statistitians know, they only can defend their opinion. Thus, I also decided to take the one which make the most sense for me with the reference to it. The reference is important, because then you have the source you trust and the others can reproduce and build on your knowledge. When you ask RStudio in this way "?interpret_eta_squared()" you'll get all the references you need. Hope that helps! Cheers
@WilForDataScience
@WilForDataScience 6 ай бұрын
@@yuzaR-Data-Science Thank you so much for the response. I know that feeling too man. I am going to check that right away!
@dagpoddhg1234
@dagpoddhg1234 5 ай бұрын
Helllo, I have a question on changing the type of test. When I change it from "parametric" to "nonparametric", the axis still shows the raw data and not ranks. Thanks for this super helpful video!
@yuzaR-Data-Science
@yuzaR-Data-Science 5 ай бұрын
Yes, the y-axis shows the original data. Thanks for watching!
@WilForDataScience
@WilForDataScience 6 ай бұрын
Hey sir, just for information, it seems like the package is under maintenance or remission because the feature no longer works. I tried several datasets and variables, even copied your example character by character, but it just always shows the same error: `stat_xsidebin()` with `bins = 30`. Choose a better value with `binwidth'. `stat_ysidebin()` with `bins = 30`. Choose a better value with `binwidth`. Error in `plot_theme()`: ! The `ggside.axis.minor.ticks.length' theme element must be a object. I've tried to troubleshoot it but no success jet, and I know it's out of your control, but I just wanted to give you a heads up. PD: I noticed one drawback to this feature: it only has 4 types of correlations, and you cannot use e.g. Kendall's, Gaussian's or Shepherd's correlation, which is not bad in itself, but it would be great to test these other types of correlations as well. PD2: I found a sort of alternative with the easystats correlation package (easystats.github.io/correlation/), which offers a large number of methods and a very similar plot (like plot(cor_test(iris, "Sepal.Width", "Sepal.Length")), but it only shows the frequentist calculation at once (as far as I know). would you consider doing a review of this package or even the other easystats packages (you have already done some 😉)? As always, thank your for your labor and fast responses.
@yuzaR-Data-Science
@yuzaR-Data-Science 6 ай бұрын
hey man, thanks for the update. Interestingly, the ggstatsplot works perfectly on my computer. So, it might be some dependency which is not updated. Try to update all the packages your have (espetially ggside) and R version. Sure, I also wanted to suggest "correlation" package as I was reading your message. I love the whole easystats environment, and was thinking about doing further packages reviewes, but desided to wait and do modelling first, which is what I working on right now. I might do those packages eventually in the future :) cheers
@WilForDataScience
@WilForDataScience 6 ай бұрын
@@yuzaR-Data-Science it solved my problem: ggside was not to date. Rookie Mistake Hahahaha. thank you so much. I am looking forward to see the modeling reviews. The tidymodels is a marvelous but overwhelming world. Thanks sir
@yuzaR-Data-Science
@yuzaR-Data-Science 6 ай бұрын
@@WilForDataScience I've been there ;) one update and all the troubles are gone.
@paoloemiliobartolucci9844
@paoloemiliobartolucci9844 10 ай бұрын
Wow , super clear explanation. If my variables x and y are non linear and I use spearman's instead of Pearson's, how can I graphically justified that? I mean, using scatterstats I see a lm model blue line, how can I replace with a monotonic curve that describes better my association ?
@yuzaR-Data-Science
@yuzaR-Data-Science 10 ай бұрын
thanks. in case of non-linearity the best way is to get a gam model. but be careful with the interpretatino of the coeffitient, it's not a linear slope anymore. What you can also do after you have seen the pattern, you can split the predictor into several categories and do anova or kruskal wallis with this.
@paoloemiliobartolucci9844
@paoloemiliobartolucci9844 10 ай бұрын
Thanks for the explanation :)@@yuzaR-Data-Science
@yuzaR-Data-Science
@yuzaR-Data-Science 10 ай бұрын
you are very welcome!
@jtwest8
@jtwest8 10 ай бұрын
Hi! I'm trying to replicate the analysis you showed but the package no longer exists. Can you share where this function can now be found?
@yuzaR-Data-Science
@yuzaR-Data-Science 10 ай бұрын
I works perfectly on my PC. Have you installed and loaded the package? install.packages("ggstatsplot") library(ggstatsplot) ggscatterstats(mtcars, mpg, wt)
@samihahzura4735
@samihahzura4735 3 жыл бұрын
Hi, nice video. How about stats for 3 variables?
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
Thanks, Samihah! It really depends on these 3 variables. If you mean a correlation, you can check out my video on correlation matrix. If not, you can check out my very first video (don't expext a good quality there please), where I showed a small table of 4 variables and explained what kind of analysis you can do with them. Starting with a categorical goodness off fit test and finishing up with the linear and logistic regression.
@samihahzura4735
@samihahzura4735 3 жыл бұрын
@@yuzaR-Data-Science Thanks for suggestions. I'll checked on it!
@mayurwabhitkar2041
@mayurwabhitkar2041 Жыл бұрын
can we do multiple correlation using this sir ?
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
of coarse: use "grouped_ggscatterstats" function. Moreover, I make a 4 minutes Video on correlation matrix in R. I think it's exactly what you need.
@mayurwabhitkar2041
@mayurwabhitkar2041 Жыл бұрын
@@yuzaR-Data-Science yes plzz sir, would really appreciate it and also, i like your videos a lot,.
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
@@mayurwabhitkar2041 sorry, mispelled, I wanted to say "I made", so the video is already online for ages ;)
@mayurwabhitkar2041
@mayurwabhitkar2041 Жыл бұрын
@@yuzaR-Data-Science which one is it sir can you share the link, i mam unable to find it
@ErickAmkoa
@ErickAmkoa Жыл бұрын
This is good. Thank you
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Thanks a lot 🙏
@Dewisd2002
@Dewisd2002 10 ай бұрын
Thank you soo much!!
@yuzaR-Data-Science
@yuzaR-Data-Science 10 ай бұрын
You're welcome!
@ekaterinanikitina1092
@ekaterinanikitina1092 2 жыл бұрын
У вас очень понятные видео для новичков! Спасибо! Не могли бы вы посоветовать курсы или специализацию онлайн по биостатистике?
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Спасибо! Приятно слышать! Мне помогли курсы на стэпике. Особенно курсы Anatoliy Karpovа. У него походу уже свой сайт где есть (CEO KarpovCourses). Он очень хорошо объясняет.
@ekaterinanikitina1092
@ekaterinanikitina1092 2 жыл бұрын
@@yuzaR-Data-Science да, у Анатолия я прошла статистику. А R вы где изучали?
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
в основном сам по книгам, которых много онлайн и бесплатныx. Но если бы я начинал сначала, я бы сам себе посоветовал сконцентрироваться на одной книге - R4DS r4ds.had.co.nz/ . Кроме того можешь посмотреть на мой блог > yuzar-blog.netlify.app/ этих двух рессурсов более чем достаточно для начала
@ekaterinanikitina1092
@ekaterinanikitina1092 2 жыл бұрын
@@yuzaR-Data-Science спасибо!
@andredasilvapereira150
@andredasilvapereira150 3 жыл бұрын
cool!
@yuzaR-Data-Science
@yuzaR-Data-Science 3 жыл бұрын
Thanks!
R demo | Correlation Matrix | How to conduct, visualise and interpret
4:56
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Pearson's Correlation, Clearly Explained!!!
19:13
StatQuest with Josh Starmer
Рет қаралды 404 М.
How to Plot correlation in R
5:02
Wakjira Tesfahun
Рет қаралды 6 М.
Pearson correlation [Simply explained]
7:50
DATAtab
Рет қаралды 214 М.
Visualize correlation matrix (Spearman) using correlogram in R
18:29
Wakjira Tesfahun
Рет қаралды 4,8 М.
DESCRIPTIVE STATISTICS  R SOFTWARE
6:11
Dr. SHOBHA K
Рет қаралды 39 М.
Correlation and Regression Analysis: Learn Everything With Examples
9:50
LEARN & APPLY : Lean and Six Sigma
Рет қаралды 1,5 МЛН
Logistic Regression using R programming
4:31
R Programming 101
Рет қаралды 1,1 М.
Correlations and Covariance in R with Example  | R Tutorial 4.12 | MarinStatsLectures
6:36
MarinStatsLectures-R Programming & Statistics
Рет қаралды 209 М.
Correlation Analysis - Full Course in 30 min
27:00
DATAtab
Рет қаралды 84 М.
Learn R in 39 minutes
38:56
Equitable Equations
Рет қаралды 796 М.
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН