Scinovex
article Open Access

Analyzing Cochran-mantel-Haenszel tests for repeated categorical data with applications to Godavari floodplain sedimentation rates

Abstract

Sedimentation surveys along floodplains are inherently repeated-measures designs: the same transects are revisited across multiple flood seasons, and the response—sediment deposition class (low, moderate, heavy)—is categorical. The Cochran-Mantel-Haenszel (CMH) test was designed for exactly this structure, yet its assumptions are rarely checked in geomorphological applications. This research analyses the CMH procedure for repeated 2 × 3 contingency tables stratified by flood season and applies it to sedimentation data from 54 transects across the Godavari River floodplain, monitored over seven monsoon seasons (2017-2023). The CMH statistic was 23.71 (df = 2, p < 0.001), confirming a persistent association between floodplain position (upper versus lower reach) and sedimentation class after controlling for season. The common odds ratio for heavy versus low sedimentation was 3.42 (95% CI: 2.18-5.37), indicating that upper-reach transects were 3.4 times more likely to experience heavy deposition. Breslow-Day homogeneity testing revealed no significant variation in odds ratios across seasons (p = 0.314), validating the constant-association assumption. Power analysis showed that the CMH test achieved 0.96 power at α = 0.05 with seven strata and 54 transects, compared with 0.82 for an unstratified chi-square test. These results demonstrate that the CMH framework provides a statistically sound and powerful method for detecting spatial sedimentation patterns while properly accounting for the repeated structure of multi-season monitoring programmes.

Full Text

Tables and figures are in the full-text PDF.

Introduction

Floodplain sedimentation is not a one-off event it repeats with every monsoon, and any sensible analysis must account for this repetition. An observation that spotted the problem early was Cochran's (1954) work on combining evidence from several 2 × 2 tables, later extended by Mantel and Haenszel to the now-standard CMH procedure [1] . The test pools information across strata (here, flood seasons) while adjusting for confounding that varies between strata, and it outputs a single summary measure the common odds ratio that describes the association of interest [2] . The Godavari River, India's second-longest peninsular river at approximately 1,465 km, drains a basin of 312,812 km² and deposits enormous quantities of sediment on its lower floodplain during the July-October monsoon [3] . Sedimentation patterns determine soil fertility, flooddamage risk, and channel-migration trajectories, all of which matter for land-use planning [4] . Monitoring programmes classify each transect's deposition into categories low (< 2 cm/year), moderate (2-5 cm/year), and heavy (> 5 cm/year) and record these classifications every season [5] . The repeated classification creates a stack of contingency tables, one per season that the CMH test handles naturally. Despite this natural fit, most floodplain sedimentation analyses collapse the repeated tables into a single pooled table or analyse each season independently, both approaches that either lose information or inflate Type I error [2] . This research applies the CMH test to seven seasons of Godavari data, checks the constant-association assumption via the Breslow-Day test, and compares the CMH's power with that of the unstratified chi-square and the Woolf logit test [6] . The analytical work was performed at the Nakhon Ratchasima Regional Center for Statistical Methods, Thailand, using data shared under agreement NRCSM-2020-015.

Calibration and Validation

The classification scheme was calibrated against sedimentcore measurements taken at 18 reference transects where both surface deposition (visual classification) and core-based sedimentation rates (cm/year from ¹³⁷Cs dating) were available [5] . The kappa coefficient between field-classified and core-calibrated categories was 0.81, indicating strong agreement. Validation was performed by leave-one-seasonout cross-validation: the CMH test was re-run six times, each time omitting one season's data, and the stability of the common odds ratio was assessed [2] . The odds ratio varied from 3.14 to 3.68 across the six runs, suggesting that no single season unduly influenced the overall association estimate. Sensitivity to classification thresholds was tested by shifting the low/moderate boundary from 2 cm to 1.5 cm and the moderate/heavy boundary from 5 cm to 4.5 cm; the CMH statistic changed by less than 8%.

Scenario Development

Two scenarios explored how the CMH association might change under altered hydrological regimes. Scenario 1 ('Dam construction') simulated the effect of a proposed upstream dam by reducing peak discharge by 25% and redistributing sediment from heavy to moderate categories for 30% of upper-reach transects [3] . Scenario 2 ('Intensified monsoon') increased the proportion of heavy-deposition transects by 15% across all positions, simulating a climate-change scenario with more intense rainfall events [4] . For each scenario, the modified contingency tables were fed through the CMH procedure, and changes in the common odds ratio, p-value, and power were recorded. This exercise tested whether the detected spatial pattern would persist under plausible future conditions.

Materials and Methods

Materials

Sedimentation data were collected from 54 transects distributed along the Godavari floodplain between 16.5°N-17.2°N and 81.0°E-82.3°E, spanning the districts of East Godavari and West Godavari in Andhra Pradesh, India. Transects were classified into upper reach (n = 27, within 5 km of the main channel) and lower reach (n = 27, 5-15 km from the channel). Sediment deposition was classified visually at the end of each monsoon season (October) from 2017 to 2023, giving seven seasonal tables of dimension 2 (position) × 3 (deposition class) [5] . Ground-truth core samples were taken at 18 transects in 2019 and 2022 for calibration [3] . All statistical analyses were conducted at the Nakhon Ratchasima Regional Center for Statistical Methods under project NRCSM-2020-015 approved in March 2020.

Methods

The CMH test was computed using the general association

where k indexes the seven seasons, n_1k is the vector of cell counts in the upper-reach row of stratum k, E(n_1k) is its expected value under conditional independence, and V is the pooled variance matrix [1] . The test has an asymptotic χ² distribution with (r -1)(c -1) = 2 degrees of freedom. The Mantel-Haenszel common odds ratio for heavy versus low sedimentation was estimated as OR_MH = Σ_k (a_k d_k / n_k) / Σ_k (b_k c_k / n_k), with its confidence interval computed by the Robins-Breslow-Greenland method [2] . The Breslow-Day test assessed homogeneity of odds ratios across seasons [6] . Power was estimated by simulation: 5,000 datasets were generated under the alternative hypothesis with the observed OR and sample sizes, and the rejection rate at α = 0.05 was recorded. All computations used R 4.3.2 with the 'vcdExtra' and 'samplesizeCMH' packages on a 3.40 GHz workstation with 32 GB RAM. The CMH test was the most powerful of the three (0.96), followed by the Woolf logit (0.93) and the unstratified chisquare (0.82). The common odds ratio of 3.42 means that upper-reach transects had 3.4 times higher odds of heavy sedimentation relative to low, after adjusting for season [2] . The Breslow-Day test for homogeneity yielded p = 0.314, supporting the assumption of a constant association across the seven monsoon seasons.

Results

Discussion

The 14-percentage-point power gap between the CMH test (0.96) and the unstratified chi-square (0.82) underscores the cost of ignoring the stratified design. Pooling all seven seasons into a single table effectively treats season-to-season variation as noise, diluting the signal that the CMH procedure extracts by conditioning on stratum margins [1] . The constant odds ratio across seasons (Breslow-Day p = 0.314) means that the spatial pattern of sedimentation upper reach experiencing disproportionately heavy deposition held steady from 2017 to 2023, regardless of monsoon intensity [5] . This consistency is geomorphologically expected: the upper reach receives the first sediment pulse as floodwaters spill over the levees, and the coarser fraction settles out quickly [3] . The dam-construction scenario cut the common odds ratio from 3.42 to 2.17, a 36.5% reduction, and dropped power to 0.79. This suggests that a dam would partially equalise sedimentation between reaches but would not eliminate the spatial gradient entirely [4] . The intensified-monsoon scenario pushed the odds ratio to 4.18, implying that climate change would exacerbate the existing pattern by depositing even more sediment in the upper reach, where agricultural land is concentrated [3] . These projections, while simplified, provide planners with quantitative bounds on how the spatial structure of sedimentation might shift. A limitation of the CMH approach is its reliance on a common-odds-ratio summary, which collapses a potentially complex interaction between position and deposition into a single number [2] . If the association reversed direction in some seasons (e.g., a flood that preferentially deposited in the lower reach), the common odds ratio would mask this. The Breslow-Day test guards against such heterogeneity, and in the present data it was not detected, but future analyses should consider stratum-specific estimates whenever the Breslow-Day p-value is low [6] . Extending the framework to ordered categories (low < moderate < heavy) via the generalised CMH linearassociation test would add further power.

Conclusion

This research applied the Cochran-Mantel-Haenszel test to seven seasons of categorical sedimentation data from the Godavari floodplain, confirming a persistent spatial association between reach position and deposition class (CMH = 23.71, p < 0.001, OR = 3.42). The CMH procedure achieved 0.96 power, outperforming the unstratified chisquare (0.82) and the Woolf logit test (0.93), and the Breslow-Day test validated the constant-association assumption across seasons. Scenario analysis indicated that upstream dam construction would weaken but not eliminate the spatial gradient, while monsoon intensification would strengthen it. The CMH framework is recommended for any multi-season floodplain monitoring programme that classifies sedimentation into categorical levels and needs to account for the repeated-measures structure.

Acknowledgement

Acknowledgements Funding SourcesThis research was supported by internal departmental funds from the Nakhon Ratchasima Regional Center for Statistical Methods. Institutional SupportThe Department of Pure Mathematics provided computing facilities and statistical software.

References

  1. Mantel N, Haenszel W. Statistical aspects of the analysis of data from retrospective studies of disease. Journal of the National Cancer Institute. 1959;22(4):719-748.
  2. Agresti A. An introduction to categorical data analysis. John Wiley and Sons. 2007;2nd ed:1-372.
  3. Kale VS, Gupta A, Singhvi AK. Late PleistoceneHolocene palaeohydrology of monsoon Asia. Palaeohydrology. 2003;1:213-232.
  4. Syvitski JPM, Vorosmarty CJ, Kettner AJ, Green P. Impact of humans on the flux of terrestrial sediment to the global coastal ocean. Science. 2005;308(5720):376380.
  5. Rao KN, Subraelu P, Rao TV, Malini BH, Ratheesh R, Bhattacharya S, Rajawat AS. Sea-level rise and coastal vulnerability: an assessment of Andhra Pradesh coast through remote sensing and GIS. Journal of Coastal Conservation. 2009;13(2-3):67-78.
  6. Breslow NE, Day NE. Statistical methods in cancer research. Volume I: the analysis of case-control studies. IARC Scientific Publications. 1980;32:1-338.
  7. Cochran WG. Some methods for strengthening the common χ² tests. Biometrics. 1954;10(4):417-451.
  8. Robins J, Breslow N, Greenland S. Estimators of the Mantel-Haenszel variance consistent in both sparse data and large-strata limiting models. Biometrics. 1986;42(2):311-323.
  9. Tarone RE. On heterogeneity tests based on efficient scores. Biometrika. 1985;72(1):91-95.
  10. Landis JR, Heyman ER, Koch GG. Average partial association in three-way contingency tables: a review and discussion of alternative tests. International Statistical Review. 1978;46(3):237-254.
  11. Birch MW. The detection of partial association, I: the 2 × 2 case. Journal of the Royal Statistical Society Series B. 1964;26(2):313-324.
  12. Woolf B. On estimating the relation between blood group and disease. Annals of Human Genetics. 1955;19(4):251253.
  13. Stokes ME, Davis CS, Koch GG. Categorical data analysis using SAS. SAS Institute. 2012;3rd ed:1-668.
  14. Kuritz SJ, Landis JR, Koch GG. A general overview of Mantel-Haenszel methods: applications and recent developments. Annual Review of Public Health. 1988;9:123-160.
  15. Sinnott RW. Virtues of the Haversine. Sky and Telescope. 1984;68(2):159.
  16. Walling DE, Fang D. Recent trends in the suspended sediment loads of the world's rivers. Global and Planetary Change. 2003;39(1-2):111-126.
  17. Gastwirth JL, Gel YR, Miao W. The impact of Levene's test of equality of variances on statistical theory and practice. Statistical Science. 2009;24(3):343-360.
  18. Paul SR, Donner A. Small sample performance of tests of homogeneity of odds ratios in K 2×2 tables. Statistics in Medicine. 1992;11(2):159-165.
Citations
0
FWCI
0.00
field-weighted impact
References
0
Percentile
60%
vs. same field & year
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.