Restricted Least Squares with Lagrange Multiplier Tests
Restricted least squares estimates a linear regression whose coefficients must satisfy given linear equalities, such as two slopes summing to one. It gives closed-form restricted estimates with exact standard errors, the Lagrange multiplier of each restriction with a t test, and the joint F test of all restrictions.
제한 최소제곱은 두 기울기의 합이 1이 되어야 하는 경우처럼 계수가 주어진 선형 등식을 만족하도록 선형회귀를 추정합니다. 닫힌 형태의 제한 추정치와 정확한 표준오차, 각 제한의 라그랑주 승수와 t 검정, 모든 제한에 대한 결합 F 검정을 냅니다.
What are my regression coefficients when theory imposes linear equalities on them, and do the data contradict those equalities?
이론이 계수에 선형 등식을 요구할 때 회귀계수는 어떻게 추정되며, 자료가 그 등식과 맞지 않습니까?
The method reports the restricted coefficients with standard errors, t tests and intervals beside the unrestricted ones, each restriction's Lagrange multiplier with its t test, the restricted and unrestricted residual sums of squares, and the joint F test of the restrictions.
When to use Restricted Least Squares with Lagrange Multiplier Tests
- Theory requires coefficients to sum to a value or to be equal (for example constant returns to scale).
- You want exact standard errors for the restricted fit.
- You want to see which restriction is most at odds with the data.
When to use something else
- Coefficients must satisfy inequality bounds such as non-negativity: use Constrained and Non-Negative Least Squares
- The model is a GLM and you want a score test of nested restrictions: use Score (Rao / Lagrange Multiplier) Test of Nested GLM Restrictions
Assumptions and requirements
- Linear model with independent, homoscedastic errors
- Restrictions linearly independent and fewer than the coefficients
What the analysis reports
- Restricted coefficients with exact SE
- Lagrange multipliers with t tests
- Joint F test of the restrictions
How to report it
Imposing beta_labour + beta_capital = 1 (N = [value]) gave restricted estimates [value] and [value]; the restriction was not rejected, F([value], [value]) = [value], p = [value].
Related methods
- Constrained and Non-Negative Least Squares
- Score (Rao / Lagrange Multiplier) Test of Nested GLM Restrictions
- Weighted Least Squares Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-8.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Restricted Least Squares with Lagrange Multiplier Tests 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.