Linear Mixed Model with Spatial Covariance Structures
This linear model lets residuals be correlated according to the distance between observations, using exponential, gaussian, spherical, power or Matern correlation functions with an optional nugget. Covariance parameters are estimated by REML and fixed effects by generalised least squares; with a unit column, each unit is an independent block, which suits repeated measures taken at unequal times.
공간 공분산 선형 혼합모형은 관측 사이 거리에 따라 오차가 상관되도록 하며, 지수형, 가우스형, 구형, 거듭제곱형, 마테른 상관함수와 너깃을 쓸 수 있습니다. 공분산 모수는 REML로, 고정효과는 일반화 최소제곱으로 추정하며, 개체 열을 주면 개체마다 독립 블록으로 보아 간격이 고르지 않은 반복측정에도 씁니다.
Do nearby observations have correlated errors, and how does that change my regression estimates?
가까운 관측끼리 오차가 상관되어 있습니까, 그리고 그것이 회귀 추정을 어떻게 바꿉니까?
The method reports fixed effects with t tests, the partial sill, range, nugget and practical range, the restricted log-likelihood and information criteria, a comparison with independent errors, and an AIC table when all structures are fitted.
When to use Linear Mixed Model with Spatial Covariance Structures
- Observations have coordinates and errors are likely spatially correlated.
- Repeated measurements are taken at unequal times within subjects.
- You want to choose among standard distance-based covariance functions.
When to use something else
- You only want to test for spatial autocorrelation: use Moran's I Spatial Autocorrelation
- Visits are at fixed, equally spaced times: use Mixed Model for Repeated Measures (MMRM)
Assumptions and requirements
- Stationary, isotropic covariance depending only on distance
- Coordinates in projected units
- Gaussian errors
What the analysis reports
- Fixed effects with t tests
- Sill, range, nugget and practical range
- REML log-likelihood, AIC, BIC and LR test against independence
How to report it
A linear model with exponential spatial covariance (REML, N = [value]) estimated a partial sill of [value], range [value] and nugget [value]; for the predictor, b = [value], SE = [value], t([value]) = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-7.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-7).
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 Linear Mixed Model with Spatial Covariance Structures on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, lat and lon
- 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
- 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.