dardisco / LogisticDx

LogisticDx
2 stars 0 forks source link

Discrepancies to the literature source #2

Open JohannPopp opened 7 years ago

JohannPopp commented 7 years ago

Dear Chris,

thank you very much for your nice package. I have also tried to reproduce the diagnostic plots recommended by Hosmer et al. as you obviously did.

It seems that your plots suffer the same flaw than mine: They are quite the same as in the book but there are still some substantial differences in leverage values and Cook's distance. I described the problem here https://github.com/JohannPopp/Outlier-Plot/blob/master/diganosticPlotInconsistency.pdf. Perhaps you have an idea how to solve this.

Sincerely yours Johann Popp

PS: Maybe you are interested in my code producing interactive diagnostic plots using shiny: https://github.com/JohannPopp/Outlier-Plot/blob/master/outlierPlotFunction.R

JohannPopp commented 7 years ago

In the meanwhile I have solved the problem myself and reproduced the plots from Hosmer et al 2013 exactly. This is described in the updated file https://github.com/JohannPopp/Outlier-Plot/blob/master/diganosticPlotInconsistency.pdf.