[R-sig-Geo] Test de Hosmer et Lemeshow
Komine
momadou at yahoo.fr
Tue Apr 12 16:18:01 CEST 2011
Dear,
Please, I want an advice.
1- I want to do Hosmer and Lemeshow test with R software. My code is the
follow:
HLgof.test (fit = fitted (logisticmodel), obs=Fire$Ignition)
2- My result is:
$C
Hosmer-Lemeshow C statistic
data: fitted(logisticmodel) and Fire$Ignition
X-squared = 2.7026, df = 8, p-value = 0.9516
$H
Hosmer-Lemeshow H statistic
data: fitted(logisticmodel) and Fire$Ignition
X-squared = 11.6102, df = 8, p-value = 0.1695
I don’t understand, why I have two P.values and what p.value I will use in
my text? One or both.
Thanks very much
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Test-de-Hosmer-et-Lemeshow-tp6265318p6265318.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list