Hosmer-Lemeshow goodness of fit test in R

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • A short video showing how the Hosmer-Lemeshow goodness of fit test for logistic regression can be performed in R. For more on this topic, see thestatsgeek.co...

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

  • @athri
    @athri 7 лет назад +2

    Beautifully explained! Though i listened to it like 20 times. Thank you very much!

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

    You cleared many doubts, thank you!

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

    Excellent explanation. Thanks!

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

    Legend

  • @robertasampong
    @robertasampong 3 года назад

    Thank you sir.

  • @dudediditube
    @dudediditube 5 лет назад +4

    Hey, in the line
    > hl

    • @dariaruffini4647
      @dariaruffini4647 3 года назад +1

      I can only get it to work using this solutuion so I think you could be right?

  • @sumaiyakhatun6167
    @sumaiyakhatun6167 7 лет назад

    thank you for this video ... this has been really helpful

  • @alfredjiao6624
    @alfredjiao6624 5 лет назад +2

    Hello! Thank you for this video. But I have a question. The X-squared and p-value of Hosmer-Lemeshow test in R and SPSS is very different. Why?

  • @g51582
    @g51582 9 лет назад

    Super useful. Thanks!

  • @lilianaausejo5755
    @lilianaausejo5755 9 месяцев назад

    Hi, the Hosmer-lemeshow works in logistic regression, but what about poisson regression( binary dependant variable in cross-sectional studies) what options for goodness-of-fit do we have?

  • @balaji1550
    @balaji1550 9 лет назад +1

    when 'm trying find Hosmer-Lemeshow tests
    this appear
    am using mutivariate logistic
    Error in model.frame.default(formula = cbind(y0 = 1 - y, y1 = y) ~ cutyhat) :
    variable lengths differ (found for 'cutyhat')
    can u help me
    if possible thanks in advance

    • @JustMe-pt7bc
      @JustMe-pt7bc 8 лет назад

      +Balaji leon use hoslem.test(dataname$y,fitted(model))

    • @gl-games6315
      @gl-games6315 8 лет назад

      +CH D doesn't help really :( it returns chi-square = NaN and p-value: NaN

    • @gl-games6315
      @gl-games6315 8 лет назад +1

      +Balaji leon Try to decrease the number of groups (g) . Instead of using 10 use 6.

  • @nizardwicahyo76
    @nizardwicahyo76 4 года назад

    if i have a smaller p value than alpha score 0.05. what should i do if my model are not fit well?

  • @changshu7675
    @changshu7675 3 года назад

    good morning.sir. I have a question:what is y1 and y0 presentation?

  • @ditaberemau8992
    @ditaberemau8992 5 лет назад

    how to do this test by eviews 8?