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

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 24

  • @OnLyhereAlone
    @OnLyhereAlone 10 місяців тому

    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  10 місяців тому

      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!

  • @arturocdb
    @arturocdb 3 роки тому +1

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому

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

  • @shahfahadalishah1152
    @shahfahadalishah1152 3 роки тому +3

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому +1

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

  • @yunes7305
    @yunes7305 3 роки тому

    Really appreciate it 🙏 that what I was looking for 😻

  • @statbipin999
    @statbipin999 3 роки тому +2

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому

      - 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  3 роки тому

      Hope that helps, cheers!

  • @Joao-gq2we
    @Joao-gq2we 2 роки тому

    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  2 роки тому

      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

  • @chacmool2581
    @chacmool2581 2 роки тому

    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  2 роки тому

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

  • @siriyakcr
    @siriyakcr 2 роки тому +1

    How about Bayesian statistics and estimate in rstan,rstanarm

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  2 роки тому

      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 Рік тому

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  Рік тому

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

  • @hooldhooldy4766
    @hooldhooldy4766 3 роки тому +1

    Is it possible to visualise ordered probit model?

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому +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 3 роки тому +1

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

    • @yuzaR-Data-Science
      @yuzaR-Data-Science  3 роки тому

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