Jonathan Bartlett
Jonathan Bartlett
  • Видео 8
  • Просмотров 67 413

Видео

Bootstrap Inference for Multiple Imputation Under Uncongeniality and Misspeci fication
Просмотров 4414 года назад
This is a recording of a talk given at the International Society for Clinical Biostatistics conference 2020. It briefly discusses the content of this paper: doi.org/10.1177/0962280220932189
Missing category method for missing values
Просмотров 3934 года назад
This is a lesson about the missing category method for handling missing values in categorical/factor variables, from the online course 'Statistical analysis with missing data using R', see thestatsgeek.thinkific.com
Confidence interval interpretation - Statistics by Simulation in R
Просмотров 3,3 тыс.4 года назад
Using simulation in R to explore the interpretation of frequentist confidence intervals for a mean.
The Central Limit Theorem - Statistics by Simulation in R
Просмотров 7 тыс.4 года назад
In this video I use simulation in R to demonstrate the Central Limit Theorem, whose result is that the sample mean is normally distributed in large samples even if the underlying distribution is not normal.
Standard deviation versus standard error - Statistics by Simulation in R
Просмотров 2,2 тыс.4 года назад
In this video I use a small simulation in R to illustrate the difference between standard deviation and standard error.
Using Stata's sem (structural equation modelling) builder to adjust for covariate measurement error
Просмотров 4,8 тыс.10 лет назад
In this video I look at how Stata's sem (structural equation modelling) builder can be used to adjust for covariate measurement error.
Hosmer-Lemeshow goodness of fit test in R
Просмотров 49 тыс.10 лет назад
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.com/2014/02/16/the-hosmer-lemeshow-goodness-of-fit-test-for-logistic-regression/

Комментарии

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

    Legend

  • @Mehraj_IITKGP
    @Mehraj_IITKGP 7 месяцев назад

    great explaination. Here is the code explained in the lecture: nSimulations = 100000 nSample = 100 Y = numeric(nSimulations) for(i in 1:nSimulations){ X = runif(n); Y[i] = mean(X) } sigma = sd(Y) mu = mean(Y) hist((Y-mu)/sigma, breaks = 50) Here, I have scaled and shifted the random variable to make it the standard normal. Also, you can replace runif() with any other distribution of your choice.

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

    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?

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

    You do not need to multiply logicals by 1 in R to make them integers.

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

    Excellent explanation. Thanks!

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

    Simple script, clear explanations!

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

    You cleared many doubts, thank you!

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

    Merci beau gosse

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

    Great video, thank you. Simple, easy to follow and straight to the point!

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

    Thank you sir.

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

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

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

    I love you thanks for doing this!!!

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

    This is pure gold. You sir are a diamond in the rough

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

    hello, how do you move around the lines? I was keep pressing shift+enter to go below the line without producing something..

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

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

    how to do this test by eviews 8?

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

    Hey, in the line > hl <- hoslem.test(mod$y, fitted(mode), g=10) it should not be "mydata$y" instead of "mod$y"??

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

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

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

    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?

  • @rushikeshmore8890
    @rushikeshmore8890 6 лет назад

    hey i tried lot but following errors occure > hoslem.test(result,phat,g=10) Error in hoslem.test(result, phat, g = 10) : object 'phat' not found > hoslem.test(result,fit,g=10) Error in hoslem.test(result, fit, g = 10) : object 'result' not found > hoslem.test(diagnosis,fit,g=10) Error in rank(x, ties.method = "min", na.last = "keep") : unimplemented type 'list' in 'greater' > hoslem.test(diagnosis,fit,g=8) Error in rank(x, ties.method = "min", na.last = "keep") : unimplemented type 'list' in 'greater' > hoslem.test(data,fit,g=8) Error in rank(x, ties.method = "min", na.last = "keep") : unimplemented type 'list' in 'greater'

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

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

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

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

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

    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 9 лет назад

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

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

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

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

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

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

    Super useful. Thanks!

  • @dradelhemdan248
    @dradelhemdan248 10 лет назад

    thanks for you