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
Doubts on how to correctly declare a dataset to be survival timeDear all, I am a new Stata user and this is the first time I use this forum. I need to conduct a s…
Panel data graphHi. I need help. I want to make a graph with panel data, in which I must include the trend of the c…
Force empty observations to be included in analysis?If you have data that was collected with the intent all observations be used in analysis because eac…
The meaning of cov option in meglm model?I‘m learning the meglm for GLMMs. I noticed that we can use the "cov" option to define the variance-…
Extracting the Beta Coeff from regressionHello all, I am running a linear regression, with 2 sets of dummy variables age (25-65) and cohort(…
Subscribe to:
Post Comments (Atom)
0 Response to ldev following logistic inconsistent with estat gof and with Hosmer & Lemeshow
Post a Comment