Skip to content

Methods · Regression · Regression diagnostics

GLM Residual Diagnostics (Deviance, Pearson, Randomized Quantile Residuals)

GLM residual diagnostics compute deviance, Pearson, standardised and randomised quantile residuals with leverage and Cook's distance for generalized linear models, plus a half-normal plot with a simulated envelope.

GLM 잔차 진단은 일반화선형모형에 대해 이탈도·피어슨·표준화·무작위 분위수 잔차와 지렛값, 쿡의 거리를 계산하고 모의 포락선이 있는 반정규 그림을 제공합니다.

How do I check the fit of my Poisson or logistic regression when ordinary residual plots look strange?

포아송이나 로지스틱 회귀의 잔차 그림이 이상하게 보이는데, 적합도를 어떻게 점검하나요?

Fit the GLM, compute deviance and Pearson residuals, standardise them by leverage, and compute randomised quantile residuals, which are standard normal when the model is right even for discrete outcomes. A half-normal plot of standardised deviance residuals against an envelope simulated from the fitted model, and the Pearson dispersion ratio, show lack of fit and overdispersion.

When to use GLM Residual Diagnostics (Deviance, Pearson, Randomized Quantile Residuals)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

For the Poisson GLM the Pearson dispersion ratio was [value]; randomised quantile residuals were approximately normal (Shapiro-Wilk W = [value]) and [value]% of points fell outside the simulated envelope.

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs GLM Residual Diagnostics (Deviance, Pearson, Randomized Quantile Residuals) itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with SciPy and statsmodels.

    독립 계산. SciPy·statsmodels 대조 참조 시험 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 GLM Residual Diagnostics (Deviance, Pearson, Randomized Quantile Residuals) 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 Q21076 · Reviewed 2026-10-25