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

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ส.ค. 2022
  • 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

  • @ayeshamadni1716
    @ayeshamadni1716 2 หลายเดือนก่อน

    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!

  • @VKjkd
    @VKjkd ปีที่แล้ว

    What a great idea, reviewing packages. Amazing work, thank you. 😊

  • @milliontesfaye
    @milliontesfaye ปีที่แล้ว

    What an amazing illustration. Many thanks!!!!

  • @DamianVillasenor
    @DamianVillasenor ปีที่แล้ว

    An amazing explanation with an amazing voice! Best combination ever!

  • @user-uq7zb5nv4v
    @user-uq7zb5nv4v ปีที่แล้ว

    Barely leave a comment, but you are really an amazing teacher!

  • @saygndiler5734
    @saygndiler5734 ปีที่แล้ว

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

  • @fishfish20
    @fishfish20 ปีที่แล้ว

    Always on point. Thanks sir for the work.

  • @siriyakcr
    @siriyakcr ปีที่แล้ว

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

  • @MrNummularius
    @MrNummularius ปีที่แล้ว

    Best R videos in youtube 👏🏻👏🏻👏🏻

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  ปีที่แล้ว +1

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

  • @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  ปีที่แล้ว +1

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

  • @kwizeralambert1316
    @kwizeralambert1316 ปีที่แล้ว

    Thank you so much. This is great.

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  ปีที่แล้ว +4

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

  • @staedtler8479
    @staedtler8479 6 หลายเดือนก่อน

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

  • @niceday2015
    @niceday2015 ปีที่แล้ว

    Thank you for the tutorial

  • @eddiemusasiwa7980
    @eddiemusasiwa7980 ปีที่แล้ว

    Very clear

  • @augustofilho4220
    @augustofilho4220 10 หลายเดือนก่อน

    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  ปีที่แล้ว +1

      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

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

  • @analyticaMinds
    @analyticaMinds ปีที่แล้ว

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

  • @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  ปีที่แล้ว +2

      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  ปีที่แล้ว +1

      @@Reonsi you are very welcome!

  • @itsahmedian
    @itsahmedian ปีที่แล้ว

    huuuu, great.... thanks

  • @juliantagell1891
    @juliantagell1891 2 หลายเดือนก่อน

    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 หลายเดือนก่อน +1

      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.

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

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

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