Note: the test is called Hosmer-Lemeshow.
It's the other way around. Read the doc.
Large values of [Chisquare] (and small p-values) indicate a lack of fit of the model.
i.e. p-values greater than 0.05 indicate that the test doesn't detect a signigficant lack of fit.
Yes. The bigger Pvalue , the better your model .
i.e.
H0 : model fit data well
P=0.9 stand for your model fit the train data very well .( H0 is true )
BTW, if you have big table, H-L is not good test due to it will always refuse H0,
under this scenario you could try GOF option in MODEL statement.
or @Rick_SAS blog plot the predicted / real Y by proc sgplot .
https://blogs.sas.com/content/iml/2019/02/20/easier-calibration-plot-sas.html
https://blogs.sas.com/content/iml/2018/05/14/calibration-plots-in-sas.html
Did you see my H0 hypethesis ?
P<0.05 stand for refusjing H0 , the higher P value the more close to H0 .
Yeah. You nailed it .
For " parameter estimation" , the H0 is the parameter coefficient = 0
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.