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

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! 🥳

Пікірлер: 62

  • @milliontesfaye
    @milliontesfaye Жыл бұрын

    What an amazing illustration. Many thanks!!!!

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    You are very welcome!

  • @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 😉

  • @ayeshamadni1716
    @ayeshamadni17162 ай бұрын

    Thank you, this helped me so much! All the demonstrations. I learnt way more than I came for.

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    2 ай бұрын

    You are so welcome! Glad it was useful! Thanks you for watching!

  • @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!

  • @fishfish20
    @fishfish20 Жыл бұрын

    Always on point. Thanks sir for the work.

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    You are very welcome Jonathan! Glad you liked it.

  • @siriyakcr
    @siriyakcr Жыл бұрын

    🥰🥰🥰, i did know, but thanks for refresh, plus new updates 👍🏻👍🏻

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Glad it’s useful!

  • @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 🙏

  • @saygndiler5734
    @saygndiler5734 Жыл бұрын

    Excellent, thank you so much. You are very great teacher i have never seen.

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Wow, thank you, Saygin!

  • @MrNummularius
    @MrNummularius Жыл бұрын

    Best R videos in youtube 👏🏻👏🏻👏🏻

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Thanks 🙏 soo much ! That motivates to produce more :) so, more to come soon!

  • @niceday2015
    @niceday2015 Жыл бұрын

    Thank you for the tutorial

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    You are welcome 🙏

  • @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.

  • @abdulmusa6162
    @abdulmusa6162 Жыл бұрын

    Excellent work, thanks so much sir Sir we need a machine learning tutorial using Caret package

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Thanks 🙏 I am planning something even better than Caret ... tidymodels ... it builds on Caret. So, stay tuned

  • @MisterMsas
    @MisterMsas Жыл бұрын

    Very clear

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Thanks 🙏

  • @augustofilho4220
    @augustofilho422010 ай бұрын

    Thank you.....

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    10 ай бұрын

    You're welcome! Thanks for watching!

  • @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

  • @transportation-talk
    @transportation-talk Жыл бұрын

    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

    Жыл бұрын

    You're welcome 😊 For the video editing I use final cut pro

  • @itsahmedian
    @itsahmedian Жыл бұрын

    huuuu, great.... thanks

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Welcome

  • @staedtler8479
    @staedtler84796 ай бұрын

    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

    6 ай бұрын

    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! :)

  • @analyticaMinds
    @analyticaMinds Жыл бұрын

    I can’t express my appreciation for these tutorials.. A mini Jesus

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Thousand thanks 🙏

  • @muhammadsaleemkhan5761
    @muhammadsaleemkhan5761 Жыл бұрын

    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

    Жыл бұрын

    Hi, thanks 🙏 not yet, but I plan the topic in the future

  • @muhammadsaleemkhan5761

    @muhammadsaleemkhan5761

    Жыл бұрын

    @@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.

  • @umarhussain5957
    @umarhussain5957 Жыл бұрын

    Wow great teacher

  • @yuzaR-Data-Science

    @yuzaR-Data-Science

    Жыл бұрын

    Thanks 🙏

  • @umarhussain5957

    @umarhussain5957

    Жыл бұрын

    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

    Жыл бұрын

    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!

  • @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!

  • @juliantagell1891
    @juliantagell18912 ай бұрын

    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

    2 ай бұрын

    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

    2 ай бұрын

    @@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

    2 ай бұрын

    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.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

    @@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

    Жыл бұрын

    @@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

    Жыл бұрын

    @@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

    Жыл бұрын

    @@haraldurkarlsson1147 thanks mate! I'll definitely check it out!

  • @muhammadsaleemkhan5761
    @muhammadsaleemkhan5761 Жыл бұрын

    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

    Жыл бұрын

    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