Skip to main content
PLOS One logoLink to PLOS One
. 2026 Jun 10;21(6):e0350923. doi: 10.1371/journal.pone.0350923

Geospatial variation and machine learning approaches to predict open defecation practice in Zambia

Andualem Addisu Birlie 1,*, Nega Abebe Meshesha 2, Sefefe Birhanu Tizie 3, Smegnew Gichew Wondie 4, Selamawit Gashaw Teshome 5, Tesfaye Deribe Bedada 6, Ayana Alebachew Muluneh 7, Biruktawit Lelisa Eticha 8, Geleta Nenko Dube 9, Gelgelo Wodessa 9, Muluken Belachew Mengistie 3
Editor: Muammar Qadafi10
PMCID: PMC13252813  PMID: 42268871

Abstract

Background

Open defecation is the disposal of human feces in fields, bushes, forests, open waterways, beaches, and other open areas. It worsens the environment, contaminates drinking water sources, causes malnutrition and low school attendance in children, and aids in the spread of diseases like cholera, diarrhea, dysentery, typhoid, polio, and hepatitis A. The purpose of this study was geospatial variation and machine learning approaches to predict open defecation in Zambia.

Methods

This study used secondary data analysis from the cross-sectional Zambia Demographic and Health Survey (ZMDHS) 2024. Spatial distribution, spatial autocorrelation, incremental autocorrelation, spatial interpolation, and hot spot area detection were all examined using ArcGIS 10.7. Python was used to identify the features of open defecation practice using machine-learning algorithms. We carried out an 80/20% data split, one-hot data encoding, data transformation and integration, data cleaning, and 10-fold stratified cross-validation. This study employed seven machine-learning algorithms, including adaptive boosting, cat boosting, random forest, light boosting, extreme gradient boosting, decision tree and logistic regression.

Results

Among 12,808 households in Zambia, 12.1% were practiced open defecation. Spatial analysis revealed significant clustering, with hot spots concentrated in Southern, Western and Eastern regions, highlighting areas in urgent need of intervention. Machine learning models were applied to predict open defecation practices, with light gradient boost performing the best model with AUC of 83.83%. From this study, 198 true positives were generated by the model for the classification of open defecation practice, accurately identifying those who reported engaging in this behavior.

Conclusion

Wealth index, access to treated water, access to electricity, educational level, and age of household head, access to media, and region were the most significant features of open defecation practice. Governments, NGOs, policy makers, and researchers can use these data to create targeted interventions for improving health and environmental sanitation based on the gaps and disparities discovered.

Background

Open defecation is the term used to describe the disposal of human feces in fields, bushes, forests, open waterways, beaches, and other open areas [1]. Developing countries, particularly those in Asia and Sub-Saharan Africa, are disproportionately affected by the dangerous and damaging practice of open defecation, which also contributes to pollution [2]. It poses environmental and social problems and aids in the spread of diseases, making it a serious public health concern [3]. Poor sanitation causes the deaths of 775,000 people worldwide each year [4]. 2.4 billion people worldwide, the majority of whom reside in Sub-Saharan Africa (SSA), lacked access to improved sanitation in 2015 [5]. In 2020, World Health Organization (WHO) and United Nations Children’s Fund (UNICEF) reported that over 673 million people worldwide engage in open defecation, and approximately 3.6 billion people lack access to safely managed sanitation services [4]. 494 million people engage in open defecation, according to WHO and UNICEF Joint Monitoring Program (JMP) 2021 reports [6]. Nearly half of them were from Sub-Saharan Africa (SSA), and the majority (92%) of them lived in rural areas. The environment, the economy, and societal health are all negatively impacted by inadequate sanitation facilities and poor sanitation [4,7]. It worsens the environment, contaminates drinking water sources, causes malnutrition and low school attendance in children, and aids in the spread of diseases like cholera, diarrhea, dysentery, typhoid, polio, and hepatitis A [8,9]. Inadequate sanitation, tainted drinking water, and poor hygiene are the main causes of diarrheal illnesses worldwide, accounting for over 297,000 deaths among children under five in 2019 [6,10]. According to a study, communities that practice open defecation had a fourfold higher prevalence of diarrhea than communities that do not [11]. Additionally, there is a risk that open defecation will expose hundreds of millions of women and girls worldwide to increased sexual exploitation and a lack of privacy during their periods [12].

Research indicates that either poverty, which makes it difficult to construct latrines, or a lack of government support and enforcement of them are the main causes of open defecation. However, despite the availability of restrooms, people frequently choose to defecate outside [13]. The households’ access and utilization will be influenced by a variety of factors, including housing, environmental factors, and sociodemographic factors. The household heads’ age, sex, level of education, marital status, wealth index, number of household members, region, and number of under five children. Other potential contributing factors to the practice of open defecation included access to a water source, electricity, the internet, access to treated water, residence, and media [12–15].

Machine learning tools are known to improve the accuracy of short-term prediction and to create the best possible conditions for the advancement of sanitation management [4]. We measure and interpret the relative impact of features using SHAP analysis, which captures intricate nonlinear relationships that are frequently overlooked by traditional techniques. However, there is no evidence at the national level regarding the contributing factors to open defecation practice in Zambia using on both spatial and machine learning analysis. Understanding the variables that affect the rate of sanitation improvement and the reduction of diarrhea morbidity and mortality brought on by poor sanitation is crucial.

The purpose of this study was geospatial variation and machine learning approaches to predict open defecation in Zambia. This study uses a machine learning approach to identify important features within hot spot areas with elevated rates of open defecation. The study offers practical insights for mitigating sanitation disparities, maximizing resource allocation, bolstering climate-resilient WASH programs, and assisting policymakers in creating efficient, focused interventions by fusing data-driven prediction with geospatial analysis. Additionally, in environments with limited resources, the predictive framework provides a transferable model for environmental and health applications.

Methods

Study design, setting, and period

This study used secondary data analysis from the cross-sectional Zambia Demographic and Health Survey (ZMDHS) 2024, which was carried out from January 8 to July 5, 2024. Zambia is found in the Eastern Africa, which has 10 regions, such as Central, Copperbelt, Eastern, Luapula, Lusaka, Muchinga, Northern, Northwestern, Southern, and Western regions as shown in Fig 1. Finally, we developed a predictive model that predicts open defecation practice in Zambia.

Fig 1. Study area of open defecation practice in Zambia‌‌, ZMDHS 2024.

Fig 1

Data sources, sample size and sampling technique

This study used a secondary analysis of data from the Demographic and Health Surveys (DHS). We used Household Record (HR) and other online-accessible measured DHS program data. Urban and rural enumeration districts were established for sampling purposes in each of Zambia’s ten regional states. A total sample of 12,808 households from the ten regions was included in this study using the most recent ZMDHS dataset. A two-stage stratified cluster sampling procedure was used to select study participants. In the first step, a stratified sample of enumeration areas (EAs) was selected at random. In the second stage, households within the selected EAs were selected using systematic random sampling. A tailored questionnaire was used to interview the selected household.

Variables of the study

Outcome variable.

The dependent variable of this study was open defecation practice, based on WHO/UNICEF JMP [16]. The DHS data contains a variable entitled “Type of toilet facility,” so we recorded those households’ responses into two categories. Those households that used “no open defecation practice” as “0” and those households that used “open defecation practice” were coded as “1”. Open defecation practice was used to categorize households with no facility or defecating in bush or field, whereas no open defecation practice was used for those who have sanitation facilities [4,12,14,15,17].

Explanatory variables.

The study included different household characteristics such as the age of the household head, sex of the household head, educational level, marital status, and wealth index, number of household members, region and number of under five children. In addition, access to a water source, access to electricity, access to internet, access to treated water, place of residence, and access to media [12–15].

Data management and statistical analysis

Spatial analysis.

STATA/MP version 17 and Microsoft Excel 2019 were used for data preprocessing, which included missing data handling, cleaning, recoding, and appending data. The [IW = hv005/1000000] command in STATA was used to apply sampling weights (hv005) in order to guarantee representativeness and produce accurate estimates. Spatial distribution, spatial autocorrelation, incremental autocorrelation, spatial interpolation, and hot spot area detection were all examined after the weighted percentage of open defecation data was exported to ArcGIS version 10.7 software. Kuldorff’s SaTScan version 9.6 software was used to apply spatial scan statistics.

All spatial analyses were conducted at the DHS cluster level, since Global Positioning System (GPS) coordinates are only available for clusters and are intentionally displaced to preserve confidentiality. Household records were linked to their respective cluster coordinates, and the magnitude of open defecation practice was aggregated at the cluster level prior to analysis. In total, 545 clusters from the 2024 Zambia DHS were included. For spatial autocorrelation, hot spot analysis, interpolation analysis and SaTScan procedures, we applied adaptive bandwidth spatial weights matrix to ensure optimal model performance and account for spatially variable data density.

Incremental autocorrelation analysis: To assess spatial autocorrelation over a range of distances, incremental autocorrelation analysis was created, displaying Z-scores and the distances that corresponded to them. Z-scores provide information about the degree of spatial clustering as well as its statistical importance. Where clustering-promoting spatial processes are most noticeable, Z-score peaks indicate the distance. These peak distances help choose the best threshold or radius by offering vital guidance for tools that incorporate distance band or distance radius parameters. Tools like hot spot analysis that depend on these parameters for efficient spatial analysis find this useful information [3].

Spatial Autocorrelation (Global Moran’s I) analysis: GPS coordinates and open defecation proportions were used in the spatial autocorrelation tool to determine whether the open defecation pattern under investigation was dispersed, clustered, or random using ArcGIS version 10. 7. We were able to assess the significance of that index by looking at the calculated tools’ Moran’s I index value, Z-score, and p-value. A geographical clustering of open defecation is indicated by a statistically significant positive Moran’s I value, whereas dispersion is shown by a significant negative Moran’s index, and a random distribution is shown by a value of zero [18].

Hot spot analysis: By calculating the Getis-ord Gi* statistics for each area, hot spot analysis was calculated to determine how spatial autocorrelation varies throughout the study location. The p-values and Z-scores were computed to see if there was significant clustering. A cold spot is denoted by low Getis-ordGi*, while a hot spot is indicated by statistical values with high Getis-ordGi* [19].

Spatial interpolation: It was employed to estimate the open defecation practice in unsampled areas based on data from sampled clusters [20]. This study used both deterministic and geostatistical interpolation methods and selected ordinary kriging geostatistical interpolation method as the best accurate technique due to its lowest mean predicted error (MPE) of 0.00107 and root mean square predicted error (RMSPE) of 0.4126 as shown in Table 1. This study applied ordinary kriging geostatistical interpolation method to predict the open defecation practice in Zambia. A spherical semivariogram model was fitted to the data, with nugget, sill, and range parameters estimated empirically. Model performance was assessed using leave-one-out cross-validation, and prediction uncertainty was quantified through kriging variance. Although household-level outcomes are binary, cluster-level proportions were treated as continuous variables, which is consistent with geostatistical interpolation assumptions.

Table 1. Interpolation methods comparison of open defecation practice in Zambia, ZMDHS 2024.
Interpolation methods Parameters
Mean predicted error (MPE) Root mean square predicted error (RMSPE)
Deterministic interpolation
Inverse distance weight d 0.00231 0.4679
Geostatistical interpolation
Ordinary kriging 0.00107 0.4126
Universal kriging 0.00178 0.4526
Simple kriging 0.00539 0.4948
Disjunctive kriging 0.00528 0.4939
Indicator kriging 0.00432 0.4727
Probability kriging 0.00432 0.4727

SaTScan cluster analysis: Using the Bernoulli model, SaTScan cluster analysis was used to find high-likelihood clusters of open defecation practices. Households that practiced open defecation were categorized as cases, and households that did not were classified as controls. Using a circular scanning window that evaluated different cluster sizes, the scan statistic found clusters with noticeably high prevalence. To assess statistical significance, Monte Carlo simulations and likelihood ratio tests were employed. High-risk areas were identified by the results, offering guidance for resource allocation and focused sanitation interventions [14].

Machine learning analysis.

Using STATA/MP version 17 and Microsoft Excel 2019, the data was extracted. It was then converted to CSV format and imported into Jupiter Notebooks’ Python (v3.12) for additional analysis. Descriptive statistics were presented as text frequencies and percentages in tables and graphs. This study uses Yufeng Guo’s 7 Steps of Machine Learning [21] as the basis for a general framework from a prior study to predict a household’s open defecation practice. Fig 2 illustrated these steps, which include data collection, preparation, model selection, training, evaluation, parameter adjustment, and prediction relevant to supervised machine learning. In this study Pandas (v2.2.2), Seaborn (v0.13.2), Scikit-Learn (v1.4.2), and SHAP (v0.50.0) were used to implement machine learning models and algorithms. Data preprocessing, transformation, integration, dimensionality reduction, splitting, discretization, and feature engineering were among the several steps in the data processing and analysis process that made sure the dataset was of high quality for machine learning predictions. The full feature set used in all models were comprised household head characteristics (age, sex, education, and marital status), number of household members and under five children, wealth index, and region, access to water, electricity, internet, treated water, media, and place of residence.

Fig 2. Summary of data preparation and analysis process plan for open defecation practice in Zambia, ZMDHS 2024.

Fig 2

To deal with missing values, the K-nearest neighbor (KNN) imputation technique was applied. Dummy variables were made for categorical variables using one-hot encoding and the first columns from the one-hot encode variables were used for reference (comparison). Using random stratification, the entire dataset was divided into a training set (80%) and a holdout test set (20%) for data splitting and cross-validation. On the 80% training set, 10-fold cross-validation was used for all model development, hyperparameter tuning, and internal validation. Within each fold, preprocessing were applied only to the training partition to avoid data leakage, and models were evaluated on the fold’s validation partition. The Synthetic Minority Oversampling Technique (SMOTE) oversampling technique was employed to create new observations that resemble the minority class by interpolating across minority class samples in the feature space [22].

Seven supervised machine learning algorithms such as, Adaptive Boosting (AdaB), Cat Boosting (CatB), Random Forest (RF), Light Gradient Boosting (LGB), Extreme Gradient Boosting (XGB), Decision Tree (DT) and Logistic Regression (LR) were used for the model selection [23]. While ensemble approaches (RF, XGB, LGB, CatB and AdaB) were given priority due to their capacity to handle high-dimensional data, model nonlinear relationships, and prevent overfitting through bagging and boosting mechanisms [24]. Simpler models (e.g., DT and LR) were used to evaluate trade-offs in complexity [25]. The best model

The mean cross-validated performance metrics (AUC, accuracy, precision, recall, and F1 score) were used to select and interpret the performance of the model. A default probability threshold of 0.5 was used for classification of open defecation practice. For the last analysis, the model with the best predictive performance was chosen. The final model was retrained on the complete 80% training set after the best algorithm and hyperparameters were chosen, and its results were recorded on the separate 20% holdout test set. Hyperparameters were tuned using Optuna’s Bayesian optimization framework with 10-fold cross-validation. Using Shapley Additive Explanations (SHAP), which calculates the contribution of each variable to the model’s prediction, feature importance was evaluated. With this method, the relative impact of each feature on the prediction of open defecation is measured instead of depending on conventional statistical significance testing. When used in tandem, the SHAP beeswarm and bar plots provide a powerful technique for identifying relationships and patterns in the data, enhancing transparency and breaking down complex models [26].

Ethical consideration

This study is based on secondary analysis of the publicly available Zambia Demographic and Health Survey (ZDHS) 2024 dataset. The DHS Program obtains informed consent from all participants and ensures strict confidentiality in accordance with the Declaration of Helsinki and national ethical guidelines. Since this research involved analysis of anonymized, de-identified data, no additional ethical approval was required, and Human Ethics and Consent to Participate declarations are not applicable.

Results

Characteristics of the respondents

Many households among the 12,808 study participants were found in urban areas (59.11%), and most household heads were married (68.87%) and male (68.99%). Many household heads (38.27%) were between the ages of 31 and 45, and 44.84% of households were in the poor wealth category. Primary school had the highest educational attainment (42.74%). Most households had no children under five (42.83%), and most households had four to six members (44.90%). While 77.11% had access to water sources, only 34.85% used household treated water, and 70.12% lacked electricity, 72.48% lacked internet, and 46.53% had no media access. Overall, the results show that the population is mostly urban, married, and male-headed, but they continue to struggle with poverty, education, and access to basic services as shown in Table 2. Western Zambia had the highest percentage of participants who engaged in open defecation, accounting for 416 (26.9%) of the total as shown in Fig 3.

Table 2. Sociodemographic characteristics of the respondents for open defecation practice in Zambia ZMDHS 2024.

Variables Categories Frequency Percentage
Residence Urban 5,237 59.11
Rural 7,571 40.89


Marital status
Never union 703 5.49
Married 8,821 68.87
Widowed 1,536 11.99
Divorced 1,748 13.65


Age of household head
15-30 2,684 20.96
31-45 4,901 38.27
46-60 3,148 24.58
>60 2,075 16.20
Sex of house hold head Female 3,972 31.01
Male 8,836 68.99
Wealth index Poor 5,747 44.84
Middle 2,537 19.81
Rich 4,524 35.32
Educational level No education 1,134 8.85
Primary 5,474 42.74
Secondary 4,812 37.57
Higher 1,388 10.84
Number of household member 1-3 4,163 32.50
4-6 5,751 44.90
>=7 2,894 22.60
Number of under 5 children in months 0 5,486 42.83
1 4,534 35.40
2 2,307 18.01
>=3 481 3.76
Access to electricity No 8,981 70.12
Yes 3,827 29.88
Access to internet No 9,287 72.48
Yes 3,525 22.89
Access to media No 5,960 46.53
Yes 6,848 53.47
Access to water source No 2,932 22.89
Yes 9,876 77.11
Access to treated water No 8,434 65.15
Yes 4,463 34.85

Fig 3. Distribution of open defecation practice in Zambia’s regions, ZMDHS 2024.

Fig 3

Spatial analysis

Spatial incremental analysis.

A strong influence of spatial factors that promote clustering is indicated by the presence of statistically significant Z-scores at 203,275 meters. Ten distance bands were identified by the incremental spatial autocorrelation analysis. Clustering first became noticeable at 155,193 meters and increased by 24,041 meters as shown in Fig 4. This implies that the frequency of open defecation is not distributed randomly but rather depends on geographic proximity.

Fig 4. Spatial incremental analysis of open defecation in Zambia, ZMDHS 2024.

Fig 4

Spatial autocorrelation (Global Moran’s Index) analysis.

With a Z-score of 5.042 and a Moran’s Index of 0.305 (p-value less than 0.001), the spatial autocorrelation of this study showed a high and statistically significant clustering pattern of open defecation practice, suggesting that there is less than a 1% chance that this clustered pattern could be the product of random choice as illustrated in Fig 5.

Fig 5. Spatial autocorrelation of open defecation in Zambia, ZMDHS 2024.

Fig 5

Hot spot analysis (Getis-Ord Gi*).

Hot spot analysis identified statistically significant hot spot areas of open defecation practice were observed in Southern, Western and Eastern regions of Zambia. There were statistically significant cold-spot areas of open defecation practice in the Copperbelt, Luapula, Lusaka, central and some parts of Northern and Southern of regions of Zambia presented in Fig 6.

Fig 6. Hot spot analysis of open defecation in Zambia, ZMDHS 2024.

Fig 6

Spatial interpolation analysis.

To predict open defecation in an unobserved area, this study used ordinary Kriging geostatistical interpolation methods as illustrated in Table 1. Regular kriging interpolation analysis predicted that open defecation would rise from dark green to red areas in Zambia DHS 2024, as seen in Fig 7 below. In the Western and Southern regions, red color denoted areas with high predictions of open defecation practice. In Muchinga, Copperbelt, Luapula, Northern, Central, Northwestern and certain parts of the Lusaka regions, dark green areas represent areas with low predicted levels of open defecation practice.

Fig 7. Kriging interpolation of open defecation in Zambia, ZMDHS 2024.

Fig 7

Spatial SaTScan analysis.

Among 545 clusters, 153 were statistically significant clusters of open defecation practice, which were categorized into primary and secondary clusters. The primary clusters were 104 statistically significant clusters observed in Western, Northwestern, Southern and Central regions of Zambia and centered at −17.4653N, 24.2384E, 412.1528 km with an LLR of 419.10, RR: 4.12, at p-value less than 0.001. It indicated that households inside the spatial window had 4.12 times higher risk of open defecation practice than households outside the window. The secondary clusters were 49 statistically significant clusters and observed in Eastern, Muchinga and some part of Central and centered at −13.1838N, 32.5030E, 163.8676 km with an LLR of 51.85, RR: 1.60, at p-value less than 0.001. It indicated that households inside the spatial window had a 2.0 times higher risk of open defecation practice than households outside the window as shown in Table 3 and Fig 8.

Table 3. Significant clusters of open defecation practice in Zambia, ZMDHS 2024.
Cluster #location #population #case RR LLR Coordinates/Radius P-value
Primary 104 2,349 742 4.12 419.10 −17.4653N, 24.2384E, 412.1528 km <0.001
Secondary 49 1,164 258 2.00 51.85 −13.1838N, 32.5030E, 163.8676 km <0.001
Fig 8. Spatial SaTScan analysis of open defecation practice in Zambia, ZMDHS 2024.

Fig 8

Machine learning analysis

Class distribution.

Among all study participants (N = 12808), the distribution of open defecation was evaluated. According to the analysis as shown in Fig 9, the classes were distributed with 1,548 (12.1%) respondents reporting open defecation practices (Yes) and 11,260 (87.9%) respondents reporting no open defecation practices (No). The dataset showed a significant class imbalance because the distribution of the two categories was not proportional. From the balanced training dataset, the SMOTE generated 7,460 additional synthetic observations on the minority group to balance the unbalanced class distribution of open defecation practice.

Fig 9. Comparison of open defecation practice before and after SMOTE in Zambia, ZMDHS 2024.

Fig 9

Model performance.

Extreme gradient boosting, adaptive boosting, cat boosting, light gradient boosting, random forest, decision tree and logistic regression were the seven machine learning algorithms that were used to predict the practice of open defecation. Model performance was assessed using the AUC, accuracy, precision, recall, and F1 score. Logistic regression algorithm was the best model on unbalanced training dataset, which was 85.92% in AUC and 89.27% in accuracy. Whereas, light gradient boosting algorithm was the best model on the balanced training dataset, which was 83.83% in AUC and 82.05% in accuracy as shown in Table 4. This suggests that light gradient boost delivered the dataset’s most consistent and balanced classification performance, better capturing both positive and negative instances of open defecation than the other methods.

Table 4. Comparison of algorithms with different performance matrix of open defecation practice in Zambia, ZMDHS 2024.
Machine learning model Weight Performance (%)
AUC Accuracy Precision Recall F1-Score
Decision Tree Unbalanced 66.88 84.19 33.22 30.32 31.70
Balanced 69.11 82.08 33.48 48.71 39.68
Random Forest Unbalanced 80.46 87.16 45.32 29.68 35.87
Balanced 80.56 84.23 38.70 51.93 44.35
Logistic Regression Unbalanced 85.92* 89.27* 62.77* 27.74* 38.48*
Balanced 83.75 80.68 34.76 68.06 46.02
Light Gradient Boosting Unbalanced 84.97 89.11 60.40 29.03 39.22
Balanced 83.83* 82.05* 36.26* 63.87* 46.26*
Cat Boosting Unbalanced 83.35 88.41 54.55 25.16 34.44
Balanced 82.50 82.00 34.87 56.13 43.01
Adaptive Boosting Unbalanced 85.55 89.58 70.48 23.87 35.66
Balanced 83.47 71.94 26.68 75.48 39.42
Extreme Gradient Boosting Unbalanced 83.65 88.64 56.21 27.74 37.15
Balanced 82.79 82.05 35.69 60.32 44.84

Note: * = best performance of machine learning algorithm.

ROC curves for the tested models.

The light gradient boosting algorithm was the best model among the seven machine-learning algorithm classifiers used on the balanced training dataset, with an AUC value of 0.8383 for the ROC curve, as shown in Fig 10.

Fig 10. ROC curve of the tested machine learning algorithms of open defecation practice in Zambia, ZMDHS 2024.

Fig 10

Hyperparameter tuning.

The optuna framework hyperparameter tuning did not increase the performance of the balanced training dataset except accuracy and precision. Tuning often restricts depth or splits to avoid overfitting, but in ensemble models, this can reduce diversity and weaken predictive [27]. The optuna hyperparameter search spaces that we used for light gradient boosting were presented in Table 5. The AUC was decreased from 83.83% to 82.79%, as shown in Fig 11. Therefore, the default (before tuning) balanced training dataset was used to test and predict the final model of open defecation practice in Zambia.

Table 5. Bayesian optimization optuna framework hyperparameter tuning search space and actual value for light gradient boosting.
Parameters Default search space Actual search value
Number of leaves (num_leaves) 20 - 300 127
Maximum depth (max_depth) 3 - 15 14
Learning rate (learning_rate) 1x10-3 -0.3 0.038
Number of trees (n_estimators) 100 - 2000 939
Minimum child samples (min_child_samples) 5 - 100 11
subsample 0.5 - 1 0.716
Column sample before building tree (colsample_bytree) 0.5 - 1 0.523
Range of alpha (reg_alpha) 1x10-8 –10 9.3 x10-5
Range of lambda (reg_lambda) 1x10-8 –10 4.9x10-8
Fig 11. Comparison of before and after tuning with optuna framework of open defecation practice in Zambia, ZMDHS 2024.

Fig 11

Prediction of open defecation practice.

Using a confusion matrix, the predictive performance of the chosen model was assessed. 198 true positives were generated by the model for the classification of open defecation practice, accurately identifying those who reported engaging in this behavior. On the other hand, 348 false negatives were noted, which are instances in which there was open defecation practice, but the model failed to identify it. Regarding the non-open defecation practice side, the model produced 1,904 true negatives, which accurately identified people who did not engage in open defecation practice, and 112 false positives, which showed people who were mistakenly identified as engaging in open defecation practice as illustrated in Fig 12.

Fig 12. Prediction of open defecation practice using confusion matrix in Zambia, ZMDHS, 2024.

Fig 12

Global feature importance.

To determine the most reliable features associated with classification of open defecation, global feature importance was evaluated using mean absolute SHAP values. Wealth index, access to treated water, access to electricity, educational level, and age of household head, access to media, and region were the most significant associated factors that the model kept according to the analysis presented in Fig 13. Out of all of these, rich and middle wealth index were found to be the most significant associated factors, suggesting that socioeconomic status has a significant influence on the practice of open defecation. Access to treated water was the other significant associated factor linked to the practice of open defecation. Regional-level effects, particularly for respondents from Luapula, and Northern provinces were additional significant associated factor that suggested contextual variations in open defecation practices across regions. A significant contribution was made by educational attainment; secondary education was linked to a decrease in the practice of open defecation, indicating the importance of literacy and awareness in healthcare utilization. Household head aged 46–60 and >60 years old associated factors had significant impact on open defecation practice. Additionally, access to media and electricity were maintained as significant associated factors, highlighting the part that information exposure plays in facilitating the practice of open defecation.

Fig 13. SHAP global feature importance plot of open defecation practice in Zambia, ZMDHS 2024.

Fig 13

wealth_3 = rich wealth index, wealth_2 = middle wealth index, water_treat_1 = access to treated water, electricity_1 = access to electricity, education_2 = secondary education level, age_3 = age of household head from 46–60, years, age_4 = age of household head >60 years, media_1 = access to media, region_7 = Northern, and region_4 = Luapula,

Model interpretation/explanation.

Differential impacts of important associated factors on the practice of open defecation were brought to light by the SHAP beeswarm plot analysis. SHAP impact (on model output) was used to determine each feature’s contribution to the classification for open defecation practices and model accuracy. Red-dot associated factors have a high predictive probability or push the prediction higher; blue-dot associated factors at the bottom of the tree explainer have a low predictive probability or push the prediction lower. The likelihood of engaging in open defecation was consistently found to be significantly lower among household who were part of the rich and middle wealth index groups; lived in Northern, and Luapula; had secondary levels of education; household head aged 46–60 and >60 years old; and had access to treated water, media, and electricity as shown in Fig 14. These characteristics served as protective associated factors, highlighting the vital roles that financial coverage, education, socioeconomic advantage, and information exposure play in promoting healthcare and environmental sanitation and decrease the practice of open defecation in Zambia.

Fig 14. Beeswarm plot ranked by mean absolute SHAP value of open defecation practice in Zambia, ZMDHS 2024.

Fig 14

wealth_3 = rich wealth index, wealth_2 = middle wealth index, water_treat_1 = access to treated water, electricity_1 = access to electricity, education_2 = secondary education level, age_3 = age of household head from 46–60, years, age_4 = age of household head >60 years, media_1 = access to media, region_7 = Northern, and region_4 = Luapula,

Discussion

The practice of open defecation raises serious public health issues because it contributes to the spread of disease and affects social and environmental aspects [3]. This study aimed to geospatial variation and machine learning approaches to classify open defecation in Zambia. The magnitude of open defecation practice in Zambia was 12.1%. It was less than studies conducted in Ghana 51% [15] and Benin 61% [28], Nigeria 72.7% [29], Chad 69% [30], Ethiopia 32.23% [12], Kenya 44% [31], and Senegal 12.4% [32]. However, it was less than studies conducted in India 5.7% [33] and Nigeria 12% [34]. The variation in open defecation rates could be associated with differences in implementation frameworks, socio-economic statuses, and study design approaches [21]. The reason for this could also be the different government commitments and involvement in community-based initiatives that employ more effective strategies to curb open defecation and accomplish the desired sanitation program [15].

This study’s spatial autocorrelation revealed a high and statistically significant clustering pattern of open defecation practices in Zambia with a Z-score of 5.042 and a Moran’s Index of 0.305 (p-value less than 0.001). Southern, Western and Eastern regions of Zambia were found to have statistically significant hot spot areas of open defecation practice according to hot spot analysis. In order to reduce disparities through evidence-based targeted interventions, hot spot detection facilitates community-based initiatives to raise awareness of open defecation practices. This approach also directs healthcare infrastructure and strategic policymaking [35]. The highly classified likelihood of open defecation in Zambia was observed in Western and Southern regions. Health authorities can allocate resources, gain a better understanding of spatial disparities and alert policymakers to areas that need intervention by using spatial prediction to identify high open defecation practice areas [20]. On the spatial SaTScan analysis, the primary clusters were 104 statistically significant clusters observed in Western, Northwestern, Southern and Central regions of Zambia and centered at −17.4653N, 24.2384E, 412.1528 km with an LLR of 419.10, RR: 4.12, at p-value less than 0.001. It indicated that households inside the spatial window had 4.12 times higher risk of open defecation practice than households outside the window.

For classification purposes, a balanced training dataset was used to train seven supervised machine-learning algorithms. These algorithms included extreme gradient boost, adaptive boost, cat boost, light gradient boost, random forest, decision tree and logistic regression. These seven machine-learning models: AUC, accuracy, precision recall and f1-score were used to compare their performance. Among the algorithms tested on balanced training dataset, light gradient boost achieved the highest AUC score with 83.83% outperforming all other models on the test dataset. However random forest algorithm was the best model for studies conducted in SSA [4]. The difference might be due to the amount of dataset used, study period and the previous study did not include light gradient boosting. For the classification of open defecation practice, the model produced 198 true positives were generated by the model for the classification of open defecation practice, accurately identifying those who reported engaging in this behavior. On the other hand, 348 false negatives were noted, which are instances in which there was open defecation practice, but the model failed to identify it. Regarding the non-open defecation practice side, the model produced 1,904 true negatives, which accurately identified people who did not engage in open defecation practice, and 112 false positives, which showed people who were mistakenly identified as engaging in open defecation practice. According to SHAP value feature importance, wealth index, access to treated water, access to electricity, educational level, and age of household head, access to media, and region were the most important features associated with classification of open defecation practice. Thus, this study can help Zambia achieve Sustainable Development Goal 6 Target 2, which is to prevent human interactions with fecal pathogens in order to lower disease incidences by 2030 [4, 36]. It can also improve policy formulation and optimize resource allocation.

This study showed that Zambia’s regions had varying degrees of association with open defecation practice. Household heads from Northern and Luapula regions of Zambia were observed to be less likely to practice open defecation compared to those from Central region. The geographic variation may be caused by the fact that open defecation rates are higher in areas with poorer infrastructure, less access to clean water, and lower household incomes, while they are significantly lower in areas with greater government funding for sanitation initiatives [37]. Because they influence the strength of public health campaigns, the availability of sanitation facilities, and cultural attitudes regarding toilet use, regional variations are significant in determining whether open defecation continues or decreases.

According to this study, the wealth index was an associated factor in the classification of open defecation practice in Zambia. Households in the middle and rich classes were observed to be less likely to report open defecation practice compared to households in poverty. This finding is in line with studies conducted in Mozambique [38], Nigeria [39], India [40], Ghana [15], Ethiopia [41] and SSA [12]. Countries with low incomes have been the sites of the majority of open defecation practices [41]. Given the cost of materials, labor, and even land space for toilets, middle-class and wealthy households are more able to afford building or maintaining sanitation facilities such as pit latrines or flush toilets [4]. Wealthy households can afford to provide better restroom facilities for their families, but poor households that are fortunate enough to have toilets typically share them with other households [15]. However, the prevalence of open defecation has been reported to be higher in upper middle‑income countries than in lower middle‑income countries, which contrasts with this research. This discrepancy may be due to smaller sample sizes in upper middle‑income countries compared to lower middle‑income countries [12].

This study found that the age of household head was an associated factor in open defecation practice. Household heads aged 46–60 and above 60 years were observed to be less likely to report open defecation compared to household heads aged 15–30 years. This result is supported by studies conducted in SSA [14], Ethiopia [42], and Ghana [43]. The possible reason might be due to elder household heads may have greater experience and financial resources for managing household infrastructure, including sanitation facilities [43]. In addition, elder individuals may have greater exposure to sanitation education and community health programs, which is associated with better sanitation practices [42]. As people age, they may prefer or adopt behaviors that improve their quality of life [4].

According to this study, educational level was an associated factor in the practice of open defecation. Households with secondary education were observed to be less likely to report open defecation compared to uneducated households. This finding is supported by a studies conducted in Indonesia [44], Ghana [15], Nigeria [39], Ethiopia [41], and SSA [4, 12]. This could be due to the fact that household heads with secondary levels of education are generally more aware of the importance of having sanitary facilities and the consequences of open defecation [12]. Additionally, a secondary level of education increases the likelihood that households will be able to earn income, which helps overcome the primary barrier to building a restroom [45]. Educated households may also be more aware of the dangers of open defecation, which is associated with greater use of sanitation facilities and lower risk of fecal-oral disease transmission [4].

This study found that access to media was an associated factor with classification in open defecation practice. Households with media access were observed to have a lower likelihood of reporting open defecation practice compared to those without media access. This finding is supported by studies conducted in Ghana [15], India [46], Haiti [47], and SSA [4]. A possible explanation is that media exposure helps people internalize the advantages of using sanitation facilities, influences attitudes and behaviors in the home, and increases awareness of the harmful effects of open defecation [47]. When media exposure is limited, there is less information available that could influence sanitation practices and community attitudes [48]. Coordinated national awareness campaigns can be effectively carried out via radio, television, and newspapers. Many people who live in different places can receive messages from these devices at the same time. For spreading information about health hazards and access to sanitary facilities, radio is extremely important, particularly in isolated rural areas with little electrical power [45]. In addition to the messages, television is crucial for demonstration or visualization techniques [15].

This study found that access to electricity was an associated factor in open defecation practice. Households with access to electricity were observed to be less likely to report open defecation practice compared to those without electricity. This finding is supported by studies conducted in Yemen [49] and Nigeria [50], and SSA [4]. A possible explanation is that electricity is closely related to infrastructure information access and socioeconomic development, which may be associated with sanitation practices. Households with electricity are more likely to have higher incomes, better living standards, and higher levels of education, which can facilitate investment in sanitation facilities [4]. Access to the media and the internet, which provide health education and awareness campaigns that deter open defecation, is another benefit of electricity.

According to this study, access to treated water was an associated factor in open defecation practice. Households that had access to treated water were observed to be less likely to practice open defecation compared to households without access to treated water. Access to treated, piped, or nearby safe water may reduce open defecation practice by enabling the construction and consistent use of pour-flush latrines, which are otherwise unfeasible without water [51]. Evidence indicates that improved water access significantly lowers open defecation practice rates, improves hygiene, and is a key driver for upgrading from open defecation /unimproved sanitation to toilets [52]. Access to reliable, safe water also increases handwashing with soap, which is often promoted alongside sanitation upgrades, reducing the tendency to defecate in the open.

Strength and limitation of the study

The strengths of this study were found in its creative integration of machine learning and geospatial analysis, which produced predictive modeling of open defecation practices in Zambia as well as insights into spatial clustering. While hot spot detection showed notable regional differences, providing compelling evidence for focused interventions. However, the cross-sectional design, which limits the ability to draw conclusions about causality; the use of survey data, which may introduce bias; and regional sample differences, which may affect prediction accuracy, are some of the study’s limitations. Furthermore, cultural norms and the quality of sanitation infrastructure were not adequately captured. All of these advantages and disadvantages point to the study’s usefulness in directing evidence-based sanitation policies while also highlighting areas that require more thorough research in the future.

Conclusion

With a prevalence of 12.1%, this study shows that open defecation is still a major public health concern in Zambia. It varies by region due to socioeconomic disparities, infrastructure constraints, and variations in government-led sanitation initiatives. Strong clustering patterns were found by spatial analysis, highlighting the need for interventions that are geographically targeted. Hot spots were concentrated in Southern, Western and Eastern regions of Zambia. Open defecation practice was successfully classified by machine learning techniques, especially the light gradient boosting model, which achieved best model and identified important associated factors like wealth index, access to treated water, access to electricity, educational level, and age of household head, access to media, and region. These results emphasize how crucial it is to incorporate geospatial and machine learning techniques into the planning of sanitation policies in order to maximize resource allocation and minimize disparities. Governments and policymakers can utilize these findings to design targeted interventions for reducing open defecation based on the identified gaps and disparities. While the results provide actionable evidence for future research should adopt mixed-methods approaches to incorporate cultural and qualitative dimensions, ensuring that social norms and traditional beliefs are adequately represented. Additionally, longitudinal studies are needed to explore how climate change may exacerbate sanitation infrastructure vulnerabilities, thereby linking behavioral insights with environmental resilience. In order to reduce exposure to fecal pathogens and improve public health outcomes by 2030, Zambia can accelerate progress toward SDG 6.2 by addressing socioeconomic and infrastructural barriers and utilizing digital awareness campaigns.

Acknowledgments

The authors acknowledge the Demographic Health Survey Program for providing the dataset and making the survey data accessible to the public for study.

Abbreviations

AUC

Area under the Curve

DHS

Demographic Health Survey

SDG

Sustainable Development Goal

SHAP

Shapely Additive Explanation

SMOTE

Synthetic Minority Oversampling Technique

SSA

Sub-Saharan Africa

ZMDHS

Zambia Demographic Health Survey.

Data Availability

The data for this study were obtained from the EDHS Program. These datasets are publicly available and can be requested from the DHS website at https://www.dhsprogram.com/data/dataset/Zambia_Standard-DHS_2024.cfm?flag=1.

Funding Statement

The author(s) received no specific funding for this work.

References

  • 1.Organization WH, UNICEF. Progress on sanitation and drinking-water. World Health Organization. 2013. [Google Scholar]
  • 2.Degif KA, Gebrehiwot M, Tadege G, Demoze L, Yitageasu G. Spatial and temporal variation of pneumonia incidence among under-five children in central gondar zone, Northwest Ethiopia, 2013- 2022. BMC Pediatr. 2025;25(1):182. doi: 10.1186/s12887-025-05550-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Kebede N, Delie AM, Bogale EK, Anagaw TF, Tiruneh MG, Fenta ET, et al. Mapping and predicting open defecation in Ethiopia: 2021 PMA-ET study. BMC Public Health. 2024;24(1):1671. doi: 10.1186/s12889-024-19222-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Yitageasu G, Alemu EA, Worede EA, Tigabie M, Demoze L. Machine learning-based prediction of household sanitation facility access in Sub-Saharan Africa: insights from DHS data (2012-2024). Arch Public Health. 2025;83(1):280. doi: 10.1186/s13690-025-01780-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Okurut K, Kulabako RN, Abbott P, Adogo JM, Chenoweth J, Pedley S, et al. Access to improved sanitation facilities in low-income informal settlements of East African cities. Journal of Water, Sanitation and Hygiene for Development. 2014;5(1):89–99. doi: 10.2166/washdev.2014.029 [DOI] [Google Scholar]
  • 6.Organization WH. Progress on household drinking water, sanitation and hygiene 2000-2020: five years into the SDGs. World Health Organization. 2021. [Google Scholar]
  • 7.Amanabo-Arome UH, Abbas AM. Environmental and health implications of poor sanitation in Nigeria. Merit Res J Agri Sci Soil Sci. 2021;9(10):101–4. [Google Scholar]
  • 8.Yitageasu G, Feleke H, Andualem Z, Asrat K, Demoze L, Gizaw Z. Spatiotemporal variation of under-5 children diarrhea incidence and associated meteorological factors in central Gondar zone, Northwest Ethiopia. A retrospective time series study. BMC Infect Dis. 2025;25(1):380. doi: 10.1186/s12879-025-10772-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Ezeh OK, Agho KE, Dibley MJ, Hall J, Page AN. The impact of water and sanitation on childhood mortality in Nigeria: evidence from demographic and health surveys, 2003-2013. Int J Environ Res Public Health. 2014;11(9):9256–72. doi: 10.3390/ijerph110909256 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Spuhler D, Germann V, Kassa K, Ketema AA, Sherpa AM, Sherpa MG, et al. Developing sanitation planning options: A tool for systematic consideration of novel technologies and systems. J Environ Manage. 2020;271:111004. doi: 10.1016/j.jenvman.2020.111004 [DOI] [PubMed] [Google Scholar]
  • 11.Ayalew AM, Mekonnen WT, Abaya SW, Mekonnen ZA. Assessment of Diarrhea and Its Associated Factors in Under-Five Children among Open Defecation and Open Defecation-Free Rural Settings of Dangla District, Northwest Ethiopia. J Environ Public Health. 2018;2018:4271915. doi: 10.1155/2018/4271915 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Belay DG, Asratie MH, Aragaw FM, Tsega NT, Endalew M, Gashaw M. Open defecation practice and its determinants among households in sub-Saharan Africa: pooled prevalence and multilevel analysis of 33 sub-Saharan Africa countries demographic and health survey. Trop Med Health. 2022;50(1):28. doi: 10.1186/s41182-022-00416-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Temesgen A, Molla Adane M, Birara A, Shibabaw T. Having a latrine facility is not a guarantee for eliminating open defecation owing to socio-demographic and environmental factors: The case of Machakel district in Ethiopia. PLoS One. 2021;16(9):e0257813. doi: 10.1371/journal.pone.0257813 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Demoze L, Gizachew N, Worede EA, Zegeye AT, Molalign YW, Tigabie M, et al. The prevalence, spatial distribution and geographic weighted regression of open defecation practice in sub-Saharan Africa using demographic and health survey (DHS) data. PLoS One. 2025;20(12):e0336938. doi: 10.1371/journal.pone.0336938 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Appiah-Effah E, Boakye K, Salihu T, Duku GA, Fenteng JO-D, Boateng G, et al. Determinants of Open Defecation Among Rural Women in Ghana: Analysis of Demographic and Health Surveys. Environ Health Insights. 2024;18:11786302241226774. doi: 10.1177/11786302241226774 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Organization WH. Progress on household drinking water, sanitation and hygiene 2000-2022: special focus on gender. World Health Organization. 2024. [Google Scholar]
  • 17.Unicef. Progress on drinking water, sanitation and hygiene: 2017 update and SDG baselines. 2017.
  • 18.Derseh NM, Alemayehu MA, Agimas MC, Yismaw GA, Tesfie TK, Abuhay HW. Spatial variation and geographical weighted regression analysis to explore open defecation practice and its determinants among households in Ethiopia. PLoS One. 2024;19(7):e0307362. doi: 10.1371/journal.pone.0307362 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Demsash AW, Walle AD. Women’s health service access and associated factors in Ethiopia: application of geographical information system and multilevel analysis. BMJ Health Care Inform. 2023;30(1):e100720. doi: 10.1136/bmjhci-2022-100720 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Bedada TD, Beshah BY, Desalegn HK, Eticha BL, Desta TW, Birlie AA. Geospatial variation and associated factors of unintended pregnancy among women of reproductive age in Ethiopia: Geographically Weighted Regression Analysis. PLoS One. 2026;21(2):e0337282. doi: 10.1371/journal.pone.0337282 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Birlie AA, Gashu KD, Kasaye MD, Muluneh AA, Kassaw AK, Desalegn HK, et al. Classification of knowledge of fertility period among adolescent girls in East Africa from 2012 to 2022: Machine learning algorithm. PLOS Digit Health. 2026;5(2):e0001108. doi: 10.1371/journal.pdig.0001108 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Luque A, Carrasco A, Martín A, de las Heras A. The impact of class imbalance in classification performance metrics based on the binary confusion matrix. Pattern Recognition. 2019;91:216–31. doi: 10.1016/j.patcog.2019.02.023 [DOI] [Google Scholar]
  • 23.Irmalasari I, Dwiyanti L. Algorithm Analysis of Decision Tree, Gradient Boosting Decision Tree, and Random Forest for Classification (Case Study: West Java House of Representatives Election 2019). In: 2023 International Conference on Electrical Engineering and Informatics (ICEEI), 2023. 1–5. 10.1109/iceei59426.2023.10346727 [DOI]
  • 24.Dev VA, Eden MR. Gradient boosted decision trees for lithology classification. Computer aided chemical engineering. Elsevier. 2019:113–8. [Google Scholar]
  • 25.Azmi SS, Baliga S. An overview of boosting decision tree algorithms utilizing AdaBoost and XGBoost boosting strategies. Int Res J Eng Technol. 2020;7(5):6867–70. [Google Scholar]
  • 26.Asnake AA, Gebrehana AK, Asebe HA, Seifu BL, Fente BM, Bezie MM, et al. Application of machine learning algorithm for prediction of abortion among reproductive age women in Ethiopia. Sci Rep. 2025;15(1):17924. doi: 10.1038/s41598-025-95342-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Fernández-Delgado M. Do we need hundreds of classifiers to solve real world classification problems? The Journal of Machine Learning Research. 2014;15(1):3133–81. [Google Scholar]
  • 28.Nyoni SP, Nyoni MT. Open Defecation in Benin: A Box-Jenkins ARIMA Approach. JournalNX. 2023;6(07):166–73. [Google Scholar]
  • 29.Gayawan E, Somo-Aina O, Kuti O. Analysis of the space-time trends in open defecation in Nigeria. Environ Sci Pollut Res Int. 2023;30(26):68524–35. doi: 10.1007/s11356-023-26161-8 [DOI] [PubMed] [Google Scholar]
  • 30.Nyoni SP, Nyoni MT. Open Defecation in Chad: A Box-Jenkins ARIMA Approach. JournalNX. 2023;6(06):792–800. [Google Scholar]
  • 31.Busienei PJ, Ogendi GM, Mokua MA. Open Defecation Practices in Lodwar, Kenya: A Mixed-Methods Research. Environ Health Insights. 2019;13. doi: 10.1177/1178630219828370 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Daffe ML, Diop C, Dounebaine B, Diop SS, Peleka JCM, Bah F, et al. Water, sanitation, and hygiene access in Senegal and its impact on the occurrence of diarrhea in children under 5 years old. J Water Health. 2022;20(11):1654–67. doi: 10.2166/wh.2022.203 [DOI] [PubMed] [Google Scholar]
  • 33.Jain A. Prevalence of zero-sanitation in India: Patterns of change across the states and Union Territories, 1993-2021. J Glob Health. 2023;13:04082. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Ajayi OO, Philip KL. Assessment of Open Defecation and Prevalence of Soil Transmitted Helminthes among a Tertiary Institution Students in Nigeria. IJEAB. 2018;3(6):2185–91. doi: 10.22161/ijeab/3.6.32 [DOI] [Google Scholar]
  • 35.Abate BJ, Melesse AW, Brhan H, Agimas MC. Spatial variation, pooled prevalence, and factors associated with perinatal mortality in Sub-Saharan Africa, evidence from demographic and health surveys 2015-2023: a geospatial regression approach. EClinicalMedicine. 2025;81:103137. doi: 10.1016/j.eclinm.2025.103137 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Hutton G, Chase C. The Knowledge Base for Achieving the Sustainable Development Goal Targets on Water Supply, Sanitation and Hygiene. Int J Environ Res Public Health. 2016;13(6):536. doi: 10.3390/ijerph13060536 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Fagunwa OE, Mthiyane T, Fagunwa A, Olayemi KI, Alozie A, Onyeaka H, et al. Priority regions for eliminating open defecation in Africa: implications for antimicrobial resistance. Environ Dev Sustain. 2023;27(1):2675–99. doi: 10.1007/s10668-023-03992-6 [DOI] [Google Scholar]
  • 38.Giné-Garriga R, Flores-Baquero Ó, Jiménez-Fdez de Palencia A, Pérez-Foguet A. Monitoring sanitation and hygiene in the 2030 Agenda for Sustainable Development: A review through the lens of human rights. Sci Total Environ. 2017;580:1108–19. doi: 10.1016/j.scitotenv.2016.12.066 [DOI] [PubMed] [Google Scholar]
  • 39.Abubakar IR. Exploring the determinants of open defecation in Nigeria using demographic and health survey data. Sci Total Environ. 2018;637–638:1455–65. doi: 10.1016/j.scitotenv.2018.05.104 [DOI] [PubMed] [Google Scholar]
  • 40.O’Reilly K, Dhanju R, Goel A. Exploring “the remote” and “the rural”: Open defecation and latrine use in Uttarakhand, India. World Development. 2017;93:193–205. [Google Scholar]
  • 41.Belay DG, Chilot D, Asratie MH. Spatiotemporal distribution and determinants of open defecation among households in Ethiopia: A Mixed effect and spatial analysis. PLoS One. 2022;17(5):e0268342. doi: 10.1371/journal.pone.0268342 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Gebremichael SG, Yismaw E, Tsegaw BD, Shibeshi AD. Determinants of water source use, quality of water, sanitation and hygiene perceptions among urban households in North-West Ethiopia: A cross-sectional study. PLoS One. 2021;16(4):e0239502. doi: 10.1371/journal.pone.0239502 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Akpakli DE, Manyeh AK, Akpakli JK, Kukula V, Gyapong M. Determinants of access to improved sanitation facilities in rural districts of southern Ghana: evidence from Dodowa Health and Demographic Surveillance Site. BMC Res Notes. 2018;11(1):473. doi: 10.1186/s13104-018-3572-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Prasetyoputra P, Irianti S. Access to improved sanitation facilities in Indonesia: An econometric analysis of geographical and socioeconomic disparities. Journal of Applied Sciences in Environmental Sanitation. 2013;8:215–24. [Google Scholar]
  • 45.Patwa J, Pandit N. Open defecation-free India by 2019: how villages are progressing?. Indian J Community Med. 2018;43(3):246–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Babbar K, Dev P. Modelling the impact of ovulatory cycle knowledge on the number of children and age of women at first birth. Indian Institute of Management Ahmedabad, Research and Publication Department. 2021. [Google Scholar]
  • 47.Paul B. Socio-economic factors associated with open defecation among agricultural households: a cross-sectional study in Haiti. BMJ Public Health. 2023;1(1):e000082. doi: 10.1136/bmjph-2023-000082 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Aboagye RG, Ahinkorah BO, Seidu A-A, Adu C, Hagan JE Jr, Amu H, et al. Mass Media Exposure and Safer Sex Negotiation among Women in Sexual Unions in Sub-Saharan Africa: Analysis of Demographic and Health Survey Data. Behav Sci (Basel). 2021;11(5):63. doi: 10.3390/bs11050063 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Sbrana G. Technical note on the determinants of water and sanitation in Yemen.
  • 50.Abubakar I, Rimi. Access to sanitation facilities among Nigerian households: determinants and sustainability implications. Sustainability. 2017;9:547. [Google Scholar]
  • 51.Okullo JO, Moturi WN, Ogendi GM. Open Defaecation and Its Effects on the Bacteriological Quality of Drinking Water Sources in Isiolo County, Kenya. Environ Health Insights. 2017;11:1178630217735539. doi: 10.1177/1178630217735539 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Fetahei W, Yadete B. Evidence on WASH interventions in Negelle-Arsi District, Oromia Regional State, Ethiopia: a cross-sectional data analysis. medRxiv. 2026. [Google Scholar]

Decision Letter 0

Muammar Qadafi

19 Apr 2026

PONE-D-26-11222Geospatial Variation and Machine Learning Approaches to Predict Open Defecation Practice in ZambiaPLOS One

Dear Dr. Birlie,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Jun 03 2026 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

As the corresponding author, your ORCID iD is verified in the submission system and will appear in the published article. PLOS supports the use of ORCID, and we encourage all coauthors to register for an ORCID iD and use it as well. Please encourage your coauthors to verify their ORCID iD within the submission system before final acceptance, as unverified ORCID iDs will not appear in the published article. Only the individual author can complete the verification step; PLOS staff cannot verify ORCID iDs on behalf of authors.

We look forward to receiving your revised manuscript.

Kind regards,

Muammar Qadafi

Academic Editor

PLOS One

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS One has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. Thank you for uploading your study's underlying data set. Unfortunately, the repository you have noted in your Data Availability statement does not qualify as an acceptable data repository according to PLOS's standards.

At this time, please upload the minimal data set necessary to replicate your study's findings to a stable, public repository (such as figshare or Dryad) and provide us with the relevant URLs, DOIs, or accession numbers that may be used to access these data. For a list of recommended repositories and additional information on PLOS standards for data deposition, please see https://journals.plos.org/plosone/s/recommended-repositories.

4. We note that Figures 1, 6, 7 and 8 in your submission contain map images which may be copyrighted. All PLOS content is published under the Creative Commons Attribution License (CC BY 4.0), which means that the manuscript, images, and Supporting Information files will be freely available online, and any third party is permitted to access, download, copy, distribute, and use these materials in any way, even commercially, with proper attribution. For these reasons, we cannot publish previously copyrighted maps or satellite images created using proprietary data, such as Google software (Google Maps, Street View, and Earth). For more information, see our copyright guidelines: http://journals.plos.org/plosone/s/licenses-and-copyright.

We require you to either (1) present written permission from the copyright holder to publish these figures specifically under the CC BY 4.0 license, or (2) remove the figures from your submission:

1. You may seek permission from the original copyright holder of Figure(s) [#] to publish the content specifically under the CC BY 4.0 license.

We recommend that you contact the original copyright holder with the Content Permission Form (http://journals.plos.org/plosone/s/file?id=7c09/content-permission-form.pdf) and the following text:

“I request permission for the open-access journal PLOS ONE to publish XXX under the Creative Commons Attribution License (CCAL) CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). Please be aware that this license allows unrestricted use and distribution, even commercially, by third parties. Please reply and provide explicit written permission to publish XXX under a CC BY license and complete the attached form.”

Please upload the completed Content Permission Form or other proof of granted permissions as an "Other" file with your submission.

In the figure caption of the copyrighted figure, please include the following text: “Reprinted from [ref] under a CC BY license, with permission from [name of publisher], original copyright [original copyright year].”

2. If you are unable to obtain permission from the original copyright holder to publish these figures under the CC BY 4.0 license or if the copyright holder’s requirements are incompatible with the CC BY 4.0 license, please either i) remove the figure or ii) supply a replacement figure that complies with the CC BY 4.0 license. Please check copyright information on all replacement figures and update the figure caption with source information. If applicable, please specify in the figure caption text when a figure is similar but not identical to the original image and is therefore for illustrative purposes only.

The following resources for replacing copyrighted map figures may be helpful:

USGS National Map Viewer (public domain): http://viewer.nationalmap.gov/viewer/

The Gateway to Astronaut Photography of Earth (public domain): http://eol.jsc.nasa.gov/sseop/clickmap/

Maps at the CIA (public domain): https://www.cia.gov/library/publications/the-world-factbook/index.html and https://www.cia.gov/library/publications/cia-maps-publications/index.html

NASA Earth Observatory (public domain): http://earthobservatory.nasa.gov/

Landsat: http://landsat.visibleearth.nasa.gov/

USGS EROS (Earth Resources Observatory and Science (EROS) Center) (public domain): http://eros.usgs.gov/#

Natural Earth (public domain): http://www.naturalearthdata.com/

5. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 2 in your text; if accepted, production will need this reference to link the reader to the Table.

6. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Partly

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: N/A

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Thank you for inviting me to review this study that addresses an important public health and environmental geography question by combining spatial analysis and machine learning to examine open defecation in Zambia using 2024 DHS data. The topic is relevant, the national scope is potentially valuable, and the attempt to combine hotspot mapping with predictive modeling is promising. The manuscript also has policy relevance, especially for geographically targeted WASH interventions. However, the current version has several major methodological and interpretive problems that need to be resolved before it is suitable for publication. Below please see my concerns:

1. First of all, the outcome variable appears to be incorrectly defined. The paper states that “open defecation practice” includes households using pit latrines without slabs/platforms and bucket latrines, in addition to households defecating in fields, bushes, forests, open water, or other open spaces. That is not a standard definition of open defecation. It conflates open defecation with unimproved sanitation. As written, the study is not measuring open defecation alone; it is measuring a broader category of poor sanitation access. This likely inflates the reported prevalence of 46.42% and affects all downstream spatial and machine-learning results. The variable must be redefined according to standard DHS/JMP sanitation categories, and the entire analysis should be rerun.

2. The manuscript does not clearly state whether the spatial analyses use individual households, DHS clusters, or aggregated regional values. Specifically, DHS GPS data are provided at the cluster level and are spatially displaced for confidentiality. If household records were assigned repeated cluster coordinates and then analyzed as point data, Moran’s I, hotspot analysis, and SaTScan results may be artificially inflated. Therefore. The authors must clearly state: (1) the unit of spatial analysis; (2) the number of spatial points/clusters used; (3) whether outcome prevalence was aggregated to the cluster level; (4) and what spatial weights or distance band specification was used.

3. In the methodological section, the use of ordinary kriging to interpolate open defecation practice needs much more methodological support. Kriging assumes particular spatial properties that are not demonstrated here, and the manuscript does not report the semivariogram model, cross-validation performance, or prediction uncertainty. If the input is a binary household outcome or cluster-level proportion derived from displaced DHS points, the assumptions need to be clearly justified.

4. In addition, the machine-learning section also needs clearer reporting. The machine-learning analysis is potentially useful, but it is not yet sufficiently transparent. The manuscript compares several tree-based methods, but does not include a simple interpretable baseline such as logistic regression. Without that baseline, it is hard to judge whether using more complex models adds meaningful value. The paper should also report: (1) the full feature set used in each model; (2) the hyperparameter search space; (3) selected tuning parameters; (4) software package versions; (5) decision threshold used for classification; (6) and calibration metrics in addition to discrimination metrics.

5. The paper frequently refers to “determinants” and “predictors” as though causal relationships have been established, but the design is cross-sectional. The authors should use more cautious language such as “associated factors” or “features associated with classification.” This matters especially in the discussion and conclusion.

Minor comments:

The figures are low resolution and not publication-ready. This is especially noticeable for the maps and the machine-learning workflow figure on the later pages. Legends, labels, and cartographic design need improvement.

Reviewer #2: This study represents a significant advancement in addressing Zambia's sanitation crisis. Its primary strength lies in the integration of geospatial analysis with artificial intelligence to analyze highly recent (2024) data from over 12,000 households. The paper successfully bridges a critical research gap by moving beyond general national estimates to identify geographically precise "hotspots" and explain complex behavioral drivers using the advanced LightGBM model. Furthermore, the use of SHAP analysis provides transparency by quantifying the influence of key variables—such as wealth, education, and digital access—on predicting health behaviors. However, a scientific gap remains regarding qualitative and cultural dimensions, as quantitative data alone cannot fully capture the social norms or traditional beliefs that may drive individuals to practice open defecation despite having access to latrines. Additionally, there is a need for future longitudinal research to link these findings with the impact of climate change on regional sanitation infrastructure.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Dr.Raheem Al-Abdan

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

To ensure your figures meet our technical requirements, please review our figure guidelines: https://journals.plos.org/plosone/s/figures

You may also use PLOS’s free figure tool, NAAS, to help you prepare publication quality figures: https://journals.plos.org/plosone/s/figures#loc-tools-for-figure-preparation.

NAAS will assess whether your figures meet our technical requirements by comparing each figure against our figure specifications.

PLoS One. 2026 Jun 10;21(6):e0350923. doi: 10.1371/journal.pone.0350923.r002

Author response to Decision Letter 1


28 Apr 2026

Editorial Comments to Author

Editor Comment 1 (Style requirements)

Authors’ response: We acknowledge PLOS One’s style requirements, including those for file naming and formatting. The manuscript has been carefully revised to conform to the journal’s style templates. All files have been renamed and structured according to PLOS One’s guidelines, ensuring consistency, clarity, and compliance with submission standards.

Editor Comment 2 (Code sharing)

Authors’ response: We acknowledge PLOS One’s guidelines on code sharing. All author generated code underpinning the findings has been prepared for release and made available in a stable public repository without restrictions, following best practices to ensure reproducibility and reuse on GitHub (https://github.com/ayabzmam/Open-Defecation/tree/main )

Editor Comment 3 (Data repository)

Authors’ response: Thank you for noting this. We have uploaded the minimal dataset necessary to replicate our findings to an acceptable public repository and updated the Data Availability statement with the relevant URL on https://dhsprogram.com/data/dataset_admin/index.cfm.

Editor Comment 4 (Figures and copyright)

Authors’ response: We confirm that all figures, including maps and workflow diagrams, are original and owned by the authors. No copyrighted or proprietary sources (e.g., Google Maps, Earth, or Street View) were used. The initial blurriness was due to TIF format conversion; we have replaced all figures with high resolution versions and improved legends, labels, and cartographic design to meet publication standards under CC BY 4.0.

Editor Comment 5 (Table reference)

Authors’ response: Thank you for pointing this out. We have revised the manuscript to explicitly reference Table 2 in the Results section, ensuring that readers are directed to the table and that production can properly link it.

Reviewer comments to Author

Reviewer #1:

Concern#1: The outcome variable was incorrectly defined, conflating open defecation with unimproved sanitation. This likely inflated prevalence and affected downstream results. The variable must be redefined according to DHS/JMP standards and the analysis rerun.

Authors’ response: Thank you for this important observation. We have redefined the outcome variable strictly according to DHS/JMP sanitation categories, ensuring that only households reporting “no facility or defecating in bush or field” are classified as practicing open defecation. Following this correction, we reran the entire analysis, and the updated prevalence is 12.1%. All spatial and machine learning results have been revised accordingly. This major revision improves the methodological rigor and accuracy of the study.

Concern#2: The manuscript does not clearly state whether the spatial analyses use individual households, DHS clusters, or aggregated regional values. Specifically, DHS GPS data are provided at the cluster level and are spatially displaced for confidentiality. If household records were assigned repeated cluster coordinates and then analyzed as point data, Moran’s I, hotspot analysis, and SaTScan results may be artificially inflated. Therefore, the authors must clearly state: (1) the unit of spatial analysis; (2) the number of spatial points/clusters used; (3) whether outcome prevalence was aggregated to the cluster level; (4) and what spatial weights or distance band specification was used.

Authors’ response: Thank you for this important clarification. We have revised the Methods section to clearly state that: The unit of spatial analysis was the DHS cluster level; A total of 545 clusters were included; Outcome prevalence was aggregated to the cluster level and An adaptive bandwidth specification was used for spatial weights.

Concern#3: The use of ordinary kriging to interpolate open defecation practice needs more methodological support. Kriging assumes particular spatial properties that are not demonstrated here, and the manuscript does not report the semivariogram model, cross validation performance, or prediction uncertainty. If the input is a binary household outcome or cluster level proportion derived from displaced DHS points, the assumptions need to be clearly justified.

Authors’ response: Thank you for highlighting this methodological issue. We have revised the Methods section to clarify that ordinary kriging was applied to cluster level proportions of open defecation. We now report the semivariogram model used, cross validation performance, and prediction uncertainty. The assumptions underlying kriging are explicitly justified in relation to the displaced DHS cluster data. These additions strengthen the transparency and validity of the interpolation approach.

Concern#4: The machine learning section needs clearer reporting. The manuscript compares several tree based methods but does not include a simple interpretable baseline such as logistic regression. Without that baseline, it is hard to judge whether using more complex models adds meaningful value. The paper should also report: (1) the full feature set used in each model; (2) the hyperparameter search space; (3) selected tuning parameters; (4) software package versions; (5) decision threshold used for classification; (6) and calibration metrics in addition to discrimination metrics.

Authors’ response: Thank you for this valuable feedback. We have revised the manuscript to include logistic regression as a baseline model, provided the complete feature set, reported the hyperparameter search space and selected tuning parameters, specified the software package versions, and stated the decision threshold used for classification. We did not include calibration metrics because the primary aim of this research was classification rather than probability estimation. As you now that calibration metrics is used for measuring probability. These revisions improve transparency and allow clearer evaluation of the benefit of complex models.

Concern#5: The paper frequently refers to “determinants” and “predictors” as though causal relationships have been established, but the design is cross sectional. The authors should use more cautious language such as “associated factors” or “features associated with classification.” This matters especially in the discussion and conclusion.

Authors’ response: Thank you for this important observation. We have carefully revised the manuscript to replace causal terms such as “determinants” and “predictors” with more cautious phrasing, including “associated factors” and “features associated with classification.” These changes have been applied consistently throughout the text, particularly in the discussion and conclusion, to ensure that the language accurately reflects the cross sectional design and avoids implying causality.

Concern#6: The figures are low resolution and not publication ready. This is especially noticeable for the maps and the machine learning workflow figure on the later pages. Legends, labels, and cartographic design need improvement.

Authors’ response: Thank you for pointing this out. The low resolution was due to the use of TIF format in the initial submission. We have replaced all figures with high resolution versions, improved legends and labels, and refined the cartographic design to ensure that the maps and workflow diagrams are publication ready.

Reviewer #2:

Concern#1: This study represents a significant advancement in addressing Zambia's sanitation crisis. Its primary strength lies in the integration of geospatial analysis with artificial intelligence to analyze highly recent (2024) data from over 12,000 households. The paper successfully bridges a critical research gap by moving beyond general national estimates to identify geographically precise "hotspots" and explain complex behavioral drivers using the advanced LightGBM model. Furthermore, the use of SHAP analysis provides transparency by quantifying the influence of key variables such as wealth, education, and digital access—on predicting health behaviors. However, scientific gap remains regarding qualitative and cultural dimensions, as quantitative data alone cannot fully capture the social norms or traditional beliefs that may drive individuals to practice open defecation despite having access to latrines. Additionally, there is a need for future longitudinal research to link these findings with the impact of climate change on regional sanitation infrastructure.

Authors’ response: We sincerely thank you for your constructive feedback and recognition of the strengths of our study. In response to your comments, we have revised the Discussion and Conclusion sections to explicitly acknowledge the limitations of relying solely on quantitative data and to emphasize the importance of incorporating qualitative and cultural dimensions in future research. We also highlight the need for longitudinal studies to assess how climate change may exacerbate sanitation infrastructure vulnerabilities, thereby linking behavioral insights with environmental resilience. These revisions strengthen the manuscript by addressing the gaps you identified and providing a clearer roadmap for future work.

Attachment

Submitted filename: Response to Reviewers.docx

pone.0350923.s001.docx (20.9KB, docx)

Decision Letter 1

Muammar Qadafi

20 May 2026

Geospatial variation and machine learning approaches to predict open defecation practice in Zambia

PONE-D-26-11222R1

Dear Dr. Birlie,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Muammar Qadafi

Academic Editor

PLOS One

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

**********

Acceptance letter

Muammar Qadafi

PONE-D-26-11222R1

PLOS One

Dear Dr. Birlie,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS One. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Muammar Qadafi

Academic Editor

PLOS One

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Attachment

    Submitted filename: Response to Reviewers.docx

    pone.0350923.s001.docx (20.9KB, docx)

    Data Availability Statement

    The data for this study were obtained from the EDHS Program. These datasets are publicly available and can be requested from the DHS website at https://www.dhsprogram.com/data/dataset/Zambia_Standard-DHS_2024.cfm?flag=1.


    Articles from PLOS One are provided here courtesy of PLOS

    RESOURCES