Skip to content

Methods · Hypothesis testing · Logistic model fit

Stukel Goodness-of-Fit Test for Logistic Regression

Stukel's test embeds the logistic model in a two-parameter family of links that can make each tail of the response curve heavier or lighter, and tests whether both extra shape parameters are zero.

스투켈 검정은 반응곡선의 양쪽 꼬리를 각각 두껍거나 얇게 만들 수 있는 두 모수 연결함수 가족 안에 로지스틱 모형을 넣고, 추가된 두 형태 모수가 모두 0인지 검정합니다.

Is the logistic link right for my data, or do the probabilities rise faster or slower in the tails than the logit curve allows?

내 자료에 로짓 연결함수가 맞을까요, 아니면 꼬리 부분에서 확률이 로짓 곡선보다 더 빠르거나 느리게 변할까요?

Two covariates are built from the fitted logit: half its square where the fitted probability is at least 0.5, and minus half its square where it is below 0.5. A score test at the original fit, and a likelihood-ratio test from refitting with both covariates, check whether they improve the model. The signs of their coefficients show which tail departs from the logistic shape.

When to use Stukel Goodness-of-Fit Test for Logistic Regression

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Stukel test did not indicate misspecification of the logit link, score chi2(2) = [value], p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-5.

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).

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 Stukel Goodness-of-Fit Test for Logistic Regression on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.

Method ID Q11150 · Reviewed 2026-10-25