Spatial Generalized Linear Mixed Model with a Matern Gaussian Field (Laplace Likelihood)
A spatial generalised linear mixed model explains counts or proportions measured at locations with covariates plus a smooth, unobserved Gaussian surface whose correlation decays with distance (Matern form). The method fits it by maximising a Laplace approximation of the likelihood.
공간 일반화 선형 혼합모형은 지점별 개수나 비율을 공변량과, 거리에 따라 상관이 줄어드는 관측되지 않은 매끄러운 가우스 표면(마턴 상관)으로 설명합니다. 이 방법은 라플라스 근사 가능도를 최대화해 모형을 적합합니다.
Malaria tests at 250 villages: does altitude lower the positive rate once the spatial clustering of infection is allowed for?
250개 마을의 말라리아 검사 결과에서 감염의 공간적 군집을 고려하고도 고도가 양성률을 낮춥니까?
The method returns covariate effects on the log-odds or log-rate scale with standard errors and confidence intervals, the variance and range of the spatial field, an optional nugget, and the AIC compared with an ordinary GLM.
When to use Spatial Generalized Linear Mixed Model with a Matern Gaussian Field (Laplace Likelihood)
- Counts (Poisson) or successes out of trials (binomial) at point locations
- Residual spatial correlation is expected between nearby sites
- Covariate effects are wanted with the spatial dependence allowed for
When to use something else
- Continuous Gaussian measurements: use Bayesian Kriging (Conjugate Gaussian Geostatistical Model)
- Data are counts for areas with a neighbour structure: use Bayesian Disease Mapping (BYM2)
- Grouped data without coordinates: use Generalized Linear Mixed Model (GLMM)
Assumptions and requirements
- Stationary, isotropic Gaussian field with the chosen Matern smoothness
- Observations independent given the field
- Laplace approximation adequate (less accurate for binary data with one trial per site)
What the analysis reports
- Coefficients with SE, z, p and 95% CI
- Field variance, range parameter and practical range
- Nugget variance (optional)
- Approximate log-likelihood and AIC vs the non-spatial GLM
How to report it
A binomial spatial GLMM with a Matern field (kappa = [value]) fitted to [n] locations gave an odds ratio of [value] (95% CI [value], [value]) for [covariate]; field variance [value], practical range [value] km.
Related methods
- Bayesian Kriging (Conjugate Gaussian Geostatistical Model)
- Generalized Linear Mixed Model (GLMM)
- Bayesian Disease Mapping (BYM2)
- Random Forest for Spatially Dependent Data (RF-GLS)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy, statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-5.
독립 계산. SciPy·statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).
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 Spatial Generalized Linear Mixed Model with a Matern Gaussian Field (Laplace Likelihood) 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.