Skip to content

Methods · Regression · Heteroscedastic and correlated errors

Generalized Least Squares with Variance and Correlation Structures

Generalized least squares with variance and correlation structures fits a linear model whose error variance follows a modelled function and whose errors are correlated within groups, estimated by REML or ML.

분산·상관 구조가 있는 일반화 최소제곱은 오차 분산을 모형화한 함수로 두고 집단 안의 오차 상관을 허용한 선형모형을 REML 이나 ML 로 추정하는 방법입니다.

My residual spread grows with a covariate and repeated measurements on the same unit are correlated; how do I fit a regression that models both?

잔차의 퍼짐이 공변량에 따라 커지고 같은 개체의 반복 측정이 서로 상관된다면 둘 다 반영한 회귀는 어떻게 맞추나요?

This GLS model writes the error covariance as σ² times a matrix built from a variance function, such as a power or exponential of a covariate or a separate standard deviation per stratum, and a within-group correlation structure such as AR(1) or compound symmetry. The structure parameters and regression coefficients are estimated by restricted or full maximum likelihood, and likelihood-ratio tests and AIC compare the structure against independent homoscedastic errors.

When to use Generalized Least Squares with Variance and Correlation Structures

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A GLS model of [outcome] (n = [n], REML) with a [variance] variance function and [correlation] within-group correlation (φ = [value]) gave AIC = [value]; the likelihood-ratio test against independent homoscedastic errors gave χ²([df]) = [value], p = [value].

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Generalized Least Squares with Variance and Correlation Structures itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.

    자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.

Run Generalized Least Squares with Variance and Correlation Structures on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
Checking
Automated run tests; no external reference comparison yet
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 Q21058 · Reviewed 2026-10-25