Pregibon Link Test
The link test refits a model on its own fitted linear predictor and the square of that predictor. If the model is well specified, the squared term should add nothing; a significant squared term signals a wrong link function or missing nonlinear terms or interactions.
연결함수 검정은 모형을 자신의 적합된 선형예측값과 그 제곱으로 다시 적합합니다. 모형이 바르게 지정되었다면 제곱항은 아무것도 더하지 않아야 하며, 제곱항이 유의하면 연결함수가 잘못되었거나 비선형항이나 상호작용이 빠졌다는 신호입니다.
Is my regression or GLM correctly specified, or does it miss curvature or need a different link?
회귀모형이나 일반화선형모형이 바르게 지정되었는지, 곡선이나 다른 연결함수가 필요한지 어떻게 확인합니까?
The method returns the coefficients of the constant, the linear predictor and its square, the Wald test of the squared term, the likelihood-ratio test of the same term and a plot of the outcome against the linear predictor.
When to use Pregibon Link Test
- You fitted a logistic, probit, Poisson, gamma or linear model and want a quick specification check.
- A reviewer asks whether the link or functional form is adequate.
- You want the familiar linktest output from Stata.
When to use something else
- You need a detailed functional-form test for a linear model: use Ramsey RESET Test for Functional Form
- You want calibration of a logistic model: use le Cessie-van Houwelingen-Copas-Hosmer Goodness-of-Fit Test for Logistic Regression
- The model has a link known to be right and you want the shape of x: use Generalized Additive Models (GAM)
Assumptions and requirements
- The model family suits the outcome
- Independent observations
- Enough events for the refit
What the analysis reports
- Coefficient and test of the squared linear predictor
- Coefficient of the linear predictor
- Likelihood-ratio test
- Diagnostic plot
How to report it
The link test gave _hatsq = [value], z = [value], p = [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Pregibon Link Test itself, at the same price.
- Cox model link test — family set to “cox”
Related methods
- Ramsey RESET Test for Functional Form
- Stukel Goodness-of-Fit Test for Logistic Regression
- Binary Logistic Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels 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 Pregibon Link Test 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.