# Analyzing the mahakam river water quality using the geographically weighted panel regression model

**Authors:** Zabrina Nathania Fauziyah, Suyitno Suyitno, Darnah, Memi Nor Hayati, Meirinda Fauziyah

PMC · DOI: 10.1016/j.mex.2025.103773 · 2025-12-19

## TL;DR

This paper uses a new statistical model to analyze water quality in the Mahakam River, identifying local factors affecting pollution levels.

## Contribution

The novel application of GWPR with FEM for spatially heterogeneous panel data in river water quality analysis.

## Key findings

- GWPR outperformed FEM with AIC = -60.6419, R2 = 80.321%, and RMSE = 0.7122.
- Factors influencing BOD include temperature, pH, color degree, nitrate, ammonia, TSS, and sulfate.

## Abstract

This study discusses the geographically weighted panel regression (GWPR) model. GWPR is an extension of geographically weighted regression model, designed for spatially heterogeneous panel data. In this study, GWPR model is applied to panel data on biochemical oxygen demand (BOD) in Mahakam River water 2022–2024. The model is estimated at each spatial location using a fixed effects model (FEM) as the global model, with temporal effects addressed through a demeaning transformation. All statistical analyses and spatial processing are conducted using R software, GNU Octave, QGIS, and Google Earth. This study aims to map factors influencing Mahakam River water BOD using GWPR model. The results indicate that GWPR outperforms FEM, with AIC = -60.6419, R2=80.321%, and root mean square error of 0.7122. The factors influencing BOD include temperature, water pH, color degree, nitrate, ammonia, total suspended solids, and sulfate.•We present a GWPR model using FEM as global model, applied to the spatially heterogeneous panel data, namely demeaned Mahakam River water BOD data 2022–2024.•The mapping of factors influencing BOD is analyzed locally using GWPR model.•The optimal adaptive bandwidth is determined using Akaike Information Criterion, and model goodness-of-fit is evaluated using the coefficient of determination and root mean square error.

We present a GWPR model using FEM as global model, applied to the spatially heterogeneous panel data, namely demeaned Mahakam River water BOD data 2022–2024.

The mapping of factors influencing BOD is analyzed locally using GWPR model.

The optimal adaptive bandwidth is determined using Akaike Information Criterion, and model goodness-of-fit is evaluated using the coefficient of determination and root mean square error.

Image, graphical abstract

## Linked entities

- **Chemicals:** nitrate (PubChem CID 943), ammonia (PubChem CID 222), sulfate (PubChem CID 1117)

## Full-text entities

- **Chemicals:** nitrate (MESH:D009566), sulfate (MESH:D013431), ammonia (MESH:D000641), oxygen (MESH:D010100)

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12825077/full.md

---
Source: https://tomesphere.com/paper/PMC12825077