Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 Prediction of SDG 6. 2 Achievement in Indonesia Using Double Exponential Smoothing Nazwa Nabila. Adhitia Erfina. Cecep Warman. Information Systems. Faculty of Computer Engineering and Design . , . , . Nusa Putra University Sukabumi. Jawa Barat. Indonesia nabila_si21@nusaputra. , adhitia. erfina@nusaputra. , cecep. warman@nusaputra. AbstrakAi This research aims to forecast IndonesiaAos progress in achieving Sustainable Development Goal (SDG) 6. 2, which targets 100% access to adequate sanitation and elimination of open defecation (OD) by 2030. The Double Exponential Smoothing (DES) method was used on provincial time series data from 2013Ae 2024 . and 2020Ae2024 (OD), with performance evaluated using Mean Absolute Percentage Error (MAPE). Results showed consistently high forecasting accuracy, with DKI Jakarta . 99%). South Sulawesi . 87%), and DI Yogyakarta . 21%) among the most accurate for sanitation, and Maluku . 79%). Papua . 03%), and Gorontalo . 49%) for OD. Spearman correlation analysis revealed a strong national negative correlation . = Ae0. 991, p < 0. between sanitation access and OD. However, provinces like DKI Jakarta ( 0. and DI Yogyakarta ( 0. showed positive anomalies, indicating behavioral gaps despite infrastructure growth. These findings clearly highlight the importance of integrating behavioral interventions and localized strategies to effectively accelerate progress toward SDG 6. KeywordsAi Sanitation Access. Open Defecation. Double Exponential Smoothing. Spearman Correlation. SDGs 6. 2 Indonesia INTRODUCTION Access to good sanitation is a key indicator in achieving Sustainable Development Goal (SDG) 6. 2 in Indonesia. The SDGs serve as a global framework aimed at achieving sustainable development by 2030, emphasizing inclusive economic growth, social equity, environmental protection, and accountable governance to enhance quality of life across generations. Among the 17 goals. SDG 6 is central, focusing on ensuring universal access to clean water and sanitation. Specifically. Target 6. 2 aims to provide equitable sanitation and hygiene for all and to eliminate open defecation by 2030. In Indonesia, progress toward Target 6. 2 remains uneven, especially among vulnerable groups such as low-income populations, individuals with disabilities, and those living in remote areas. Sanitation access is essential for public health. It involves infrastructure and services that ensure the hygienic management of human waste, including wastewater, to maintain a disease-free environment. According to Statistics Indonesia . , 83. 60% of households have access to adequate sanitation, while 16. 40% still lack proper facilities. The World Health Organization (WHO) defines environmental sanitation as the control of environmental factors that may negatively affect human health. Poor sanitation is closely linked to the spread of waterborne diseases such as cholera, typhoid, hepatitis A, and diarrhea. The practice of open defecation poses serious health risks and remains widespread in Indonesia. Globally, inadequate sanitation contributes to an estimated 2. 4 million deaths annually, or about 4. 2% of all deaths. A lack of awareness regarding proper sanitation is a key contributing factor, as individuals unaware of the health risks are more likely to engage in open defecation. According to the World Bank . , around 100 million Indonesians still lack access to proper sanitation, and 60 million continue to defecate in open areas such as fields and rivers. To address this, the Indonesian Ministry of Health issued Regulation No. 3 of 2014, mandating household access to safe sanitation, with implementation supported by local However, prior research shows that Open Defecation Free (ODF) status has not been uniformly achieved, revealing persistent gaps in environmental sanitation. Alarmingly, an estimated 150,000 children die each year in Indonesia from preventable diseases like diarrhea. Moreover, national access to safely managed sanitation declined from 64% to 7. 25% in 2022. These statistics highlight not only the urgency of sanitation improvement efforts but also the need for data-driven and region-specific strategies. Public engagement is thus critical in resolving these issues. Communities must understand the health risks of open defecation, the benefits of safe sanitation, and actively participate in sanitation improvement programs. Proper sanitation not only reflects household hygiene but also serves as a key indicator of national health status. A household is considered to have adequate sanitation if it uses a private, hygienic toilet with safe waste management. When combined with sound environmental practices, sanitation can significantly reduce disease risk. This research aims to project IndonesiaAos progress toward SDG Target 6. 2 using the Double Exponential Smoothing (DES) method, a forecasting technique well-suited for time series data without seasonal patterns. Forecasting, in this context, refers to a quantitative approach used to predict future events based on relevant and interrelated data . This method p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 is essential to support strategic decision-making, particularly in the formulation of effective policies to ensure the achievement of established development goals . Given that Target 6. emphasizes improving sanitation access and eliminating open defecation, accurate projections are vital to assess the likelihood of its fulfillment by 2030. Research Flow What makes this research unique is its dual approach: it not only forecasts future trends but also examines the strength and consistency of the relationship between sanitation access and open defecation behavior across provinces. This offers a more comprehensive perspective that goes beyond simple descriptive Given that Target 6. 2 emphasizes improving sanitation access and eliminating open defecation, accurate projections are vital to assess the likelihood of its fulfillment by This research offers a novel contribution by combining DES forecasting with Spearman correlation analysis to examine the relationship between sanitation access and open defecation behavior across Indonesian provinces. Unlike prior studies that relied on descriptive or cross-sectional analysis, this study adopts a predictive and spatial approach, offering evidencebased insights for identifying regional disparities and assessing the likelihood of SDG 6. 2 achievement by 2030. II. METHODOLOGY This reserach adopts a quantitative approach to analyze development indicator trends based on numerical data. This approach enables the researcher to measure changes over time, make interregional comparisons, and generate forecasts regarding the attainment of sustainable development goals. Fig. 2 Research flow The DES method is applied through a structured process, as shown in Figure 1. Data Collection and Preparation Data used in this study were obtained from Central data used in this study were obtained from the Central Statistics Agency (BPS) portalhttps://w. id/id, consisting of publicly available datasets from annual national reports. The types of data and their annual coverage are as follows: Fig. 1 Percentage of Households Still Practicing Open Defecation A Percentage of households with access to proper sanitation . eriod: 2013Ae2. A Percentage of households still practicing open defecation . eriod: 2020Ae2. Double Exponential Smoothing (DES) method is employed due to its ability to model linear trends in time series data without seasonal patterns. DES is suitable for modeling development indicators that exhibit gradual increases or decreases over time. Additionally, the method is adaptive, making it appropriate for handling data from multiple provinces with varying Fig. 3 Percentage of Households with Access to Proper Sanitation Data covers all provinces in Indonesia, as can be seen in Figure 2 and Figure 3. Data Pre-Processing Before modeling is carried out, the data that has been obtained is processed first. Pre-processing steps include: Data Availability Check This step ensures that each province has complete data for the entire time period. p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 Missing Value Check and Handling Provinces that have missing values (NaN) on the analyzed indicators are removed from the dataset. This is done to maintain the validity of the forecasting results and avoid distortion due to imputation of values that do not represent the actual conditions. Provinces with incomplete data can be seen in Figure 4. Fig. 7 Detecting outliers in open defecation percentage data Fig. 4 Removed empty data Outlier Detection and Handling After removing missing values (NaN) from several provinces, the next step was to identify extreme values . in the sanitation access and open defecation (OD) These values were found in some provinces and could affect the accuracy of the analysis due to irregular fluctuations. This process is shown in Figure 5 for sanitation data and Figure 6 for OD data. Fig. 8 Results of handling open defecation data outliers Data Transformation Data is transformation into a uniform format, such as converting a date column to a time type. The goal is to ensure that the data is ready to be processed by the forecasting algorithm consistently. Fig. 5 Results of handling sanitation data outliers Data Splitting To maintain validity and generalizability, the dataset was split into training . %) and testing . %) subsets per province, preserving time series continuity. This approach supports region-specific modeling by capturing local temporal patterns. As shown in Table I and II, the split was applied consistently across all provinces to ensure methodological consistency. TABLE I. DISTRIBUTION PROVINCE (SANITATION ACCESS) Best () Best () MAPE Maluku Papua DI Yogyakarta Gorontalo Jawa Tengah Province Fig. 6 Detecting outliers in sanitation access percentage data To address this, adjustments were made using log transformation and winsorizing. These methods help reduce the influence of extreme values so that the data becomes more stable and easier to analyze. The adjustments were applied only to provinces with irregular values, without changing the data from other regions. The final results can be seen in Figure 7 and p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 DISTRIBUTION PROVINCE (OPEN DEFECATION) TABLE II. Lots of data Data Training Data Testing Aceh Province Bali Banten Bengkulu DI Yogyakarta DES Modelling and Evaluation DES is used in this study to model and forecast trends in sanitation access and open defecation (OD) indicators at the provincial level. This method works with two main parameters . for level smoothing and . for trend smoothing that are individually adjusted for each province. This approach allows the model to capture local dynamics more accurately through modeling that is carried out separately per region. The level smoothing equation at time t is defined as follows: TABLE IV. 5 PROVINCES WITH THE LOWEST MAPE (BABS) Best () Best () MAPE DKI Jakarta Sulawesi Selatan DI Yogyakarta Jawa Barat Sumatera Utara Province Prediction until 2030 Predictions are made until 2030 to see the direction of development of the sanitation access and open defecation (OD) indicators, based on forecasting results with an accuracy level measured using MAPE in each province. This projection provides an overview of how close each province is to the target of the Sustainable Development Goals (SDG. , namely 100% of households have access to proper sanitation and 0% open defecation practices in 2030. A Level (L. : the current smoothed value A Trend (T. : the estimated rate of change over time Forecasting is done using the following formula: ycUyc Ea = yayc Ea Oo ycNyc Explanation: ycUyc Ea: forecast value for Ea next period yayc: level value at time-t ycNyc: trend value at time t Ea: the number of periods into the future to be forecasted yu, yu: smoothing parameters . < value < . The optimal combination of and is determined through a grid search process that minimizes the evaluation matrix using the Mean Absolute Percentage Error (MAPE) on the test data for each province. This ensures that each model is tailored to the specific trend patterns in each region. Fig. 9 Number of sanitation data achievement categories As shown in Figure 9, seven provinces are projected to achieve 100% access to adequate sanitation by 2030. addition, there are 25 other provinces that have shown significant progress and are approaching the target, while two provinces still require special attention and intervention to catch The forecasting results for the 5 best performing provinces . ased on the lowest MAPE) are presented in Tables i and IV, covering indicators of sanitation access and OD practices. TABLE i. Province 5 PROVINCES WITH THE LOWEST MAPE (SANITATION) Lots of data Data Training Data Testing Aceh Bali Banten Bengkulu DI Yogyakarta Fig. 10 Number of categories of achievement of open defecation data Figure 10 shows the projection of Open Defecation (OD) elimination by 2030. The forecast estimates that 27 provinces will fully achieve the 0% target. Eleven provinces are expected to be close to the target, while one province still faces major challenges and requires more intensive efforts to meet national p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 and SDG targets. DISCUSSION AND RESULT Correlation analysis between indicators was conducted to evaluate the extent to which increasing sanitation access can contribute to reducing open defecation practices in various regions to understand whether increasing sanitation access is related to reducing open defecation behavior, as well as to identify areas that require more attention in achieving national sanitation targets and SDGs. To understand the relationship between sanitation access and Open Defecation (BABS) behavior, the analysis begins with visual exploration using scatterplots and pairplots. This approach aims to identify initial patterns of relationships between the two indicators at the provincial level, as well as detect general trends and anomalies that can enrich interpretation in the next stage of correlation analysis. Fig. 12 Pairplot of Sanitation Percentage vs OD Percentage Initial Exploration Scatterplot Fig. 11 Scatterplot of Sanitation Percentage vs OD Percentage Figure 12 shows that as sanitation access increases, open defecation (OD) rates tend to decrease, supporting a clear negative relationship between the two indicators. Most provinces are concentrated within the range of 80100% sanitation access and less than 10% OD, reflecting notable national progress. This pattern reinforces the view that improved sanitation infrastructure is strongly associated with healthier behavior and better public health outcomes. Additionally, the pairplot highlights some outlier provinces where relatively high sanitation access still coexists with notable OD rates, suggesting the need for complementary noninfrastructure interventions. Results shown in Figure 11 through a scatter diagram show several important patterns regarding the relationship between sanitation access and open defecation (OD) behavior across provinces in Indonesia: A A negative correlation is visually apparent: provinces with higher sanitation access tend to have lower OD A Most provinces are clustered in the range of 75100% sanitation access with less than 10% OD, indicating general progress in sanitation development. A A few outliers exist, particularly provinces with sanitation access below 60% and OD above 20%, suggesting regional disparities that require targeted intervention. A No provinces show both high sanitation coverage and high OD prevalence, reinforcing the inverse relationship between the two indicators. A This pattern supports the hypothesis of a monotonic association, which justifies the application of SpearmanAos rank correlation in the next analysis stage, as it is suitable for assessing non-linear yet consistently ordered Statistical Correlation Analysis . National Spearman Correlation The correlation matrix is used to identify statistically significant linear and non-linear relationship patterns. understand the relationship between access to proper sanitation and the prevalence of open defecation (OD) at the national level, a Spearman correlation analysis was conducted on annual aggregate data. Quantitative analysis produced a Spearman correlation coefficient value of -0. 991 with a significance level of p < 0. 001, indicating a very strong and statistically significant negative relationship between the two variables. This indicates that increasing access to adequate sanitation facilities nationally tends to be associated with a decrease in open-defeat practices. National Heatmap Province Pairrplot p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 decreasing OD during the observation period. Fig. 14 Visualization of Consistent Patterns between Sanitation and OD Fig. 13 National Heatmap Province Figure 13 shows the Spearman correlation between access to improved sanitation and open defecation rates across provinces in Indonesia. Most show a strong negative correlation (Oe0. 9 to Oe1. , indicating that increased access to sanitation is associated with lower prevalence of open defecation. However, anomalies such as DKI Jakarta . and DI Yogyakarta . and Riau Islands . show positive correlations. The observed anomalies suggest that the availability of infrastructure does not always lead to changes in community behavior. Such conditions highlight the importance of implementing a more comprehensive strategy one that not only prioritizes physical development but also combines behavioral interventions, community education, and increased accessibility for vulnerable populations. These findings offer a valuable foundation for formulating policies that are more responsive to local contexts, especially in areas where gaps in sanitation access and practices persist. Such context-sensitive approaches are expected to accelerate progress towards achieving 100% access to improved sanitation and the elimination of open defecation, in line with the goals set out in the sustainable development agenda. Based on the visualization in Figure 14, it can be seen that the level of conformity of the relationship pattern between increasing sanitation access and decreasing the prevalence of OD in various provinces in Indonesia varies greatly. Most provinces show a level of consistency above 80%, indicating a tendency for a stable relationship between the two indicators during the observation period. This shows that in many areas, improvements in sanitation infrastructure tend to be followed by changes in community behavior towards the better, which supports efforts to eliminate open defecation practices In contrast, provinces like DI Yogyakarta and DKI Jakarta show the lowest consistency levels. This is surprising, especially for DKI Jakarta, which usually has better sanitation The positive correlation suggests that higher access to sanitation doesn't always reduce open defecation. This may be due to factors like urban mobility, socio-economic gaps, or uneven outreach programs. It highlights the need for more holistic policies that combine infrastructure with education and community-based efforts. However, it is important to understand that these findings are influenced by a number of limitations that need to be considered. Differences in the quality and completeness of data between provinces can have a direct impact on the accuracy of measuring consistency patterns. If the available data does not reflect the actual conditions, the results of the analysis can provide a picture that is not entirely accurate. In addition, the analysis used in this study is descriptive and has not considered other contextual factors, such as socioeconomic conditions, population density, or the effectiveness of intervention programs at the local level. The absence of these variables limits the ability of the analysis to fully explain the causes of differences in patterns between regions. Data Visualization To gain a more comprehensive understanding of the relationship between sanitation access and the prevalence of open defecation (OD) at the provincial level. Figure 15 displays a visualization of the level of consistency of the relationship between the two indicators. This consistency shows how often the direction of changes in sanitation access is in line with changes in the number of BABS from year to The higher the consistency value, the more aligned the pattern of the relationship between increasing sanitation and These limitations indicate that the results obtained are still indicative and need to be developed further. Further research needs to combine a more comprehensive approach by considering local social, cultural, and economic factors. This will strengthen the understanding of the relationship between sanitation infrastructure development and changes in community behavior, and provide a stronger basis for formulating contextual and sustainable policies. p-ISSN 2301-7988, e-ISSN 2581-0588 DOI : 10. 32736/sisfokom. 2411 Copyright A2025 Submitted : June 4, 2025. Revised : June 11, 2025. Accepted : June 16, 2025. Published : July 28, 2025 Jurnal SISFOKOM (Sistem Informasi dan Kompute. Volume 14. Nomor 03. PP 415-421 IV. This study aimed to understand the extent to which increasing access to improved sanitation contributes to reducing open defecation (OD) practices across provinces in Indonesia. In support of achieving Sustainable Development Goal (SDG) 2 by 2030. Using Double Exponential Smoothing (DES), time series modeling and forecasting were applied to data on sanitation access . 3Ae2. and OD prevalence . 0Ae The forecasting models demonstrated high accuracy, with low MAPE values in most provinces. For sanitation access, the best performing provinces were DKI Jakarta . 99%). South Sulawesi . 87%). DI Yogyakarta . 21%), West Java . 26%), and North Sumatra . 66%). For OD prevalence, the top-performing provinces were Maluku . 79%). Papua . 03%). DI Yogyakarta . 99%). Gorontalo . 49%), and Central Java . 18%). Correlation analysis using the Spearman coefficient shows a very strong negative relationship between the two indicators, with a value of -0. < 0. This shows that increasing access to sanitation in general tends to be followed by a decrease in the practice of OD. However, there are important anomalies found in several provinces. Yogyakarta, for example, shows a positive correlation of 0. DKI Jakarta by 0. and the Riau Islands by 0. This finding indicates that although quantitatively sanitation infrastructure has increased, it is not necessarily accompanied by changes in behavior evenly at the community level. This can be caused by social, economic factors, and limitations in educational and participatory approaches. Based on these results, the main recommendation of this study is the need for more holistic and local context-based In areas with unusual correlations, such as DKI Jakarta and DI Yogyakarta, strategies to increase access to sanitation need to be complemented with education on clean and healthy living behavior (PHBS), massive public campaign programs, and local community involvement in sanitation program design. On the other hand, provinces such as Papua and Maluku which show high prediction accuracy but still have low levels of sanitation and BABS elimination achievement, require logistical support, funding, and local wisdom-based approaches to accelerate development acceleration. Overall, this study has successfully demonstrated the close relationship between infrastructure and behavior in the context of sanitation development. These findings provide a strong basis for formulating policies and intervention strategies that are sharper, more targeted, and sensitive to regional conditions. With the right approach, it is hoped that all provinces can approach or achieve the target of 100% access to proper sanitation and 0% open defecation by 2030 as stated in the national SDGs agenda. REFERENCES