Skip to content

Methods · Hypothesis testing · Model-based tests

Score (Rao / Lagrange Multiplier) Test of Nested GLM Restrictions

The method tests whether the coefficients of chosen terms in a generalized linear model (linear, logistic or Poisson) are zero by fitting only the restricted model without them. It evaluates the slope of the log-likelihood with respect to the omitted coefficients at the restricted estimates and scales it by the expected information, giving Rao's score statistic, which is chi-square with as many degrees of freedom as restrictions. For linear models it equals n times the R squared of regressing the restricted residuals on all terms. The likelihood-ratio and Wald statistics are shown for comparison.

일반화선형모형(선형, 로지스틱, 포아송)에서 선택한 항들의 계수가 0인지를, 그 항들을 뺀 제약 모형만 적합하여 검정합니다. 제약 추정값에서 빠진 계수에 대한 로그우도의 기울기를 구하고 기대 정보량으로 척도화하여 Rao의 점수 통계량을 얻으며, 이는 제약의 수만큼의 자유도를 갖는 카이제곱 분포를 따릅니다. 선형모형에서는 제약 모형의 잔차를 모든 항에 회귀한 결정계수에 n을 곱한 값과 같습니다. 비교를 위해 우도비와 Wald 통계량도 함께 보여 줍니다.

Would adding these variables to my model improve it, tested without having to fit the larger model?

더 큰 모형을 적합하지 않고도, 이 변수들을 모형에 더하면 모형이 나아지는지 검정할 수 있습니까?

The method returns the score chi-square statistic with degrees of freedom and p-value, the likelihood-ratio and Wald statistics with p-values, the restricted and full coefficients, and the score of each tested term.

When to use Score (Rao / Lagrange Multiplier) Test of Nested GLM Restrictions

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A score test in a [value] GLM (N = [value]) of the coefficients of [value] gave chi2([value]) = [value], p = [value] (likelihood ratio chi2([value]) = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-6.

    독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-6).

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 Score (Rao / Lagrange Multiplier) Test of Nested GLM Restrictions 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.

Method ID Q11273 · Reviewed 2026-10-25