Spatial Classification Modelling of Imbalanced Response Using Firth Penalized Class-Weighted Geographically Weighted Logistic Regression

Binary regional classification of food security is often complicated by class imbalance and spatially heterogeneous predictoroutcome relationships. This study applies Firth Penalized Class-Weighted Geographically Weighted Logistic Regression (Firth CW-GWLR), which combines geographically weighted estimation, class weighting, and Firth's penalty on each local likelihood to reduce small-sample bias and protect against separation. The model is applied to the 2025 food security status of the 22 regencies/cities of East Nusa Tenggara (NTT), Indonesia (18 food insecure and 4 food secure), using the open unemployment rate (X1), the share of agricultural workers (X2), and the number of markets (X3). VIF values (1.122.03) indicate no multicollinearity. The BreuschPagan test (p = 0.0375) and Moran's I of the global-model residuals (I = 0.2025, p = 0.0248) suggest that the global model is misspecified and motivate local modelling, but they do not by themselves show that the regression coefficients vary spatially. An adaptive Gaussian kernel with 21 nearest neighbours was selected (AICc = 21.170). GWLR, CW-GWLR, Firth-GWLR, and Firth CW-GWLR were compared by leave-one-out cross-validation (LOOCV), in which the class weights, bandwidth, and coefficients were re-estimated in each training fold; because the kernel type was selected on the full data, the LOOCV results are conditional on that choice. All local estimates converged. CW-GWLR achieved the highest balanced accuracy (0.764) and F1 (0.545), Firth-GWLR the highest specificity (0.944), and Firth CW-GWLR identified three of the four food-secure regencies (recall 0.750) but classified five food-insecure regencies as food secure. The fully local model had a slightly lower LOOCV Brier score than models with one global coefficient, which is descriptive rather than formal evidence of spatial variation. With only four food-secure regencies, these results are indicative rather than conclusive.

Authors

Institutions

Publication Details

Journal
CAUCHY Jurnal Matematika Murni dan Aplikasi
Published
2026-11-16
DOI
https://doi.org/10.18860/cauchy.v11i2.45533
Primary Topic
Spatial and Panel Data Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Spatial Classification Modelling of Imbalanced Response Using Firth Penalized Class-Weighted Geographically Weighted Logistic Regression

Henny Pramoedyo, Suci Astutik, Zheryl Zabrina Hibatullah
1 links
CAUCHY Jurnal Matematika Murni dan Aplikasi
Spatial and Panel Data Analysis
article

Spatial Classification Modelling of Imbalanced Response Using Firth Penalized Class-Weighted Geographically Weighted Logistic Regression

Henny Pramoedyo, Suci Astutik, Zheryl Zabrina Hibatullah
article en

Abstract

Binary regional classification of food security is often complicated by class imbalance and spatially heterogeneous predictoroutcome relationships. This study applies Firth Penalized Class-Weighted Geographically Weighted Logistic Regression (Firth CW-GWLR), which combines geographically weighted estimation, class weighting, and Firth's penalty on each local likelihood to reduce small-sample bias and protect against separation. The model is applied to the 2025 food security status of the 22 regencies/cities of East Nusa Tenggara (NTT), Indonesia (18 food insecure and 4 food secure), using the open unemployment rate (X1), the share of agricultural workers (X2), and the number of markets (X3). VIF values (1.122.03) indicate no multicollinearity. The BreuschPagan test (p = 0.0375) and Moran's I of the global-model residuals (I = 0.2025, p = 0.0248) suggest that the global model is misspecified and motivate local modelling, but they do not by themselves show that the regression coefficients vary spatially. An adaptive Gaussian kernel with 21 nearest neighbours was selected (AICc = 21.170). GWLR, CW-GWLR, Firth-GWLR, and Firth CW-GWLR were compared by leave-one-out cross-validation (LOOCV), in which the class weights, bandwidth, and coefficients were re-estimated in each training fold; because the kernel type was selected on the full data, the LOOCV results are conditional on that choice. All local estimates converged. CW-GWLR achieved the highest balanced accuracy (0.764) and F1 (0.545), Firth-GWLR the highest specificity (0.944), and Firth CW-GWLR identified three of the four food-secure regencies (recall 0.750) but classified five food-insecure regencies as food secure. The fully local model had a slightly lower LOOCV Brier score than models with one global coefficient, which is descriptive rather than formal evidence of spatial variation. With only four food-secure regencies, these results are indicative rather than conclusive.

CAUCHY Jurnal Matematika Murni dan AplikasiVol. 11(2)
University of Brawijaya (ID)
Reduced inequalities, Zero hunger
Spatial and Panel Data Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon