log-likelihoods from mnrfit; testing proportional-odds model
이전 댓글 표시
I am attempting to test the proportional-odds assumption for the proportional-odds model of ordinal logistic regression (per Hosmer & Lemeshow 2000, p. 303-304). Essentially, I calculate a G statistic for the log-likelihood for the proportional-odds model to the log-likelihood from the baseline logit model.
My question, then, is how does one obtain the log-likelihood from mnrfit? From looking at the code, it appears that the output 'dev' is calculated from the deviance residuals, which matches a definition for deviance in Hosmer & Lemeshow (p. 146). However, Hosmer & Lemeshow also define deviance (p. 13) as -2*ln[(likelihood of fitted model)/(likelihood of saturated model)]. Is this also true of the 'dev' output of mnrfit?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!