SlideServe
Menu
Préférences
© SlideServe · v2026

AMMBR II

scout avatar
21 diapositives · 383 Views · Oct 13, 2014

AMMBR II. Gerrit Rooks. Checking assumptions in logistic regression. Hosmer & Lemeshow Residuals Multi-collinearity Cooks distance. Hosmer & Lemeshow. Test divides sample in subgroups, checks whether difference between observed and predicted is about equal in these groups.

AMMBR II - slide 1
01 / 21AMMBR II
1 / 17

Télécharger la présentation

AMMBR II
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. AMMBR II Gerrit Rooks

  2. Checking assumptions in logistic regression • Hosmer & Lemeshow • Residuals • Multi-collinearity • Cooks distance

  3. Hosmer & Lemeshow Test divides sample in subgroups, checks whether difference between observed and predicted is about equal in these groups Test should not be significant (indicating no difference)

  4. Hosmer & Lemeshow Average Probability In j th group

  5. First logistic regression

  6. Then postestimation command

  7. Including interaction term helps

  8. Multicollinearity

  9. Residuals • Residual = observed value – predicted value / square root of variation

  10. Residuals

  11. Inspect observations with large residuals (>2.5 a 3)

  12. Cooks distance (< 1) Prediction for j from all observations Prediction for j for observations excluding observation i Number of parameter Means square error

  13. To Stata • Use apilog.dta • Awards = dependent variable • For Awards inspect frequency counts • Recode Awards into binary variable • Estimate a LR model using yr_rnd meals enroll as predictors

  14. To Stata • Inspect classification table • Perform Hosmer & Lemeshow test • Inspect standardized residuals • Inspect cooks distance • See if interaction effects improve fit

  15. Is the Wald test an accurate test to the significance of coefficients in Logisticregressionanalysis? • Yes, justlikeregressionanalysis. • Yes, it is accurate, although a Likelihood ratio test is more efficient • No, unlikeregressionanalysis, the Wald test is biased, especiallyforrelativelysmallcoefficients . • No, unlikeregressionanalysis, the Wald test is biased, especiallyforrelativelylargecoefficients .

  16. Use LRtest to check the significance effect of the variable yr_rnd • Use auto.dta (if not on your pc then) • use http://www.stata-press.com/data/r11/auto • Predict which car will be foreign, using weigth and mpg as predictors

  17. Is the interaction between weigth and mpg significant? • Tip: always center variable before making interactionvariable.

  18. use http://www.stata-press.com/data/r11/choice • Does income, gender or type of car (European, Japanese or American) predict whether a car will be bought (choice)?