Methods · Regression · Regression error structure

Weighted Least Squares Regression

Weighted least squares regression estimates linear model coefficients by minimizing a weighted sum of squared residuals, giving more influence to observations with smaller error variance.

가중최소제곱회귀는 오차분산이 작은 관측에 더 큰 가중치를 주어 가중 잔차제곱합을 최소화하는 선형회귀입니다.

My observations have different precision, such as averages based on different group sizes; how should I weight them in a regression?

관측마다 정밀도가 다른데(예: 표본 수가 다른 평균값) 회귀에서 가중치를 어떻게 주어야 하나요?

Weighted least squares gives each observation a weight proportional to the inverse of its error variance, which restores efficient estimates and correct standard errors when the variances differ in a known way. If the weights are well chosen, the weighted residuals have roughly constant spread.

When to use Weighted Least Squares Regression

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A weighted least squares regression with weights [weight variable] showed that [predictor] was associated with [outcome], b = [value], SE = [value], t([df]) = [value], p = [value]; R² = [value].

Related methods

Run Weighted Least Squares Regression on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a weight column
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
Checked by property tests in every deployment
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 Q21018 · Reviewed 2026-10-25