I am trying to reproduce Hosmer & Lemeshow's example (3rd edition, Table 4.16, p115). With 'logistic' I get the same coefficients, Std. Err., etc. that they do, but if I then run 'ldev' I get number of covariate patterns = 471 whereas the text reports J=457 (p185) and so does 'estat gof'; also, I get a deviance from ldev of 474.50 whereas the text shows D=469.6 (p185) (the D value given by fitstat on the same sample is 500.5).
I use the ldev from ucla (1999); the other (sqv4 & sqv4_1 from stb) produces an error message ("factor-variable and time-series operators not allowed"), as does 'lpredict dev'.
Any help would be greatly appreciated.
Related Posts with ldev following logistic inconsistent with estat gof and with Hosmer & Lemeshow
How to count a variable based on an if conditionHello everyone, I have a big doubt about this counting issue: Array Let's suppose we have to coun…
Difficulty with for loop with a conditional by() statementHello, I am working with a data-set with analyst forecasts for certain firms, in a certain period. …
Measuring Overeducation with Marsh CPS DataDear all, i'm trying to compute the level of education to occupation mismatch for the individuals …
Panel ARDL (PMG, MG, DFE) do fileHello All, I was wondering if you could help me with the do file for Panel ARDL (PMG, MG, DFE) I ne…
Understanding interactions between 2 multi-categorical variablesDear community, In an experiment I conducted where i implemented different gamification strategies …
Subscribe to:
Post Comments (Atom)
0 Response to ldev following logistic inconsistent with estat gof and with Hosmer & Lemeshow
Post a Comment