Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xtlogit and Hosmer-Lemeshow goodness of fit

From   Garry Anderson <[email protected]>
To   [email protected]
Subject   st: xtlogit and Hosmer-Lemeshow goodness of fit
Date   Thu, 22 Apr 2004 16:36:32 +1000


One is able to do a Hosmer-Lemeshow goodness-of-fit test -lfit- after an ordinary logistic regression -logit-.

With -xtlogit y x,re-

-lfit- says 'last estimates not found'
Is it possible to do a H-L test after -xtlogit- please?

If so, which predict should one use

a) -predict predfit1 ,xb- (fitted values, the default)

b) -predict predprob ,pu0- (predicted probability Pr(y=1 assuming u_i=0)

A similar situation occurs with -lroc-

Kind regards, Garry

Garry Anderson
School of Veterinary Science
University of Melbourne
250 Princes Highway Ph 03 9731 2221
WERRIBEE 3030 Fax 03 9731 2388
Email: [email protected]
* For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index