R package reviews | sjPlot | Easily Visualize Data And Model Results

  Рет қаралды 13,608

yuzaR Data Science

yuzaR Data Science

Күн бұрын

One picture is worth a thousand words. That’s why visualizing data and model results is a crutial skill for any data scientist. {sjPlot} package became my favorite tool for visualization. That’s why I want to share with you some simple but very effective commands which will make you more productive today. So, let’s visualize Wage dataset, visualize bunch of models and see what people earn and what factors determine the salary.
If you only want the code (or want to support me), consider join the channel (join button below any of the videos), because I provide the code upon members requests.
Enjoy! 🥳

Пікірлер: 64
@azizmouhanna8996
@azizmouhanna8996 22 күн бұрын
Man wow! thank you you are a really good teacher!
@yuzaR-Data-Science
@yuzaR-Data-Science 22 күн бұрын
Thanks a lot, Aziz! Very nice of you! Thanks for watching!
@ayeshamadni1716
@ayeshamadni1716 4 ай бұрын
Thank you, this helped me so much! All the demonstrations. I learnt way more than I came for.
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
You are so welcome! Glad it was useful! Thanks you for watching!
@user-uq7zb5nv4v
@user-uq7zb5nv4v Жыл бұрын
Barely leave a comment, but you are really an amazing teacher!
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
So nice of you! Thanks 🙏
@DamianVillasenor
@DamianVillasenor Жыл бұрын
An amazing explanation with an amazing voice! Best combination ever!
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Wow, thank you! Glad you enjoyed it!
@abdulmusa6162
@abdulmusa6162 2 жыл бұрын
Excellent work, thanks so much sir Sir we need a machine learning tutorial using Caret package
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Thanks 🙏 I am planning something even better than Caret ... tidymodels ... it builds on Caret. So, stay tuned
@ropflpfopfl2555
@ropflpfopfl2555 Жыл бұрын
Holy shit, i think you just saved my bachelors thesis
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
glad to hear that, mate! if you want to blow your's teachers minds with your bachelor thesis, check out my review on {gtsummary} package and use the code
@milliontesfaye
@milliontesfaye 2 жыл бұрын
What an amazing illustration. Many thanks!!!!
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
You are very welcome!
@saygndiler5734
@saygndiler5734 2 жыл бұрын
Excellent, thank you so much. You are very great teacher i have never seen.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Wow, thank you, Saygin!
@buraktiras93
@buraktiras93 2 жыл бұрын
Best R videos in youtube 👏🏻👏🏻👏🏻
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Thanks 🙏 soo much ! That motivates to produce more :) so, more to come soon!
@siriyakcr
@siriyakcr 2 жыл бұрын
🥰🥰🥰, i did know, but thanks for refresh, plus new updates 👍🏻👍🏻
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Glad it’s useful!
@VKjkd
@VKjkd Жыл бұрын
What a great idea, reviewing packages. Amazing work, thank you. 😊
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Thanks a lot! I plan to do more. Stay tuned 😉
@analyticaMinds
@analyticaMinds Жыл бұрын
I can’t express my appreciation for these tutorials.. A mini Jesus
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Thousand thanks 🙏
@staedtler8479
@staedtler8479 8 ай бұрын
Thank you for the clear summary! I just have one small question about your blog the barplot for the function "plot_xtab" had frames, I can't find an argument on the package guide for that? am I missing something?
@yuzaR-Data-Science
@yuzaR-Data-Science 8 ай бұрын
the design of plots can be changed with themes from ggplot. so, no argument inside of plot_xtab is needed. Here is an example: plot_xtab( x = Wage$education, grp = Wage$jobclass, margin = "row", bar.pos = "stack", show.summary = TRUE, coord.flip = TRUE) + theme_blank() try our other theme too, like theme_bw() etc. Thanks for positive feedback! :)
@juliantagell1891
@juliantagell1891 5 ай бұрын
Ahoy Yury (lovin' all you videos lately), at 6:28 you mention a "random effects of education" term. Can you explain what this is a bit more?
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
Thanks Julian! Don't worry about random effect in this particular example, it was meant to clarify the effect of wage end jobclass on age ... (because random effects takes out some unwanted variance in the data), but I guess it only produced more questions. Again, forget about it in this example. But I plan to cover mixed effects models in the future. However, if you wanna dive into it earlier, I can recommend a very good book for it "Mixed Effects Models and Extensions in Ecology with R". cheers
@juliantagell1891
@juliantagell1891 4 ай бұрын
@@yuzaR-Data-Science Thanks Yury... one questions that's popped up for me, in binge-ing through your videos is "what happens when the data doesn't meet the assumptions required for linear regression?" Like, I know that sometimes there can be some transformations used to get certain variables better situated for this type of modelling... and other instances where alternative modelling types have to be used (I'd be interested in what the differences would be between runnign the original linear regression -even though the data fails the assumptions -vs the results of running the alternative model(s). Anyway, totally no pressure, just an idea for a future video 🙂
@yuzaR-Data-Science
@yuzaR-Data-Science 4 ай бұрын
Hey Julian, that's a great idea, I actually did such comparison in several videos already. For instance, robust and quantile regressions (even 2 videos there). So, feel free to check them out. But there is no general rule what to do, because even when you log-transform data, it does not always solve the non-normality or heteroskedasticity. But yeah, QR often helps.
@fishfish20
@fishfish20 2 жыл бұрын
Always on point. Thanks sir for the work.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
You are very welcome Jonathan! Glad you liked it.
@transportation-talk
@transportation-talk 2 жыл бұрын
Thank you for taking the effort to show this great 📦. By the way, what software do you use to make these beautiful screencasts?
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
You're welcome 😊 For the video editing I use final cut pro
@MisterMsas
@MisterMsas Жыл бұрын
Very clear
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Thanks 🙏
@augustofilho4220
@augustofilho4220 Жыл бұрын
Thank you.....
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
You're welcome! Thanks for watching!
@kwizeralambert1316
@kwizeralambert1316 Жыл бұрын
Thank you so much. This is great.
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
You're very welcome! Glad it was helpful!
@kwizeralambert1316
@kwizeralambert1316 Жыл бұрын
@@yuzaR-Data-Science Very helpful. I was wondering if you can also create tutorials on geospatial data analysis using R.
@muhammadsaleemkhan5761
@muhammadsaleemkhan5761 2 жыл бұрын
hi loved your videos , do you have any video on time series analysis. i need to explore impact air pollution on lung function over 10 years of period data.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Hi, thanks 🙏 not yet, but I plan the topic in the future
@muhammadsaleemkhan5761
@muhammadsaleemkhan5761 2 жыл бұрын
@@yuzaR-Data-Science thanks do you know roughly when it will done. also i email the data and rcode for show specific terms both from count and zero inflated model in plot_model.
@niceday2015
@niceday2015 2 жыл бұрын
Thank you for the tutorial
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
You are welcome 🙏
@Reonsi
@Reonsi Жыл бұрын
I understand that for the estimates plot (default plot_model), the bar means the 95% confidence interval. But for the predictions ( plot_model(type = "pred") ), what does the bar mean? Is the dot the average prediction for that category, and the bar the standard deviation? Also, if a model includes several predictors (y = a + b + c), showing the prediction plot of one of them (a) corrects for the effects of the others, right? Amazing video, made with a very good explanation and a lot of work on the visuals too!
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
Both bars show 95% CIs by default. You can learn more by asking R about it: "?plot_model". And yes, the model "corrects" for other predictors, or, as I like to think about it, it calculates what we want when other predictors are stable (usually at average). Thanks a lot for a feedback and thanks for watching! Cheers
@Reonsi
@Reonsi Жыл бұрын
@@yuzaR-Data-Science Thanks for your fast and accurate response!
@yuzaR-Data-Science
@yuzaR-Data-Science Жыл бұрын
@@Reonsi you are very welcome!
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
The factet barplots are crowded. Although that is fixed in an expanded plot in a script file it does not scale in an RMarkdown or Quarto file.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
You can determine the width and the length of the plot in every particular r markdown chunk and save the pic with any dimensions. Hope that helps. Cheers
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
@@yuzaR-Data-Science Thanks for the reply. I have been using Quarto lately and thought that it at the capability of resizing images and tables as a feature. Perhaps I am wrong.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
@@haraldurkarlsson1147 Hey, waw, never heard of quatro. Will check it out. Yes, you can change size of the image easily in rmarkdown. Found a link for it: bookdown.org/yihui/rmarkdown-cookbook/figure-size.html
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
@@yuzaR-Data-Science Quarto is the next step in the evolution of reproducible reports. It is like RMarkdown but actually a standalone product. I have been trying out for a couple of weeks and it is quite impressive.
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
@@haraldurkarlsson1147 thanks mate! I'll definitely check it out!
@umarhussain5957
@umarhussain5957 2 жыл бұрын
Wow great teacher
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Thanks 🙏
@umarhussain5957
@umarhussain5957 2 жыл бұрын
Sir is it possible to merge frequency and percentage in single column in cross tab table in sjPlot like n(%) as in gtsummary package
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
you could force it using dplyr, but I would just decide which one, gtsummary of sjPlot I want and take that one. Both are great!
@itsahmedian
@itsahmedian 2 жыл бұрын
huuuu, great.... thanks
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Welcome
@muhammadsaleemkhan5761
@muhammadsaleemkhan5761 2 жыл бұрын
Hi thanks nice video. I need help in Plot_model for zero inflated negative binomial regression. I need to to specific terms both from count and zero inflated model. I can share part of data and code. How can I send you
@yuzaR-Data-Science
@yuzaR-Data-Science 2 жыл бұрын
Hi, thank for the feedback. You just need to use the "show.zeroinf = TRUE" argument. Here is an exapmle: require(ggplot2) require(pscl) require(boot) zinb
R demo | Robust Regression (don't depend on influential data)
4:40
yuzaR Data Science
Рет қаралды 5 М.
R package reviews | glmulti | Find The Best Model !
13:27
yuzaR Data Science
Рет қаралды 12 М.
Whoa
01:00
Justin Flom
Рет қаралды 54 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 16 МЛН
Modus males sekolah
00:14
fitrop
Рет қаралды 10 МЛН
Using Flexplot for Mixed Models
22:08
Quant Psych
Рет қаралды 10 М.
Make Multiplots Like a Pro with {patchwork} | R package reviews
10:26
yuzaR Data Science
Рет қаралды 2,8 М.
Case-Control data analysis in R using gtsummary  || Logistic regression analysis
45:41
Biostatistics & Public Health Research
Рет қаралды 933
Mastering {dplyr}: 50+ Data Wrangling Techniques!
17:35
yuzaR Data Science
Рет қаралды 4,7 М.
9 R packages that EVERY Data Scientist must know (in 9-minutes)
9:26
Business Science
Рет қаралды 4,3 М.
Regression diagnostics and analysis workflow
17:48
Mikko Rönkkö
Рет қаралды 15 М.
Fitting mixed models in R (with lme4)
15:38
Quant Psych
Рет қаралды 26 М.