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

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • 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 5 дней назад

    Man wow! thank you you are a really good teacher!

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  5 дней назад

      Thanks a lot, Aziz! Very nice of you! Thanks for watching!

  • @ayeshamadni1716
    @ayeshamadni1716 3 месяца назад

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 месяца назад

      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!

  • @buraktiras93
    @buraktiras93 2 года назад

    Best R videos in youtube 👏🏻👏🏻👏🏻

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  2 года назад +1

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

  • @DamianVillasenor
    @DamianVillasenor Год назад

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

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

  • @milliontesfaye
    @milliontesfaye 2 года назад

    What an amazing illustration. Many thanks!!!!

  • @siriyakcr
    @siriyakcr 2 года назад

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

  • @VKjkd
    @VKjkd Год назад

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

  • @saygndiler5734
    @saygndiler5734 Год назад

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

  • @abdulmusa6162
    @abdulmusa6162 2 года назад +1

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  2 года назад +4

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

  • @analyticaMinds
    @analyticaMinds Год назад

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

  • @fishfish20
    @fishfish20 2 года назад

    Always on point. Thanks sir for the work.

  • @MisterMsas
    @MisterMsas Год назад

    Very clear

  • @augustofilho4220
    @augustofilho4220 Год назад

    Thank you.....

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

  • @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 4 месяца назад

    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 месяца назад +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 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  3 месяца назад

      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.

  • @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 года назад +1

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

  • @niceday2015
    @niceday2015 2 года назад

    Thank you for the tutorial

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

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

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

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