Dissolved methane, water quality and dissolved organic matter data from four Chinese lake regions and new Bayesian network analysis code

Published: 9 October 2026| Version 1 | DOI: 10.17632/dy584r998r.1
Contributor:
Hecheng Xu

Description

This dataset contains the July surface-water observations used in the manuscript analyses and an upgraded version of our original Bayesian network analysis code. The analysis-ready workbook covers 88 lakes in four Chinese lake regions: Eastern (49), Yunnan–Guizhou (15), Mongolia–Xinjiang (13), and Northeast (11). It includes dissolved methane concentrations (μmol/L), water-quality parameters, and fluorescence intensities of five dissolved organic matter components (C1–C5; a.u.). The data are provided alongside the code to support reproduction of the reported random forest (RF), Bayesian network (BN), conditional probability table (CPT), and partial dependence plot (PDP) analyses. The upgraded workflow extends the original RF-informed Bayesian network framework by improving statistical implementation, robustness assessment, and portability. VIF screening is performed once per region, and RF rankings are assessed using unique 80% subsamples: 500 for Eastern, 455 for Yunnan–Guizhou, 286 for Mongolia–Xinjiang, and 55 for Northeast. All possible subsets are evaluated when fewer than 500 exist. RF/PDP models use ln(1 + MCH4), where MCH4 is the unlogged dimensionless concentration ratio. The two highest-ranked water-quality variables and the highest-ranked DOM component in the full-sample RF are fixed as CH4 parents; remaining edges are learned using standard BDeu scoring over the complete parent-state space, without adding edges solely to force connectivity. BN bootstrap replication is increased from 40 to 500 at each equivalent sample size (ESS = 1, 5, 10, and 15), using paired resamples across ESS settings. Non-fixed learned-edge stability is evaluated with a frequency threshold strictly greater than 0.40. Outputs include all-node CPTs, CH4 configuration-specific observation counts and 95% Bayesian credible intervals, and PDP median curves with pointwise 2.5–97.5% empirical envelopes from refitted 80% subsamples. The English-language Python 3.9 package automatically processes every workbook sheet and includes shared data-loading functions, fixed random seeds, pinned dependencies, and a README. Full production runs for all four regions have been checked against the manuscript analysis results.

Files

Steps to reproduce

The Excel workbook (data.xlsx) and all three Python scripts (bn_analysis.py, rf_pdp_analysis.py, and lake_data.py) must be placed in the same folder before running the analyses. Detailed analytical procedures are described in the accompanying manuscript.

Categories

Environmental Engineering

Licence