Lipsitz Goodness-of-Fit Test for Ordinal Regression
The Lipsitz test checks the fit of a proportional odds (cumulative logit) model by grouping observations on their predicted ordinal score and testing whether group indicators add anything to the model.
립시츠 검정은 비례오즈(누적 로짓) 모형에서 예측된 순서 점수로 관측치를 묶은 뒤, 그 집단 지시변수가 모형에 더 설명할 것이 있는지 검정해 적합도를 점검합니다.
Does my ordinal logistic regression fit the data?
내 순서형 로지스틱 회귀는 자료에 잘 맞을까요?
The proportional odds model is fitted and each observation gets an ordinal score, the sum of category numbers weighted by fitted probabilities. Observations are ranked by this score and split into G groups of similar size; G - 1 group indicators are added and a likelihood-ratio test with G - 1 df compares the two models. A small p-value means lack of fit.
When to use Lipsitz Goodness-of-Fit Test for Ordinal Regression
- You fitted an ordinal logistic regression and need a global goodness-of-fit test.
- Predictors include continuous variables, so the usual deviance test does not apply.
- You want the ordinal counterpart of the Hosmer-Lemeshow idea.
When to use something else
- The outcome is binary: use le Cessie-van Houwelingen-Copas-Hosmer Goodness-of-Fit Test for Logistic Regression
- You want the ordinal model and its odds ratios: use Ordinal Logistic Regression
- Each group would hold fewer than about five observations per category; the test is then unreliable.
Assumptions and requirements
- Ordinal outcome with at least three categories
- Independent observations
- Enough observations so that n / (5K) is at least the number of groups
What the analysis reports
- Likelihood-ratio chi-square with G - 1 df and p-value
- Log-likelihoods of the model and the augmented model
- Observed and fitted mean scores per group
How to report it
The Lipsitz test with [G] groups did not indicate lack of fit of the proportional odds model, LR chi2([df]) = [value], p = [value], N = [value].
Related methods
- Ordinal Logistic Regression
- le Cessie-van Houwelingen-Copas-Hosmer Goodness-of-Fit Test for Logistic Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy.
독립 계산. SciPy 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Lipsitz Goodness-of-Fit Test for Ordinal Regression on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.