Channel Width 2021b

Draft: 2021-12-09 12:24:55

The suggested citation for this analytic appendix is:

Thorley, J.L., Norris, S. & Irvine A. (2021) Channel Width 2021b. A Poisson Consulting Analysis Appendix. URL: https://www.poissonconsulting.ca/f/859859031.

Background

The primary goal of the current analyses is to answer the following question:

How is stream channel width influenced by watershed area and precipitation for watersheds with an area of less than 100 km2?

Data Preparation

The data were provided by Hillcrest Geographics and New Graph Environment in the form an csv file and prepared for analysis using R version 4.1.2 (R Core Team 2020). The FWA data were excluded as the channel widths were truncated below approximately 10 m.

Key assumptions of the data preparation included:

  • Data points with a channel width of 0 m, a channel width \(\geq\) 9999 m, a watershed area < 0.1 ha, a gradient < 0.01% or > 50% are unreliable and were excluded.

Statistical Analysis

Model parameters were estimated using Bayesian methods. The estimates were produced using JAGS (Plummer 2003) and STAN (Carpenter et al. 2017). For additional information on Bayesian estimation the reader is referred to McElreath (2016).

Unless stated otherwise, the Bayesian analyses used weakly informative normal and half-normal prior distributions (Gelman, Simpson, and Betancourt 2017). The posterior distributions were estimated from 1500 Markov Chain Monte Carlo (MCMC) samples thinned from the second halves of 3 chains (Kery and Schaub 2011, 38–40). Model convergence was confirmed by ensuring that the potential scale reduction factor \(\hat{R} \leq 1.05\) (Kery and Schaub 2011, 40) and the effective sample size (Brooks et al. 2011) \(\textrm{ESS} \geq 150\) for each of the monitored parameters (Kery and Schaub 2011, 61).

The parameters are summarised in terms of the point estimate, lower and upper 95% credible limits (CLs) and 95% prediction limits (PLs) and the surprisal s-value (Greenland 2019). The estimate is the median (50th percentile) of the MCMC samples while the 95% CLs are the 2.5th and 97.5th percentiles. The 95% PLs are the 2.5th and 97.5th percentiles of individual channel widths based on the residual variation. The s-value can be considered a test of directionality. More specifically it indicates how surprising (in bits) it would be to discover that the true value of the parameter is in the opposite direction to the estimate. An s-value of 4.3 bits, which is equivalent to a p-value (Kery and Schaub 2011; Greenland and Poole 2013) of 0.05, indicates that the surprise would be equivalent to throwing 4.3 heads in a row. The condition that non-essential explanatory variables have s-values \(\geq\) 4.3 bits provides a useful model selection heuristic (Kery and Schaub 2011).

Model adequacy was assessed via posterior predictive checks (Kery and Schaub 2011). More specifically, the number of zeros and the first four central moments (mean, variance, skewness and kurtosis) for the deviance residuals were compared to the expected values by simulating new residuals. In this context the s-value indicates how surprising each metric is given the estimated posterior probability distribution for the residual variation.

Where computationally practical, the sensitivity of the parameters to the choice of prior distributions was evaluated by increasing the standard deviations of all normal, half-normal and log-normal priors by an order of magnitude and then using \(\hat{R}\) to test whether the samples where drawn from the same posterior distribution (Thorley and Andrusak 2017).

The results are displayed graphically by plotting the modeled relationships between particular variables and the response(s) with the remaining variables held constant. In general, continuous and discrete fixed variables are held constant at their mean and first level values, respectively, while random variables are held constant at their typical values (expected values of the underlying hyperdistributions) (Kery and Schaub 2011, 77–82). When informative the influence of particular variables is expressed in terms of the effect size (i.e., percent or n-fold change in the response variable) with 95% credible intervals (CIs, Bradford, Korman, and Higgins 2005).

The analyses were implemented using R version 4.1.2 (R Core Team 2020) and the mbr family of packages.

Model Descriptions

Channel Width

Following Finnegan et al. (2005) the data were analysed using a power model of the form.

\[W = \alpha Q^{b}\]

where \(Q\) is the discharge which was calculated as the product of the watershed area and upstream mean annual precipitation.

Preliminary analyses included gradient as a predictor but the estimated power term was positive which is inconsistent with the expected negative relationship (Finnegan et al. 2005).

Model Templates

Channel Width

.data {
  int nObs;

  real width[nObs];
  real area[nObs];
  real precipitation[nObs];
parameters {
  real b0;
  real bDischarge;

  real<lower=0> sWidth;
model {
  vector[nObs] eWidth;

  b0 ~ normal(0, 1);
  bDischarge ~ normal(0.375,  0.125);

  sWidth ~ normal(0, 1);

  for (i in 1:nObs) {
    eWidth[i] = exp(b0 + bDischarge * (log(area[i]) + log(precipitation[i])));
    width[i] ~ lognormal(log(eWidth[i]), sWidth);
  }

Block 1. Model description.

Results

Tables

Channel Width

Table 1. Parameter descriptions.

Parameter Description
area[i] The upstream watershed area for the ith width (km2)
b0 Intercept for log(eWidth)
bArea Effect of log(area) on b0
bPrecipitation Effect of log(precipitation) on b0
eWidth[i] Expected value of width[i]
precipitation[i] The mean annual precipitation for the ith width (m)
sWidth SD of residual variation in width
width[i] The ith stream channel width (m)

Table 2. Model coefficients.

term estimate lower upper svalue
b0 0.3071300 0.2937961 0.3203352 10.55171
bDischarge 0.4577882 0.4522743 0.4637560 10.55171
sWidth 0.7345959 0.7281611 0.7410649 10.55171

Table 3. Model convergence.

n K nchains niters nthin ess rhat converged
24849 3 3 500 1 672 1 TRUE

Table 4. Model posterior predictive checks.

moment observed median lower upper svalue
zeros NA NA NA NA NA
mean 0.0000603 0.0002567 -0.0124405 0.0121182 0.0488765
variance 0.9999688 1.0004022 0.9828986 1.0191473 0.0548545
skewness 0.2073147 -0.0009763 -0.0288548 0.0295887 10.5517083
kurtosis 3.2213573 -0.0007229 -0.0603918 0.0606802 10.5517083

Table 5. Model sensitivity.

n K nchains niters rhat_1 rhat_2 rhat_all converged
24849 3 3 500 1 1.006 1.003 TRUE

Figures

Data

figures/plot/area.png

Figure 1. Channel width by watershed area by data source.

Channel Width

figures/width/area.png

Figure 2. The predicted channel width by upstream water shed area on a log scale (with 80% PIs as dashed lines).

figures/width/precipitation.png

Figure 3. The predicted channel width by precipitation on a log scale (with 80% PIs as dashed lines).

Acknowledgements

The organisations and individuals whose contributions have made this analytic appendix possible include:

  • MFLRNO

References

Bradford, Michael J, Josh Korman, and Paul S Higgins. 2005. “Using Confidence Intervals to Estimate the Response of Salmon Populations (Oncorhynchus Spp.) To Experimental Habitat Alterations.” Canadian Journal of Fisheries and Aquatic Sciences 62 (12): 2716–26. https://doi.org/10.1139/f05-179.
Brooks, Steve, Andrew Gelman, Galin L. Jones, and Xiao-Li Meng, eds. 2011. Handbook for Markov Chain Monte Carlo. Boca Raton: Taylor & Francis.
Carpenter, Bob, Andrew Gelman, Matthew D. Hoffman, Daniel Lee, Ben Goodrich, Michael Betancourt, Marcus Brubaker, Jiqiang Guo, Peter Li, and Allen Riddell. 2017. Stan : A Probabilistic Programming Language.” Journal of Statistical Software 76 (1). https://doi.org/10.18637/jss.v076.i01.
Finnegan, Noah J., Gerard Roe, David R. Montgomery, and Bernard Hallet. 2005. “Controls on the Channel Width of Rivers: Implications for Modeling Fluvial Incision of Bedrock.” Geology 33 (3): 229. https://doi.org/10.1130/G21171.1.
Gelman, Andrew, Daniel Simpson, and Michael Betancourt. 2017. “The Prior Can Often Only Be Understood in the Context of the Likelihood.” Entropy 19 (10): 555. https://doi.org/10.3390/e19100555.
Greenland, Sander. 2019. “Valid p -Values Behave Exactly as They Should: Some Misleading Criticisms of p -Values and Their Resolution With s -Values.” The American Statistician 73 (sup1): 106–14. https://doi.org/10.1080/00031305.2018.1529625.
Greenland, Sander, and Charles Poole. 2013. “Living with p Values: Resurrecting a Bayesian Perspective on Frequentist Statistics.” Epidemiology 24 (1): 62–68. https://doi.org/10.1097/EDE.0b013e3182785741.
Kery, Marc, and Michael Schaub. 2011. Bayesian Population Analysis Using WinBUGS : A Hierarchical Perspective. Boston: Academic Press. http://www.vogelwarte.ch/bpa.html.
McElreath, Richard. 2016. Statistical Rethinking: A Bayesian Course with Examples in R and Stan. Chapman & Hall/CRC Texts in Statistical Science Series 122. Boca Raton: CRC Press/Taylor & Francis Group.
Plummer, Martyn. 2003. JAGS: A Program for Analysis of Bayesian Graphical Models Using Gibbs Sampling.” In Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), edited by Kurt Hornik, Friedrich Leisch, and Achim Zeileis. Vienna, Austria.
R Core Team. 2020. “R: A Language and Environment for Statistical Computing.” Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.
Thorley, Joseph L., and Greg F. Andrusak. 2017. “The Fishing and Natural Mortality of Large, Piscivorous Bull Trout and Rainbow Trout in Kootenay Lake, British Columbia (2008–2013).” PeerJ 5 (January): e2874. https://doi.org/10.7717/peerj.2874.