The Hosmer-Lemeshow Goodness-of-Fit Test

조회 수: 7 (최근 30일)
Samuel
Samuel 2012년 4월 16일
댓글: SEU 2018년 3월 28일
Hi, I am not able to find any function to computation of Hosmer-Lemeshow test. I am trying to compute a quality of model for predicting of the defaults in credit risk modeling (logistic regression used.). Thank you

답변 (2개)

Prashanth Ravindran
Prashanth Ravindran 2013년 5월 1일
Check out this website for the matlab code for HL test. http://www.nyu.edu/projects/farbood/projects/stats.html
Prashanth
  댓글 수: 1
SEU
SEU 2018년 3월 28일
It's good and thanks for sharing

댓글을 달려면 로그인하십시오.


David Nielsen
David Nielsen 2017년 1월 7일
I am taking the chance to bring a function I wrote to compute the HL test. However, I have tested it with different packages (i.e. R) and I get different results. Please also check the very clearifying answer to why that may be here.
The function for the HL test uses binning in quantiles with same number of observations.

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by