Logistic regression | Likelihood and deviance

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 28

  • @romaniup
    @romaniup 2 года назад +2

    You have done a fantastic job explaining the details! Thank you! Your video is one of the top videos on RUclips on the topic.

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

    If someone just using equation and abstract dataset, I will be completely lost, so I really like the way you explained the concept, by using detailed and realistic dataset, with such plenty and friendly arrows to indicate the positions we should focus, it significantly help me to get fully understanding of it.

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

    Man, that's a great explanation. I'm preparing for a test at the uni regarding logostic regression and you saved me a lot of time I would need to spend on reading a statistics book.

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

      Thank you and good luck with the analysis.

  • @kahmengsoh7196
    @kahmengsoh7196 Год назад +1

    Very good and clear explanation, 1:28 The P(Cancer) nominator should be e(BX)

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

    Very very good complement material for an analysis course I am taking! Thank you soooo much!

  • @VivekGupta-sh3lj
    @VivekGupta-sh3lj 2 месяца назад

    Huge thanks
    Can we say the pseudo-r-square is the same as deviance ratio that is reported in some statistical packages after logit models

  • @MAPS-1297
    @MAPS-1297 2 года назад +2

    best explaination

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

    Hi Sir,
    Please provide videos gradient descent and ascent in case of possible.
    Which can help us more.

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

    Hi, thank you so much for the great videos. Quick question about the interpretation of residual deviance. I understand the lower the value, the better. Is it because the LL (proposed model) inside the residual deviance formula follows the same principle? Thanks in advance

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

      Yes, the lower the LL is, the better the model fits the data. Maybe my latest video about MLE vs OLS is of interest...
      ruclips.net/video/bhTIpGtWtzQ/видео.html

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

      @@tilestats I didn’t get your answer notified. Sorry I really didn’t mean to be late in thanking you. One other doubt I have is about plotting a multi variable logistic regression model with the predicted probabilities on the y axes. I’m trying this in R, but I’m a bit confused on how to go about this

  • @Tyokok
    @Tyokok 8 месяцев назад

    thanks for the great video! at 11:32 why b0 is 0 at null model? could you please illustrate? many thanks!

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

    Great job! So, the null model of logistic regression is essentially always that both outcomes have an equal probability of happening? The null model is it's all due to chance?

    • @tilestats
      @tilestats  2 года назад +2

      No, the null model, in this case, is the sample proportion of "successes". Since I had an equal number of cancer patients and healthy individuals, in this example, the null model is equal to a horizontal line with an intercept of 0.5. However, if we would have a larger proportion of cancer patients, the null model will have an intercept greater than 0.5. Also, the null model may sometimes represent the null hypothesis, which can be a model with several parameters (see next video).

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

      @@tilestats Thank you!

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

    I can't understand how obtain -5.754 and 2.747.

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

      Did you watch the section around 10:00? If so, to get the parameter values that results in the lowest negative log-likelihood, you can for example use Gradient descent:
      ruclips.net/video/31w-xQX0Z_8/видео.html
      Or simply use a statistical software tool that will directly give you the estimated values.

  • @shwamzad713
    @shwamzad713 4 месяца назад

    Uhmm sir , my proff. Stole your slides and he is teaching us of them is that legal?

    • @tilestats
      @tilestats  4 месяца назад

      As long has he/she acknowledge the source, it is ok.

  • @user-qh3yi6il8l
    @user-qh3yi6il8l 8 месяцев назад

    I still don't know how b0=-5.747 and b1=2.747. I used cancer=1 and healthy=1 on the dataset and i have b0=1.5 and b1=1.25

    • @tilestats
      @tilestats  8 месяцев назад

      Healthy should be zero. What software do you use?

    • @user-qh3yi6il8l
      @user-qh3yi6il8l 8 месяцев назад

      @@tilestats i use casio calculator
      and yes i use healthy =0, i miss type

    • @tilestats
      @tilestats  8 месяцев назад

      Can you do logistic reg on a calculator? Imstall R instead so that I can give you the code.

    • @latansatm3562
      @latansatm3562 2 месяца назад

      Your videos are really help my understanding, but I still got the wrong value. Can you please share the r code?