Section 6 Hierarchical Bio-Optical Models (models.R)

6.1 Additive Beer–Lambert Model Formulation

We test ten candidate linear models that estimate specific light-attenuation coefficients (\(\alpha_{\text{NAP}}, \alpha_{\text{DOC}}, \alpha_{\text{Chl }a}\)) via ordinary least squares (OLS) with a fixed pure-water attenuation offset \(k_w = 0.04776\text{ m}^{-1}\) and no intercept:

\[k_d - k_w = \alpha_{\text{NAP},g}\,\text{NAP} + \alpha_{\text{DOC},g}\,\text{DOC} + \alpha_{\text{Chl }a,g}\,\text{Chl }a, \qquad z_{SD} = \frac{1}{k_w + \alpha_{\text{NAP},g}\,\text{NAP} + \alpha_{\text{DOC},g}\,\text{DOC} + \alpha_{\text{Chl }a,g}\,\text{Chl }a}\]

Here \(g\) indexes the stratification group: continental USA (Model 1), water-body type alone (Model 2), EPA Ecoregion Levels I–IV without water-type separation (Models 3, 5, 7, 9), or EPA Ecoregion Levels I–IV crossed with water-body type (Models 4, 6, 8, 10). Every modeled group requires \(> 100\) training matchups.

(a) Explained variance (R²) across Models 1–10, comparing ecoregion-only models (circles) against ecoregion × water-type models (triangles). (b) Distribution of fitted specific attenuation coefficients across the 39 strictly positive Level III ecoregions in Model 7 compared with the continental global fit (Model 1, vertical dashed lines).

Figure 6.1: (a) Explained variance (R²) across Models 1–10, comparing ecoregion-only models (circles) against ecoregion × water-type models (triangles). (b) Distribution of fitted specific attenuation coefficients across the 39 strictly positive Level III ecoregions in Model 7 compared with the continental global fit (Model 1, vertical dashed lines).

6.2 Table 1: Performance of Candidate Bio-Optical Models (Models 1–10)

Every model’s explained variance (\(R^2\)), root-mean-square error (\(\text{RMSE}_{k_d}\)), and common-sample Bayesian Information Criterion (\(\text{BIC}\)) are evaluated across all 276,321 training matchups:

Table 6.1: Table 6.2: Table 1: Summary of the 10 hierarchical general linear models evaluated across all 276,321 training observations.
Level Model By Type? Groups (G) Group Size Median (Min – Max) R² R² (exact) RMSE kd (m⁻¹) Fitted Coefs Strictly Positive Groups ΔBIC vs. Model 1
USA 1 No 1 276,321 0.40 0.404 1.32 3 1 / 1 0
USA 2 Yes 3 63,335 (60,745 – 152,241) 0.43 0.433 1.29 9 3 / 3 -11,746
Level 1 3 No 7 1,362 (262 – 241,729) 0.44 0.441 1.29 21 5 / 7 -14,376
Level 1 4 Yes 16 1,338 (103 – 138,930) 0.48 0.479 1.24 48 13 / 16 -34,114
Level 2 5 No 16 1,988 (119 – 188,958) 0.46 0.464 1.25 48 14 / 16 -30,020
Level 2 6 Yes 31 1,319 (103 – 107,547) 0.49 0.491 1.22 93 26 / 31 -43,919
Level 3 7 No 47 687 (109 – 121,664) 0.50 0.495 1.20 141 38 / 47 -52,184
Level 3 8 Yes 69 581 (108 – 59,352) 0.52 0.520 1.17 207 57 / 69 -64,831
Level 4 9 No 123 342 (102 – 52,138) 0.51 0.511 1.17 369 105 / 123 -62,033
Level 4 10 Yes 162 348 (102 – 36,918) 0.53 0.531 1.15 486 134 / 162 -70,208

Why We Select Model 7 (Level III Ecoregions) for Continental Ternary Analysis

  1. Regional skill and parsimony: Moving from the global model (Model 1, \(R^2 = 0.40\)) to Level III ecoregions (Model 7, 47 groups, \(R^2 = 0.50\)) increases \(R^2\) by 0.09 and lowers BIC by 52,184, while keeping a median group size of \(n = 687\) (109–121,664).
  2. Physical positivity: In Model 7, 38 of 47 Level III ecoregions (98.1% of observations) have positive slopes for all three constituents, with all three significant at \(p < 0.001\) in 26 of them. The remaining ecoregions use the global coefficients. Subdividing further to Level IV (Models 9–10) lowers the median group size to \(n = 342\text{–}348\), well below the \(n \approx 1{,}000\) at which coefficients stabilize (Figure S1), for a gain in \(R^2\) of 0.02 to 0.04.
  3. River–estuary continuity: Separating water types within Level III ecoregions (Model 8 against Model 7) adds 0.03 to \(R^2\) (0.50 to 0.52). Because Model 7 uses one set of regional slopes for streams, lakes, and estuaries, it can be applied along a river-to-estuary network without a step at the boundary between water types (Figure 3).

6.3 Comparison with Published Bio-Optical Benchmarks

In global Model 1 (\(n = 276,321\)), \(\alpha_{\text{DOC}} = 0.0753\text{ m}^2\text{ g}^{-1}\), \(\alpha_{\text{NAP}} = 0.0430\text{ m}^2\text{ g}^{-1}\), and \(\alpha_{\text{Chl }a} = 0.0079\text{ m}^2\ (\text{mg Chl }a)^{-1}\). Averaged over every group in Table S1, \(\alpha_{\text{DOC}} \approx 2.4\,\alpha_{\text{NAP}} \approx 13\,\alpha_{\text{Chl }a}\).

Putting our coefficients and published ones on one scale. Published coefficients \(k_i\) are per unit of diffuse attenuation \(K_d\). Ours, \(\alpha_i\), are per unit of \(1/z_{SD}\). Because \(K_d = a / z_{SD}\) (Section 4.3),

\[k_i = a\,\alpha_i \qquad\text{and so}\qquad a_{\text{implied}} = \frac{k_i}{\alpha_i}\]

For each constituent the table gives the published coefficient, our coefficient, and the conversion factor \(a\) that would make them equal. Published measurements of \(a = K_d \times z_{SD}\) have medians of 0.93 (turbid lakes), 1.86 (clear lakes) and 2.70 (stained lakes), with an overall range of 0.59 to 4.09 (Koenings and Edmundson 1991). If our coefficients agree with the published ones, the implied \(a\) should fall in that range.

Table 6.3: Table 6.4: Fitted coefficients (per unit of 1/z_SD) and published coefficients (per unit of K_d), with the conversion factor a = K_d x z_SD that each pair implies.
Constituent Our coefficient Published coefficient Implied a = published / ours Source
Chl a (m² mg⁻¹) 0.0079 (Model 1, all waters) 0.016 2.0 Bannister (1974), p. 6; mean of four estimates, 0.013–0.020 (p. 10)
Chl a (m² mg⁻¹) 0.0079 (Model 1, all waters) 0.014 1.8 Atlas and Bannister (1980), p. 157; 0.014 ± 0.002 at the surface, 0.005–0.021 overall
Chl a (m² mg⁻¹) 0.0099 (Model 2, estuaries) 0.0154 1.5 Gallegos (2001), Table 5; estuary coefficient, mean of 0.012–0.019
NAP (m² g⁻¹) 0.0430 (Model 1, all waters) 0.0625 1.5 Gohin et al. (2005), Eq. 21; non-living suspended matter
NAP (m² g⁻¹) 0.0311 (Model 2, estuaries) 0.0806 2.6 Gallegos (2001), Table 5; total suspended solids, estuary, mean of 0.074–0.095
DOC (m² g⁻¹) 0.0600 (Model 2, lakes) 0.22 3.7 Morris et al. (1995), Table 3; 63 lakes
DOC (m² g⁻¹) 0.0656 (Model 2, estuaries) 0.0471 0.7 Gallegos (2001), Table 5; estuary, mean of 0.037–0.051

Every pair implies a conversion factor between 0.7 and 3.7, inside the published range of 0.59 to 4.09. For Chl a and non-algal particles the implied factor is 1.5 to 2.6, close to the published medians for clear and stained lakes. For DOC the implied factor sits near the two ends of the published range: high in lakes and low in estuaries. Theory predicts that direction, because coloured dissolved matter absorbs light without scattering it (large \(a\)). Most of the gap, however, comes from the nearly five-fold difference between the two published DOC coefficients, while our own lake and estuary coefficients differ by about 9%. DOC is therefore the constituent for which agreement with published values is weakest. Overall, our coefficients are consistent with the published ones once the difference between attenuation and Secchi depth is accounted for; they are not the same numbers, and should not be expected to be.

6.4 Table S1: Fitted Coefficients, Standard Errors, and Significance

All ten models’ group sample sizes (\(n\)), specific attenuation coefficients, standard errors, and two-sided \(t\)-test \(p\)-values are exported to figs/tables/tableS1_coefficients_aquamatch.csv. Below are Models 1, 2, and the 39 strictly positive Level III ecoregion groups of Model 7:

Model Ecoregion Water Type n α_NAP (m²/g) α_DOC (m²/g) α_Chl a (m²/mg) p (NAP) p (DOC) p (Chl a)
1 USA All 276,321 0.0430 0.0753 0.0079 < 1e-16 < 1e-16 < 1e-16
2 USA Estuary 63,335 0.0311 0.0656 0.0099 < 1e-16 < 1e-16 < 1e-16
2 USA Lake 60,745 0.0456 0.0600 0.0076 < 1e-16 < 1e-16 < 1e-16
2 USA Stream 152,241 0.0482 0.0806 0.0097 < 1e-16 < 1e-16 < 1e-16
7 10.1.2 All 109 0.0041 0.0595 0.0067 7.3e-06 < 1e-16 5.5e-10
7 10.1.6 All 122 0.0752 0.0410 0.0558 < 1e-16 0.0012 4.5e-07
7 10.1.8 All 207 0.0053 0.1082 0.0115 2.6e-11 < 1e-16 2.4e-09
7 10.2.4 All 326 0.0756 0.2349 0.0102 < 1e-16 4.4e-05 0.31642
7 15.4.1 All 9,423 0.0855 0.0535 0.0047 < 1e-16 < 1e-16 2.3e-08
7 5.2.1 All 1,181 0.0560 0.0289 0.0081 < 1e-16 < 1e-16 5.6e-10
7 6.2.10 All 150 0.1157 0.0093 0.0007 < 1e-16 0.4274 0.88697
7 6.2.13 All 799 0.0469 0.0640 0.0068 < 1e-16 < 1e-16 < 1e-16
7 8.1.1 All 787 0.1095 0.0373 0.0026 < 1e-16 < 1e-16 0.02529
7 8.1.4 All 393 0.0317 0.0445 0.0099 < 1e-16 < 1e-16 < 1e-16
7 8.1.7 All 1,318 0.0077 0.0955 0.0070 < 1e-16 < 1e-16 < 1e-16
7 8.2.1 All 687 0.0259 0.0820 0.0100 < 1e-16 < 1e-16 < 1e-16
7 8.3.1 All 1,738 0.0284 0.0779 0.0033 < 1e-16 < 1e-16 0.00369
7 8.3.2 All 588 0.1018 0.0759 0.0092 < 1e-16 < 1e-16 < 1e-16
7 8.3.3 All 2,466 0.0524 0.0817 0.0215 < 1e-16 < 1e-16 < 1e-16
7 8.3.4 All 3,014 0.0227 0.1297 0.0160 < 1e-16 < 1e-16 < 1e-16
7 8.3.5 All 34,273 0.0471 0.1344 0.0086 < 1e-16 < 1e-16 < 1e-16
7 8.3.6 All 506 0.0510 0.0971 0.0185 < 1e-16 2.5e-15 4.7e-09
7 8.4.1 All 506 0.0341 0.0886 0.0214 < 1e-16 < 1e-16 < 1e-16
7 8.4.2 All 209 0.0969 0.0439 0.0421 < 1e-16 0.0030 3.2e-08
7 8.4.4 All 395 0.0319 0.1470 0.0160 1.1e-12 < 1e-16 1.1e-13
7 8.4.5 All 1,305 0.0937 0.0640 0.0135 < 1e-16 < 1e-16 < 1e-16
7 8.4.8 All 259 0.1119 0.0750 0.0047 < 1e-16 < 1e-16 0.00133
7 8.4.9 All 591 0.0419 0.0694 0.0118 < 1e-16 < 1e-16 < 1e-16
7 8.5.1 All 63,909 0.0346 0.1944 0.0047 < 1e-16 < 1e-16 < 1e-16
7 8.5.2 All 1,256 0.0222 0.1103 0.0181 < 1e-16 < 1e-16 < 1e-16
7 8.5.3 All 121,664 0.0236 0.0770 0.0070 < 1e-16 < 1e-16 < 1e-16
7 8.5.4 All 2,153 0.0205 0.1320 0.0067 < 1e-16 < 1e-16 2.3e-09
7 9.2.1 All 274 0.0980 0.0211 0.0027 < 1e-16 0.0044 0.03161
7 9.2.3 All 6,101 0.0319 0.0552 0.0130 < 1e-16 < 1e-16 < 1e-16
7 9.2.4 All 3,168 0.0680 0.0859 0.0069 < 1e-16 < 1e-16 < 1e-16
7 9.3.1 All 211 0.0667 0.0601 0.0063 < 1e-16 8.4e-10 0.00013
7 9.3.3 All 1,121 0.0401 0.0689 0.0273 < 1e-16 < 1e-16 < 1e-16
7 9.4.1 All 200 0.0699 0.0670 0.0048 < 1e-16 0.0010 0.00926
7 9.4.3 All 578 0.0538 0.1849 0.0010 < 1e-16 < 1e-16 0.76197
7 9.4.5 All 1,560 0.0422 0.2191 0.0145 < 1e-16 < 1e-16 5.5e-08
7 9.4.7 All 1,131 0.0276 0.2538 0.0017 < 1e-16 < 1e-16 0.42037
7 9.5.1 All 5,582 0.0440 0.2550 0.0013 < 1e-16 < 1e-16 0.20719

In the remaining 8 Level III ecoregions of Model 7, one unconstrained OLS slope estimate is slightly negative (\(p \ge 0.10\)) due to narrow local concentration ranges; during continental ternary projection (Section 8), those ecoregions automatically fall back to global Model 1 coefficients so all attenuation fractions remain strictly positive:

Table 6.5: Table 6.6: The 8 Level III ecoregions in Model 7 where an unconstrained slope estimate is non-positive (all p >= 0.10) and falls back to global Model 1 during ternary application.
Level III Ecoregion n α_NAP p (NAP) α_DOC p (DOC) α_Chl a p (Chl a)
6.2.14 114 0.0631 0 0.0535 0 -0.0034 0.5825
7.1.8 127 0.0303 0 0.1218 0 -0.0065 0.3221
7.1.9 152 0.0652 0 0.0942 0 -0.0032 0.0826
8.3.7 2,501 0.0269 0 0.2050 0 -0.0011 0.4308
8.3.8 918 0.0367 0 0.1783 0 -0.0018 0.4993
9.4.2 889 0.0536 0 0.2079 0 -0.0004 0.8640
9.4.4 145 0.0484 0 0.1393 0 -0.0049 0.0996
9.4.6 276 0.0726 0 0.1733 0 -0.0026 0.5074
9.6.1 119 0.0443 0 0.2444 0 -0.0097 0.1823