R demo | How to visualize models Part 2 | non linear, logistic, multinomial, mixed effects, survival

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 24

  • @OnLyhereAlone
    @OnLyhereAlone Před 8 měsíci

    I watched this series again and learned a lot more yet again. I wish i could give a second thumbs up. Thanks for the wonderful work.

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 8 měsíci

      So nice of you! Watching, commenting and liking is the best support already! So, I thank you and I am glad my content is useful!

  • @shahfahadalishah1152
    @shahfahadalishah1152 Před 3 lety +3

    Thanks sir very informative. Sir if possible then made video on structure equation modeling...

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety +1

      Thanks for the idea Shah Fahad, I'll put it on the to-do list :)

  • @arturocdb
    @arturocdb Před 3 lety +1

    Incredible usefull!, thank you very much!, great work!.

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety

      You're very welcome, Charlie! I am happy it is useful not only for me! :)

  • @statbipin999
    @statbipin999 Před 3 lety +2

    Hey Yury! How can we overlay exponential, weibull, etc. distributions over Kaplan-Meier Curve in R?

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety

      Hey hey, there is a way:
      - first install the package:
      install.packages("remotes")
      remotes::install_github("RichardBirnie/survtools")

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety

      - then run the code from this hithub page:
      github.com/RichardBirnie/survtools/blob/master/inst/examples/ggsurvplot2_example.R

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety

      Hope that helps, cheers!

  • @chacmool2581
    @chacmool2581 Před rokem

    Does the 'performance' package offer diagnostics for Logistic Regression? Can I pass a glm() object to its check_model() function?

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před rokem

      Totally! It takes the most models and chooses what assumptions to check. It evolves and is getting better with every update

  • @siriyakcr
    @siriyakcr Před 2 lety +1

    How about Bayesian statistics and estimate in rstan,rstanarm

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 2 lety

      easy ;)
      library(sjPlot)
      plot_model(m, type = "pred")
      check out the function ?plot_model() it does lots of things for bayesian models.... like random effects etc.

  • @mayurwabhitkar2041
    @mayurwabhitkar2041 Před rokem

    so i tried the check model function on this script
    ###Multiple non linear models with interactyion
    m

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před rokem

      Sure, because alleffects command plots predictions. Use check_model(m) to see all the assumption checks

  • @Joao-gq2we
    @Joao-gq2we Před 2 lety

    Thank you for sharing your video! The explanation was very clear! I have a question: Is there a package to run multinomial model with random effects? I see that it isn't possible with nnet.

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 2 lety

      Thanks for the feedback! Multinomial with random effect? I believe so. But, as soon as I can remember, there was no elegant solution "for all the problems". For example, the first one ist "brms" package. With that you you have to specify the categorical family (multinomial is also possible, but with more complicated structure). As this one is bayesian, you will not get p-values. The second one is "mclogit" package, this one does not allow a quick and nice visualization. But check it out anyway: cran.r-project.org/web/packages/mclogit/mclogit.pdf. Please, let me know what you found as the best solution. cheers

  • @yunes7305
    @yunes7305 Před 3 lety

    Really appreciate it 🙏 that what I was looking for 😻

  • @hooldhooldy4766
    @hooldhooldy4766 Před 3 lety +1

    Is it possible to visualise ordered probit model?

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety +1

      Dear Hoold, yes, I think it is possible. I just quickly tried out an example, and "effects" package plotte it without any problems ;)
      dat

    • @hooldhooldy4766
      @hooldhooldy4766 Před 3 lety +1

      Thanks. I tried it but it is not working for me. How can I fix it?

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Před 3 lety

      You probably need to install packages first: “foreign” , “MASS”, “effects”