<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">HESS</journal-id><journal-title-group>
    <journal-title>Hydrology and Earth System Sciences</journal-title>
    <abbrev-journal-title abbrev-type="publisher">HESS</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Hydrol. Earth Syst. Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1607-7938</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/hess-24-5539-2020</article-id><title-group><article-title>Technical note: Calculation scripts for ensemble <?xmltex \hack{\break}?>hydrograph separation</article-title><alt-title>Technical note: Calculation scripts for ensemble hydrograph separation</alt-title>
      </title-group><?xmltex \runningtitle{Technical note: Calculation scripts for ensemble hydrograph separation}?><?xmltex \runningauthor{J.~W. Kirchner and J.~L.~A. Knapp}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2 aff3">
          <name><surname>Kirchner</surname><given-names>James W.</given-names></name>
          <email>kirchner@ethz.ch</email>
        <ext-link>https://orcid.org/0000-0001-6577-3619</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Knapp</surname><given-names>Julia L. A.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-0885-7829</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Environmental Systems Science, ETH Zurich, Zurich,
Switzerland</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Swiss Federal Research Institute WSL, Birmensdorf, Switzerland</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Department of Earth and Planetary Science, University of California,
Berkeley, California, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">James W. Kirchner (kirchner@ethz.ch)</corresp></author-notes><pub-date><day>24</day><month>November</month><year>2020</year></pub-date>
      
      <volume>24</volume>
      <issue>11</issue>
      <fpage>5539</fpage><lpage>5558</lpage>
      <history>
        <date date-type="received"><day>29</day><month>June</month><year>2020</year></date>
           <date date-type="rev-request"><day>29</day><month>July</month><year>2020</year></date>
           <date date-type="rev-recd"><day>12</day><month>October</month><year>2020</year></date>
           <date date-type="accepted"><day>14</day><month>October</month><year>2020</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2020 James W. Kirchner</copyright-statement>
        <copyright-year>2020</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020.html">This article is available from https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020.html</self-uri><self-uri xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020.pdf">The full text article is available as a PDF file from https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e104">Ensemble hydrograph separation has recently been proposed
as a technique for using passive tracers to estimate catchment transit time
distributions and new water fractions, introducing a powerful new tool for
quantifying catchment behavior. However, the technical details of the
necessary calculations may not be straightforward for many users to
implement. We have therefore developed scripts that perform these
calculations on two widely used platforms (MATLAB and R), to make these
methods more accessible to the community. These scripts implement robust
estimation techniques by default, making their results highly resistant to
outliers. Here we briefly describe how these scripts work and offer advice
on their use. We illustrate their potential and limitations using synthetic
benchmark data.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      <?xmltex \hack{\allowdisplaybreaks}?>
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e118">What fraction of streamflow is composed of recent precipitation? Conversely,
what fraction of precipitation becomes streamflow promptly? What is the age
distribution of streamwater? What is the “life expectancy” of precipitation
as it enters a catchment? And how do all of these quantities vary with
catchment wetness, precipitation intensity, and landscape characteristics?
Questions like these are fundamental to understanding the hydrological
functioning of landscapes and characterizing catchment behavior. Ensemble
hydrograph separation (EHS) has recently been proposed as a new tool for
quantifying catchment transit times, using time series of passive tracers
like stable water isotopes or chloride. Benchmark tests using synthetic data
have shown that this method should yield quantitatively accurate answers to
the questions posed above (Kirchner, 2019), and initial
applications to real-world data sets  (e.g., Knapp et
al., 2019) have demonstrated the potential of this technique.</p>
      <p id="d1e121">However, it has become clear over the past year that the equations of
Kirchner (2019, hereafter denoted K2019) may be difficult for many
users to implement in practically workable calculation procedures or
computer codes. It has also become clear that robust estimation methods
would be a valuable addition to the ensemble hydrograph separation toolkit,
given the likelihood of outliers in typical environmental data sets. The
present contribution is intended to fill both of these needs, by presenting
user-friendly scripts that perform EHS calculations in either MATLAB or R
and that implement robust estimation by default.</p>
      <p id="d1e124">Here we demonstrate these scripts using synthetic data generated by the
benchmark model of K2019, which in turn was adapted from the benchmark model
of Kirchner (2016). We use these benchmark data instead of
real-world observations, because age-tracking in the model tells us what the
correct answers are, so that we can verify how accurately these EHS scripts
infer water ages from the synthetic tracer time series. The benchmark model
consists of two nonlinear boxes coupled in series, with a fraction of the
discharge from the upper box being routed directly to streamflow, and the
rest being routed to the lower box, which in turn discharges to streamflow
(for further details, see Kirchner, 2016, and K2019). It should be
emphasized that the benchmark model and the ensemble hydrograph separation
scripts are completely independent of one another. The benchmark model is
not based on the assumptions that underlie the ensemble<?pagebreak page5540?> hydrograph
separation method. Likewise, the EHS scripts do not know anything about the
internal workings of the benchmark model; they only know the input and
output water fluxes and their isotope signatures. Thus the analyses
presented here are realistic analogues to the real-world problem of trying
to infer the internal functioning of catchments from only their inputs and
outputs of water and tracers.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><label>Figure 1</label><caption><p id="d1e130">Benchmark model daily water fluxes <bold>(a)</bold> and precipitation
and streamflow isotope time series (light and dark blue symbols,
respectively), without outliers <bold>(b)</bold> and with 5 % outliers <bold>(c)</bold>. The axis
frame of the outlier-free data <bold>(b)</bold> corresponds to the dashed lines in
panel <bold>(c)</bold>. Benchmark model parameters are <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 50 mm,
<inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 2000 mm, <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>u</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 10, <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 3, and <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 0.8.
The model is driven by a daily precipitation time series from Plynlimon,
Wales, and a hypothetical precipitation <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mn mathvariant="normal">18</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>O isotope record
with a seasonal sinusoidal amplitude of 1.2 ‰, a normally distributed
random standard deviation of 2.5 ‰, and a serial correlation of 0.5
between successive daily isotope values. A random measurement error with a
standard deviation of 0.1 ‰ was added to all simulated precipitation
and streamflow isotope measurements.</p></caption>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f01.png"/>

      </fig>

      <p id="d1e238">Figure 1a and  b show the simulated daily water fluxes and isotope ratios
used in most of the analyses below. The precipitation fluxes are averages
over the previous day (to mimic the effects of daily time-integrated
precipitation sampling), and the streamflow values are instantaneous values
at the end of each day (to mimic the effects of daily grab sampling). We
also aggregated these daily values to simulate weekly sampling, using weekly
volume-weighted average tracer concentrations in precipitation and weekly
spot values in streamflow (representing grab samples taken at the end of
each week). Five percent of the simulated tracer time series were randomly
deleted to mimic sampling and measurement failures, and a small amount of
random noise was added to mimic measurement errors.</p>
      <p id="d1e241">To illustrate the need for robust estimation techniques, and to demonstrate
the effectiveness of the robust estimation methods employed in our scripts,
we also randomly corrupted the synthetic isotope data with outliers (Fig. 1c). These outliers are intentionally large; for comparison, the entire
range of the outlier-free data shown in Fig. 1b lies between the two dashed
lines in Fig. 1c. The outliers are also strongly biased (they all deviate
downward from the true values), making them harder to detect and eliminate.
We make no claim that the size of these outliers and their frequency in the
data set reflect outlier prevalence and magnitude in the real world (which
would be difficult to estimate in practice, without replicate sampling or
other independent reference data). Instead, these outliers were simply
chosen to be large enough, and frequent enough, that they will substantially
distort the results of non-robust analyses. They thus provide a useful test
for the robust estimation methods described below.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><?xmltex \opttitle{Estimating new water fractions using the function
EHS\_Fnew}?><title>Estimating new water fractions using the function
EHS_Fnew</title>
      <p id="d1e253">The simplest form of ensemble hydrograph separation seeks to estimate the
fraction of streamflow that is composed of recent precipitation.
Conventional hydrograph separation uses end-member mixing to estimate the
time-varying contributions of “event water” and “pre-event water” to
streamflow. By contrast, ensemble hydrograph separation seeks to estimate
the <italic>average</italic> fraction of new water in streamflow, averaged over an <italic>ensemble</italic> of events (hence
the name), based on the regression slope between tracer fluctuations in
precipitation and discharge (see Fig. 2a),
          <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M7" display="block"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the “event new water
fraction” (the average fraction of new water in streamflow during sampling
intervals with precipitation), <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are the tracer concentrations in streamflow at time
steps <inline-formula><mml:math id="M11" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the volume-weighted average
tracer concentration in precipitation that falls between time <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> and time
<inline-formula><mml:math id="M15" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>, and the intercept <inline-formula><mml:math id="M16" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and the error term <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can
be viewed as subsuming any bias or random error introduced by measurement
noise, evapoconcentration effects, and so forth (see Sect. 2 of K2019 for
formulae and derivations).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><label>Figure 2</label><caption><p id="d1e470">Regression relationship (Eq. 1) used to estimate the
event new water fraction <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, using <bold>(a)</bold> the outlier-free benchmark data of Fig. 1a, with different percentile ranges
of discharge shown in contrasting colors, and <bold>(b)</bold> the outlier-corrupted
benchmark data of Fig. 1b, with outlier points shown in black. The axis
frame of the outlier-free plot <bold>(a)</bold> corresponds to the small gray
rectangle in panel <bold>(b)</bold>. In panel <bold>(a)</bold>, five different percentile ranges of
the discharge distribution are shown in contrasting colors. The stronger
coupling between tracer fluctuations in precipitation and streamflow at
higher discharges, as seen in the differently colored points in panel <bold>(a)</bold>,
reflects a larger new water contribution to streamflow. The event new water
fraction <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the average fraction of
streamflow that is composed of precipitation that fell during the current
sampling interval and is calculated from the regression slope between
fluctuations in precipitation and streamflow tracer concentrations
(<inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, each expressed relative to
the previous streamflow sample's tracer concentration (<inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.
Because this reference value appears on both axes of the regression plot,
anomalous streamflow tracer values will appear as positively correlated
outliers. These points, as well as the <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> outliers generated by
anomalous precipitation tracer values, may have substantial leverage on the
fitted regression line, leading to distorted estimates of the regression
slope <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
        <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f02.png"/>

      </fig>

      <p id="d1e609">Although ensemble hydrograph separation is rooted in assumptions that are
similar to end-member mixing, mathematically speaking it is based on
correlations between tracer fluctuations rather than on tracer mass
balances. As a result, it does not require that the end-member signatures
are constant over time or that all the end-members are sampled or even
known, and it is relatively unaffected by evaporative isotopic fractionation
or other biases in the underlying data (see Sect. 3.6 of K2019). Even when
new water fractions are highly variable over time, one can show
mathematically (and confirm with benchmark tests) that ensemble hydrograph
separation will accurately estimate their average (see Sect. 2 and Appendix A of K2019). As Fig. 2a shows, higher discharges (indicating wetter
catchment conditions) may be associated with larger new water fractions and
thus stronger coupling between tracer fluctuations in precipitation and
streamflow. Nonetheless, the regression slope in Fig. 2a averages over these
variations, yielding an event new water fraction (0.164 <inline-formula><mml:math id="M25" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.006) that
equals, within error, the true event new water fraction (0.168 <inline-formula><mml:math id="M26" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.005)
determined by age tracking in the benchmark model.</p>
      <p id="d1e627">The lagged streamflow tracer concentration <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> serves as
a reference level for measuring the fluctuations in the tracer
concentrations <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> in time step
<inline-formula><mml:math id="M30" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>. This has the practical consequence that the sampling interval
determines what “new water” means. For example, if <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">P</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">Q</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are sampled daily, “new water” means water that fell within
the previous day (and thus is expressed in units of d<inline-formula><mml:math id="M33" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), and if
they are sampled weekly, “new water” means water that fell within the
previous week (and thus is expressed in units of week<inline-formula><mml:math id="M34" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). Because
the meanings and dimensions of new water fractions depend on the sampling
interval, so do the numerical values, as illustrated by Knapp et al. (2019). In our example, the weekly event new water fraction,
calculated from weekly sampling of the daily values in Fig. 1, is
0.443 <inline-formula><mml:math id="M35" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.024, which agrees, within error, with the true weekly event
new water fraction (0.429 <inline-formula><mml:math id="M36" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.017). Astute readers will notice that the
weekly new water fraction is not 7 times the daily one, implying that
translating between weekly and daily event new water fractions is not just a
matter of converting the units. This is partly because weeks rarely consist
of seven consecutive daily hydrological events (instead they typically
include some days without rain). Thus the relationship between daily and
weekly new water fractions will depend on the intermittency of precipitation
events.<?pagebreak page5541?> One must also keep in mind that the proportion of new water in
streamflow cannot exceed 1, so new water fractions, even when evaluated from
low-frequency data, cannot be arbitrarily large.</p>
      <p id="d1e748">As explained in Sect. 2 of K2019, there are three main types of new water
fractions. First, as noted above, the event new water fraction
<inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the average fraction of new water
in streamflow during sampling intervals with precipitation. Second, the new
water fraction of discharge <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the
average fraction of new water in streamflow during all sampling intervals,
with or without precipitation; this will obviously be less than the event
new water fraction because periods without precipitation will not contribute
any new water to streamflow. Third, the “forward” new water fraction, or new
water fraction of precipitation <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, is
the average fraction of precipitation that will be discharged to streamflow
within the current sampling interval. Both <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be derived
by re-scaling <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from Eq. (1) by the
appropriate denominators. All three of these new water fractions can also be
volume-weighted (to express, for example, the fraction of new water in an
average liter of streamflow, rather than on an average day of streamflow),
if the regression in Eq. (1) is volume-weighted; these volume-weighted
fractions are denoted using an asterisk, as <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi><mml:mo>*</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi><mml:mo>*</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>,
and <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi><mml:mo>*</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>.</p>
      <?pagebreak page5542?><p id="d1e893">In our scripts, new water fractions are calculated by the function
EHS_Fnew. Users supply  EHS_Fnew with vectors of evenly spaced data for the water fluxes <inline-formula><mml:math id="M46" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M47" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>,
and tracer concentrations <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">P</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">Q</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, in
precipitation and discharge. Users can also specify five options: (a) the
threshold precipitation rate <italic>p_threshold</italic> (in the same units
as <inline-formula><mml:math id="M50" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula>), below which precipitation inputs will be ignored, under the
assumption that they will mostly have been lost to canopy interception, (b) <italic>vol_wtd</italic>, a logical flag (default <inline-formula><mml:math id="M51" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> false) indicating
whether the new water fractions should be volume-weighted, (c) <italic>robust</italic>, a
logical flag (default <inline-formula><mml:math id="M52" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> true) indicating whether the new water fractions
should be calculated using robust estimation methods as described in Sect. 2.1 below, (d) <italic>ser_corr</italic>, a logical flag (default <inline-formula><mml:math id="M53" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> true)
indicating whether the standard error estimates should account for serial
correlation in the residuals, and (e) <italic>ptfilter</italic>, a point filter vector of
logical flags indicating whether individual time steps should be included in
the analysis, thus facilitating easy analyses of subsets of the original
time series. The function  EHS_Fnew returns
estimates of <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/></mml:mrow></mml:math></inline-formula>and <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
their associated standard errors, with or without volume-weighting depending
on whether <italic>vol_wtd</italic> is set to true or false.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Robust estimation of new water fractions</title>
      <p id="d1e1035">The linear regression in Eq. (1), like any least-squares technique, is
potentially vulnerable to outliers. Because potential outliers are often
present in environmental data, practical applications of ensemble hydrograph
separation would benefit from a robust method for estimating new water
fractions. Such a method should not only be insensitive to outliers; ideally
it should also be statistically efficient (i.e., it should yield reasonable
estimates from small samples), and it should be asymptotically unbiased
(i.e., it should converge to the conventional regression results when
outliers are absent, with a bias near zero for large samples).</p>
      <p id="d1e1038">Figure 2 shows ensemble hydrograph separation plots of the outlier-free
benchmark data (Fig. 2a, estimated from the time series shown in Fig. 1b)
and the outlier-corrupted benchmark data (Fig. 2b, estimated from the time
series shown in Fig. 1c). On these axes – precipitation and streamflow
tracer fluctuations on the <inline-formula><mml:math id="M57" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M58" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes, respectively, each expressed
relative to the streamflow tracer concentration in the previous time step –
the regression slope estimates the event new water fraction
<inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Here we are interested in how
outliers affect this regression slope. When outliers are absent (Fig. 2a),
the regression slope (0.164 <inline-formula><mml:math id="M60" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.006, estimate <inline-formula><mml:math id="M61" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> standard error) is
consistent with the true event new water fraction <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> (0.168 <inline-formula><mml:math id="M63" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.005) calculated from water age tracking
in the benchmark model.</p>
      <p id="d1e1109">By contrast, outliers substantially distort the ensemble hydrograph
separation plot in Fig. 2b; they extend well beyond the range of the
outlier-free data indicated by the gray rectangle and inflate the estimate
of <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by nearly a factor of 3.
Outliers in precipitation tracer concentrations will be displaced left or
right from the corresponding true values (in Fig. 2b, these outliers are
displaced to the left because they are all negative). Precipitation outliers
will thus tend to flatten the regression line. Outliers in streamflow
concentrations will appear in two different ways. First, they will be
displaced above or below the corresponding true values (in this case, they
are only displaced below, because they are all negative). Secondly, they
will also appear as strongly correlated deviations on both the <inline-formula><mml:math id="M65" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M66" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>
axes because streamflow concentrations at time <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> are used as
reference values for both precipitation concentrations (on the <inline-formula><mml:math id="M68" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis) and
streamflow concentrations (on the <inline-formula><mml:math id="M69" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis) at time <inline-formula><mml:math id="M70" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>. Unlike
precipitation outliers, these correlated points will tend to artificially
steepen the regression line. Thus, whether outliers steepen or flatten the
regression relationships underlying ensemble hydrograph separation will
depend on the relative abundance and size of the streamflow outliers and
precipitation outliers (relative to each other, and relative to the
variability in the true streamflow and precipitation tracer values). In the
example shown in Fig. 2b, the outliers have the net effect of artificially
steepening the fitted slope, yielding an apparent <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of 0.430 <inline-formula><mml:math id="M72" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.018 that is more than 2.5 times the true
value of 0.168 <inline-formula><mml:math id="M73" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.005 determined by age tracking in the benchmark
model.</p>
      <p id="d1e1204">Many robust estimation methods will not be effective against outliers like
those shown in Fig. 2b, which create points that have great leverage on the
slope of the fitted line. This leverage can allow the outliers to pull the
line close enough to themselves that they will not be readily detected as
outliers. To address this problem, our robust estimation procedure has two
parts. The first step is to identify extreme values of both precipitation
and streamflow tracer concentrations at the outset and exclude them by
setting them to NA (thus treating them as missing values). This will
effectively prevent outliers from exerting strong leverage on the solution.
Because the exclusion criterion must itself be insensitive to outliers, we
define extreme values as those that lie farther from the median than 6
times <inline-formula><mml:math id="M74" display="inline"><mml:mi mathvariant="normal">MAD</mml:mi></mml:math></inline-formula>, the median absolute deviation from the median. The
cutoff value of 6 times <inline-formula><mml:math id="M75" display="inline"><mml:mi mathvariant="normal">MAD</mml:mi></mml:math></inline-formula> was borrowed from the residual
downweighting function used in locally weighted scatterplot smoothing
(LOWESS: Cleveland, 1979). Any exclusion criterion may also
eliminate points that are not outliers but simply extreme values. However,
unless the underlying distribution has very long tails, the
6 <inline-formula><mml:math id="M76" display="inline"><mml:mo>⋅</mml:mo></mml:math></inline-formula> MAD criterion will exclude very few points that are not
outliers. If the underlying data follow a normal distribution, for example,
the chosen criterion will exclude only the outermost 0.005 % of that
distribution.</p>
      <p id="d1e1229">As a second step, we use iteratively reweighted least squares
(IRLS: Holland and Welsch, 1977) to estimate the regression slope
and thus the event new water fraction <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. IRLS iteratively fits Eq. (1) by linear regression, with
point weights that are updated after each iteration. Points with unusually
large residuals are given smaller weight. In this way, IRLS regressions
follow the linear trend in the bulk of the<?pagebreak page5543?> data, giving less weight to
points that deviate substantially from that trend. This behavior, which
allows IRLS to down-weight outliers, can have undesirable effects in
analyses of outlier-free data exhibiting divergent trends. In Fig. 2a, for
example, higher flows have steeper trends, with the highest 20 % of
flows (shown in red) exhibiting a much steeper trend than the rest of the
data. Because IRLS gives these points relatively less weight, the robust
estimate of <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 0.126 <inline-formula><mml:math id="M79" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.004,
25 % less than the true value of 0.168 <inline-formula><mml:math id="M80" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.005 determined from age
tracking in the benchmark model. Thus, in this case, the robust estimation
procedure is somewhat less accurate than ordinary least squares if the data
are free of outliers. Conversely, however, the outliers in Fig. 2b have
little effect on the robust estimation procedure, which returns a
<inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> estimate of 0.115 <inline-formula><mml:math id="M82" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 0.005,
within 10 % of the outlier-free value. This example demonstrates that like
any robust estimation procedure, ours is highly resistant to outliers but at
the cost of reduced accuracy when outliers are absent, particularly in
cases, like Fig. 2a, that superimpose widely differing trends. Robust
estimation is turned on by default, but users can turn it off if they are
confident that their data are free of significant outliers.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><?xmltex \opttitle{Profiling catchment behavior using {{EHS\_ profile}}}?><title>Profiling catchment behavior using EHS_profile</title>
      <p id="d1e1309">Visual comparisons of the different discharge ranges shown by different
colors in Fig. 2a indicate that in these benchmark data, higher discharges
are associated with stronger coupling between tracer concentrations in
precipitation and streamflow, implying that streamflow contains a larger
fraction of recent precipitation. This observation implies that by
estimating <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by regression for each
discharge range separately, one can profile how new water fractions vary
with discharge (and thus with catchment wetness, at least in the benchmark
model system). As outlined in K2019, this can be accomplished by splitting
the original data set into separate ensembles and running
<inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">Fnew</mml:mi></mml:mrow></mml:math></inline-formula> on each ensemble individually.</p>
      <p id="d1e1339">Although this can be achieved by applying a series of point filter vectors
to isolate each ensemble, here we provide a function,
<inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">profile</mml:mi></mml:mrow></mml:math></inline-formula>, that automates this process. Users
supply <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">profile</mml:mi></mml:mrow></mml:math></inline-formula> with the same data vectors and
logical flags needed for  EHS_Fnew as described in
Sect. 2 above, plus a criterion vector for sub-setting the data and two
vectors that define the percentile ranges of this criterion variable to be
included in each subset. Many different variables could be chosen as the
sub-setting criterion; examples include discharge (or antecedent discharge),
precipitation intensity (or antecedent precipitation), day of year, soil
moisture, groundwater levels, fractional snow cover, and so forth.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><label>Figure 3</label><caption><p id="d1e1368">Profiles illustrating how new water fractions of
discharge change with discharge regime, estimated using robust and
non-robust methods (dark and light blue symbols, respectively; error bars
indicate 1 standard error) applied to synthetic benchmark tracer data
without different percentages of outliers. In profiles generated from
outlier-free data <bold>(a)</bold>, many light blue symbols are invisible because they
are directly overprinted by dark blue symbols. The light gray line indicates
the true new water fraction, as calculated from water age tracking in the
benchmark model. The non-robust estimates (light blue symbols) closely
follow the true values (gray line) if the tracer time series are
outlier-free <bold>(a)</bold> but deviate markedly if they are corrupted by outliers <bold>(b–f)</bold>, even if those outliers comprise only a few percent of the data <bold>(b–d)</bold>.
The robust estimates (dark blue symbols) closely follow the true values
(gray line), until the outliers become so frequent that the robust
estimation algorithm is no longer effective against them <bold>(f)</bold>.</p></caption>
        <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f03.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><?xmltex \currentcnt{4}?><label>Figure 4</label><caption><p id="d1e1395">Profiles illustrating how “forward” new water fractions
(new water fractions of precipitation, i.e., fractions of precipitation
leaving as streamflow during the current sampling interval) change with
precipitation regime, estimated using robust and non-robust methods (dark
and light blue symbols, respectively; error bars indicate 1 standard
error) applied to synthetic benchmark tracer data without outliers <bold>(a)</bold> and
with outliers <bold>(b)</bold>. In <bold>(a)</bold>, many light blue symbols are invisible because
they are directly overprinted by dark blue symbols. The light gray line
indicates the true forward new water fraction, as calculated from water age
tracking in the benchmark model. The robust estimates (dark blue symbols)
closely follow this line, whether or not the benchmark data contain
outliers. The non-robust estimates (light blue symbols) closely follow the
gray line if the tracer time series are outlier-free <bold>(a)</bold> but deviate
markedly if the tracer data are corrupted by outliers <bold>(b)</bold>. One off-scale
value is indicated by the light blue arrow.</p></caption>
        <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f04.png"/>

      </fig>

      <p id="d1e1419">Figures 3 and 4 show example profiles created by EHS_profile
from the benchmark model time series, with and without outliers. The gray
lines in Fig. 3 show how new water fractions (the fractions of streamflow
that entered the catchment as precipitation during the same sampling
interval, as determined by age tracking in the benchmark model) vary as a
function of discharge rates. The gray lines in Fig. 4 show the similar age
tracking results for “forward” new water fractions (the fractions of
precipitation that leave as streamflow during the same sampling interval),
as a function of precipitation rates. These age tracking results are
compared to profiles of the new water fraction <inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and “forward” new water fraction <inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> calculated from the tracer time series using
EHS_ profile, with and without robust estimation (dark and
light symbols, respectively, in Figs. 3 and 4). If the tracer time series
contain no outliers (Figs. 3a and 4a), both the robust and non-robust
estimation procedures accurately estimate the new water fractions in each
discharge range (i.e., the light and dark blue points closely follow the
gray line). By contrast, if the tracer time series are corrupted by outliers
(Figs. 3b–f and 4b), the non-robust estimation procedure yields new water
fractions (light blue points) that deviate dramatically from the age
tracking results, even if outliers make up only 1 % of the data set
(Fig. 3b). By contrast, the robust estimation procedure yields new water
fractions (dark blue points) that closely follow the age tracking results
(Figs. 3b–e and 4b), at least as long as the fraction of outliers in the
data set does not exceed 10 %. Somewhere between an outlier frequency
of 10 % and 20 %, the robust estimation procedure reaches its so-called
“breakdown point” (Hampel, 1971), at which it can no longer resist
the outliers' effects (see Fig. 3f). This breakdown point is relatively low
(for comparison, the breakdown point of the median as an estimator of
central tendency is 50 %) because the outliers introduce highly
correlated artifacts into the analysis (see Fig. 2b) and because these
particular outliers are very large and very strongly biased (they always lie
below the true values). The breakdown point could be raised by tailoring the
exclusion criterion (step 1 in our two-step procedure) to these particular
outlier characteristics – for example, by basing it on deviations relative
to the median of the densest 50 % of the data, rather than the median of
all the data, to counteract the bias in the outliers. Doing so, however,
would violate the principle that the scripts and the data used to test them
should be fully independent of one another, as outlined in Sect. 1. In any
case, the empirical breakdown point of 10 %–20 % identified in Fig. 3 is
specific to this particular data set with these particular outlier
characteristics and should not be interpreted as indicating the likely
breakdown point in other situations. In general, however, we would expect
the robust estimation procedure to be more resistant to outliers that are
smaller or less strongly biased.</p>
      <p id="d1e1452">Astute readers will note that the robust estimates of new water fractions
almost exactly match the benchmark age tracking data in the profiles shown
here, whereas they underestimated the same age tracking data by roughly
25 % in Sect. 2.1 above, where the data were not separated into distinct
ranges of discharge or precipitation rates. The difference between these two
cases is illuminating. Individual<?pagebreak page5544?> discharge ranges exhibit well-defined
relationships between tracer fluctuations in precipitation and streamflow;
that is, the individual colored discharge ranges in Fig. 2a show roughly
linear scatterplots with well-constrained slopes. Thus, for these individual
discharge ranges, the robust estimates agree with the benchmark “true”
values (and the non-robust estimates do too, if the underlying data are free
of outliers). However, when these different discharge ranges are
superimposed, the robust estimation procedure down-weights the
high-discharge points because they follow a different trend from the rest of
the data, resulting in an underestimate of the new water fraction averaged
over all discharges. Thus users should be aware that our robust estimation
procedure (like any such procedure) can be confounded by data in which some
points exhibit different behavior than the rest and are therefore excluded
or down-weighted as potential anomalies.</p>
</sec>
<sec id="Ch1.S4">
  <label>4</label><?xmltex \opttitle{Estimating transit time distributions using
{{EHS\_ TTD}}}?><title>Estimating transit time distributions using
EHS_TTD</title>
      <p id="d1e1465">One can estimate catchment transit time distributions (TTDs) from tracer time
series by extending Eq. (1) to a multiple regression over a series of lag
intervals <inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">…</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula>:
          <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M90" display="block"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where the vector of regression coefficients <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be<?pagebreak page5545?> re-scaled to
yield different types of transit time distributions as described in Sects. 4.5–4.7 of K2019. Applying Eq. (2) to catchment data is straightforward in
principle but tricky in practice, because any rainless intervals will lead
to missing precipitation tracer concentrations <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for a
range of time steps <inline-formula><mml:math id="M93" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> and lag intervals <inline-formula><mml:math id="M94" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>. Handling this missing data
problem requires special regression methods, as outlined in Sect. 4.2 of
K2019. Gaps in the underlying data can also lead to ill-conditioning of the
covariance matrix underlying the least-squares solution of Eq. (2), leading
to instability in the regression coefficients <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This
ill-conditioning problem is handled using Tikhonov–Phillips regularization,
which applies a smoothness criterion to the solution in addition to the
least-squares goodness-of-fit criterion, as described in Sect. 4.3 of K2019.</p>
      <p id="d1e1646">The function <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> spares users from the
practical challenges of implementing these methods. Users supply
<inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> with the same data vectors needed for
<inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">Fnew</mml:mi></mml:mrow></mml:math></inline-formula> as described in Sect. 2 above. Users also
specify <inline-formula><mml:math id="M99" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>, the maximum lag in the transit time distribution, and <inline-formula><mml:math id="M100" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula>,
the fractional weight given to the Tikhonov–Phillips regularization
criterion (versus the goodness-of-fit criterion) in determining the
regression coefficients <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The default value of <inline-formula><mml:math id="M102" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula> is 0.5,
following Sect. 4.3 of K2019, which gives the regularization and
goodness-of-fit criteria roughly equal weight; if <inline-formula><mml:math id="M103" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula> is set to zero, the
regularization criterion is ignored and the estimation procedure becomes
equivalent to ordinary least squares. Users can set the optional point
filter <italic>Qfilter</italic> to filter the data set by discharge time steps (for
example, to track the ages of discharge leaving the catchment during high or
low flows, regardless of the conditions that prevailed when the rain fell
that ultimately became those streamflows). Alternatively, users can set the
optional point filter <italic>Pfilter</italic> to filter the data set by precipitation time
steps (for example, to track the life expectancy of rainwater that falls
during large or small storms, regardless of the conditions that will prevail
when that rainwater ultimately becomes discharge). It is also possible to
set both <italic>Pfilter</italic> and <italic>Qfilter</italic> so that both the precipitation and
discharge time steps are filtered, but this capability should be used
cautiously because it could potentially lead to TTDs being estimated on only
a small, and highly fragmented, part of the data set.</p>
      <p id="d1e1738">The function <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> returns vectors for the
transit time distribution <inline-formula><mml:math id="M105" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTD (the age distribution of streamflow
leaving the catchment), the “forward” transit time distribution <inline-formula><mml:math id="M106" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTD
(the “life expectancy” distribution of precipitation entering the
catchment), and their associated standard errors. If the <italic>vol_wtd</italic> flag is true, the corresponding volume-weighted distributions
(<inline-formula><mml:math id="M107" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTD<inline-formula><mml:math id="M108" display="inline"><mml:msup><mml:mi/><mml:mo>*</mml:mo></mml:msup></mml:math></inline-formula> and <inline-formula><mml:math id="M109" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTD<inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mo>*</mml:mo></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and their standard errors are
returned. In all cases, the units are fractions of discharge or
precipitation per sampling interval (e.g., d<inline-formula><mml:math id="M111" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> for daily sampling
or week<inline-formula><mml:math id="M112" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> for weekly sampling). This difference in units should be
kept in mind when comparing results obtained for different sampling
intervals.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Robust estimation of transit time distributions</title>
      <?pagebreak page5546?><p id="d1e1846">In <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula>, robust estimation of transit time
distributions follows a multi-step approach that is analogous to that which
is used in  EHS_Fnew (described in Sect. 2.1
above). We first exclude extreme values of both precipitation and streamflow
tracer concentrations using the  6 <inline-formula><mml:math id="M114" display="inline"><mml:mo>⋅</mml:mo></mml:math></inline-formula> MAD criterion. We then
apply iteratively reweighted least squares (IRLS) to Eq. (2), without
regularization; this yields a set of robustness weights, which down-weight
points that lie far away from the multidimensional linear trend of the data.
These robustness weights are then applied within the Tikhonov–Phillips
regularized regression that estimates the transit time distribution. This
robust estimation approach requires that we handle the missing data problem
in a different way than the one that was documented in Sect. 4.3 of K2019.
The necessary modifications are detailed in Appendix A.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><label>Figure 5</label><caption><p id="d1e1870">Transit time distributions of discharge (<inline-formula><mml:math id="M115" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTDs;
panels <bold>a</bold> and <bold>b</bold>) and forward new water fractions of precipitation
(<inline-formula><mml:math id="M116" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTDs; panels <bold>c</bold> and <bold>d</bold>), as estimated by ensemble hydrograph separation
from synthetic benchmark tracer time series without outliers <bold>(a, c)</bold> and with
outliers <bold>(b, d)</bold>. Symbols show results obtained with and without robust
estimation (dark and light symbols, respectively); error bars indicate 1
standard error. In <bold>(a)</bold> and <bold>(c)</bold>, many light blue symbols are obscured because
they are overprinted by dark blue symbols. Light gray curves indicate the
true TTDs, as calculated from water age tracking in the benchmark model.
When the tracer data are free of outliers <bold>(a, c)</bold>, estimates obtained from
robust and non-robust methods are almost equally good, both typically lying
within 1 standard error of the true TTDs (gray curves). However, when the
input data are corrupted by extreme outliers <bold>(b, d)</bold>, estimates from the
non-robust method (light symbols) deviate substantially from the true TTDs,
whereas estimates from the robust method (dark symbols) still follow the
gray curve nearly as well as they did with the outlier-free data.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f05.png"/>

        </fig>

      <p id="d1e1929">This robust estimation procedure yields transit time distributions that are
highly resistant to outliers (Fig. 5). The gray lines in Fig. 5 show the
true transit time distributions of discharge (<inline-formula><mml:math id="M117" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTD) and “forward”
transit time distributions of precipitation (<inline-formula><mml:math id="M118" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTD), as determined by
age tracking in the benchmark model. These age tracking results are compared
to transit time distributions calculated from the tracer time series using
<inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula>, with and without robust estimation (dark
and light symbols, respectively, in Fig. 5). When the tracer time series are
outlier-free (Fig. 5a and  c), both the robust and non-robust estimation
procedures accurately estimate these TTDs (i.e., the light and dark blue
points closely follow the gray lines). When the tracer time series are
corrupted by outliers (Fig. 5b and  d), the non-robust TTDs (light blue
points) deviate substantially from the age tracking results (gray lines),
but the robust TTDs (dark blue points) follow the gray lines nearly as well
as with the outlier-free data.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Overestimation of uncertainties in humped transit time distributions</title>
      <p id="d1e1970">The benchmark tests shown in Figs. 2–5 above, like most of those presented
in K2019, are based on a benchmark model simulation that yields “L-shaped”
TTDs, that is, those in which the peak occurs at the shortest lag. In this
section we explore several phenomena associated with the analysis of
distributions that are “humped”, that is, those that peak at an intermediate
lag. Where tracer data are sufficient to constrain the shapes of
catchment-scale TTDs, they suggest that humped distributions are rare
(Godsey et al., 2010). They are also not
expected on theoretical grounds, since precipitation falling close to the
channel should reach it quickly and with little dispersion, leading to TTDs
that peak at very short lags  (Kirchner et al., 2001; Kirchner
and Neal, 2013). Nonetheless, humped distributions could potentially arise
in particular catchment geometries  (Kirchner et al., 2001) or in
circumstances where tracers are introduced far from the channel but not
close to it. Thus we have re-run the benchmark model with parameters that
generate humped TTDs (<inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 50 mm, <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 50 mm, <inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>u</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 5, <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 2, and <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 0.01), driven by the same time series of
precipitation rates and rainfall <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mn mathvariant="normal">18</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>O values used in Sects. 2–4.1 above.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><?xmltex \currentcnt{6}?><label>Figure 6</label><caption><p id="d1e2059">Humped transit time distributions (<inline-formula><mml:math id="M126" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTDs) and
forward transit time distributions (transit time distributions of
precipitation, <inline-formula><mml:math id="M127" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTDs), as estimated by ensemble hydrograph separation
from synthetic benchmark tracer time series. Symbols show ensemble
hydrograph separation results obtained with and without robust estimation
(dark and light symbols, respectively); error bars indicate 1 standard
error. Many light blue symbols are obscured because they are overprinted by
dark blue symbols. The light gray lines indicate the true TTD, as calculated
from water age tracking in the benchmark model. The TTDs calculated from the
synthetic tracer time series follow these gray lines, but the error bars
indicate that the standard errors are overestimated by large factors.
Benchmark model parameters are <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 50 mm, <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ref</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 50 mm,
<inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>u</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 5, <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 2, and <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 0.01. The model is driven by the
same time series of precipitation rates and <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mn mathvariant="normal">18</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>O values shown
in Fig. 1 and used in Figs. 2–5.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f06.png"/>

        </fig>

      <p id="d1e2170">Figure 6 shows both forward and backward humped transit time distributions,
as estimated by EHS_TTD from the benchmark model daily tracer
time series, with their standard errors. (Here, as in the other analyses
presented in this note, <italic>ser_corr</italic> <inline-formula><mml:math id="M134" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> true, so the standard
errors account for serial correlation in the residuals.) It is visually
obvious that the error bars, which represent a range of  <inline-formula><mml:math id="M135" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula>1 standard
error, are much larger than either the differences in the TTD estimates
themselves (the solid dots) between adjacent lags or the typical deviations
of the TTD estimates from the true values determined from age tracking (the
gray lines). In other words, the error bars greatly exaggerate the
uncertainty or unreliability of the TTD estimates. If the TTD estimates are
unbiased, and their standard error estimates are too, then the standard
error should approximate the root-mean-square deviation between the estimate
and the benchmark. If the errors are roughly normally distributed, the true
value should lie within the error bars about 65 %–70 % of the time and
outside the error bars about 30 %–35 % of the time. By contrast, the
error bars in Fig. 6 are many times larger than the typical deviation of the
TTD estimates from the true values. Figure 5 shows a milder form of this
exaggeration of uncertainty; here too, the age tracking values almost never
lie outside the error bars, whereas that should occur about one-third of the time
if the error bars are estimated accurately.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><?xmltex \currentcnt{7}?><label>Figure 7</label><caption><p id="d1e2193">Comparison of observed and fitted streamflow tracer time
series (gray dots and dark blue line, respectively, shown relative to their
lagged reference values as in the left hand side of Eq. 2) and fitting
residuals (dark blue dots), for the nonstationary benchmark model with a
humped time-averaged TTD <bold>(a)</bold>, for the same model with the same parameters,
but with constant precipitation rates and therefore a stationary humped TTD <bold>(b)</bold>, and for the same model based on weekly rather than daily sampling <bold>(c)</bold>.
The observed and fitted tracer time series are shown relative to the
reference tracer concentration (the streamflow concentration beyond the
longest TTD lag; see K2019for details). In <bold>(a)</bold>, the multiple
regression fit to the streamflow tracers generally exhibits the correct
behavior, but with minor errors in amplitude and timing, resulting in
residuals that exhibit strong serial correlation (lag<inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M138" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.96) and thus greatly exaggerated standard errors of the regression
coefficients that define the TTD. By contrast, under a stationary benchmark
model <bold>(b)</bold>, achieved by holding the precipitation rate constant at its
average value, the multiple regression fit to the streamflow tracers yields
much smaller residuals (note the difference in scale) with little serial
correlation (lag<inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 0.23). Weekly samples from the
nonstationary benchmark model <bold>(c)</bold> yield residuals with much less serial
correlation (lag<inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 0.66) than daily samples <bold>(a)</bold>,
resulting in less exaggerated standard errors of the regression coefficients
(compare Figs. 6 and 8).</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f07.png"/>

        </fig>

      <?pagebreak page5547?><p id="d1e2299">Thus it appears that the TTD error estimates are generally conservative
(i.e., they overestimate the true error), but with humped distributions the
uncertainties are greatly exaggerated. Numerical experiments (Fig. 7) reveal
that this problem arises from the nonstationarity of the transit times in
the benchmark model (and, one may presume, in real-world catchment data as
well). K2019 (Sect. 4 and Appendix B) showed that ensemble hydrograph
separation correctly estimates the average of the benchmark model's
nonstationary (i.e., time-varying) TTD, as one can also see in Figs. 6 and
8. When this (stationary) average TTD is used to predict streamflow tracer
concentrations (which is necessary to estimate the error variance and thus
the standard errors), however, it generates nearly the correct patterns of
values but not with exactly the right amplitudes or at exactly the right
times (see Fig. 7a). This is the natural consequence of estimating a
nonstationary process with a stationary (i.e., time-invariant) statistical
model. As a result, the residuals are larger, with much stronger serial
correlations, than they would be if the underlying process were stationary
(compare Fig. 7a and b), resulting in much larger calculated standard
errors of the TTD coefficients. These tendencies are even stronger for
humped TTDs, which introduce stronger serial correlations in the multiple
regression fits that are used to estimate the TTD itself. Serial
correlations in the residuals reduce the effective number of degrees of
freedom by a factor of approximately
(<inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M144" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula>(1<inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
the lag<inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> serial correlation coefficient of the residuals, thus
increasing the standard error by roughly a factor of
[(<inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>)<inline-formula><mml:math id="M149" display="inline"><mml:mo>/</mml:mo></mml:math></inline-formula>(<inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>]<inline-formula><mml:math id="M151" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">0.5</mml:mn></mml:msup></mml:math></inline-formula>. For the
nonstationary case shown in Fig. 7a, <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 0.96 (thus
increasing the standard error by a factor of roughly 7), whereas for the
stationary case shown in Fig. 7b, <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 0.22 (thus increasing
the standard error by only a factor of 1.25).</p>
      <p id="d1e2432">Since the exaggerated standard errors in Fig. 6 arise primarily from the
nonstationarity in the benchmark model's transit times, one might
intuitively suspect that this problem could be at least partly resolved by
dividing the time series into separate subsets (representing, for example,
wet conditions with shorter transit times and dry conditions with longer
transit times) and then estimating TTDs for each subset separately using
the methods described in Sect. 4.4 below. Benchmark tests of this approach
were unsuccessful, however. This approach might theoretically work, if the
“wet” and “dry” states persisted for long enough that tracers would both
enter and leave the catchment while it was either “wet” or “dry”. Under more
realistic conditions, however, many different precipitation events and many
changes in catchment conditions will be overprinted on each other between
the time that tracers enter in precipitation and leave in streamflow, making
this approach infeasible.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><?xmltex \currentcnt{8}?><label>Figure 8</label><caption><p id="d1e2437">Transit time distributions (<inline-formula><mml:math id="M154" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTDs) and forward
transit time distributions (transit time distributions of precipitation,
<inline-formula><mml:math id="M155" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTDs), as estimated by ensemble hydrograph separation from synthetic
weekly benchmark tracer time series. Symbols show ensemble hydrograph
separation results obtained with and without robust estimation (dark and
light symbols, respectively); error bars indicate 1 standard error. Many
light blue symbols are obscured because they are overprinted by dark blue
symbols. The light gray lines indicate the true TTDs, as calculated from
water age tracking in the benchmark model. The tracer data used here are the
same as in Fig. 6 but aggregated to simulate weekly instead of daily
sampling. The standard errors are not as overestimated as those in Fig. 6,
because weekly sampling results in weaker serial correlation in the
residuals of the regressions that estimate the TTD (see Fig. 7).</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f08.png"/>

        </fig>

      <p id="d1e2464">A somewhat counterintuitive approach that shows more promise is to use
lower-frequency tracer data to estimate humped TTDs. Figure 8 shows that if
the same TTDs as those shown in Fig. 6 are estimated from weekly data rather
than daily data, the standard errors more accurately approximate the
mismatch between the TTD estimates and the true values (i.e., the difference
between the blue dots and the gray curves). Weekly sampling yields much more
reasonable standard errors in this case, because the multiple regression
residuals are much less serially correlated (see Fig. 7c; <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
is 0.66, increasing the standard error by only a factor of 2.2). In
addition, with daily data the TTD coefficients are estimated for a closely
spaced mesh of lag times (with lag intervals of 1 d), and broad TTDs like
the ones shown in Fig. 6 do not change much over such short lag intervals.
Thus the individual TTD coefficients on such a closely spaced mesh are not
well constrained; one could make the TTD stronger at the fifth daily lag and
weaker at the sixth daily lag, for example, with little effect on the
overall fit to the data. With weekly sampling, the TTD coefficients are more
widely separated in time (with lag intervals of 1 week) and thus are less
redundant with one another.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><?xmltex \currentcnt{9}?><label>Figure 9</label><caption><p id="d1e2481">Profiles of new water fractions (<inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, panel <bold>a</bold>) and forward new water fractions
(<inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, panel <bold>b</bold>), estimated using robust and
non-robust methods (dark and light blue symbols, respectively; error bars
indicate 1 standard error) applied to daily tracer time series, generated
by the benchmark model using parameters that generate a humped distribution
(see Fig. 6). Some light blue symbols are invisible where they are
overprinted by dark blue symbols. The light gray lines show the true new
water fractions, as calculated from water age tracking in the benchmark
model. These new water fractions are overestimated by both robust and
non-robust methods.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f09.png"/>

        </fig>

</sec>
<?pagebreak page5548?><sec id="Ch1.S4.SS3">
  <label>4.3</label><?xmltex \opttitle{Overestimation of $F_{{new}}$ when distributions are humped}?><title>Overestimation of <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mi>e</mml:mi><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> when distributions are humped</title>
      <?pagebreak page5549?><p id="d1e2551">Figure 9 shows profiles of new water fractions (<inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and forward new water fractions (<inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), analogous to those shown in Figs. 3–4, but based on
model simulations yielding the humped distributions shown in Fig. 6. One can
immediately see that the new water fractions are substantially
overestimated and that this bias is particularly large for forward new
water fractions associated with low rainfall rates (i.e., the left side of
Fig. 9b). These artifacts arise because the random fluctuations in input
tracer concentrations used in the benchmark model have a serial correlation
of 0.5 between successive daily values. Thus the correlations between input
and output tracer fluctuations at lag zero (and thus the new water
fractions) are artificially inflated by leakage from the stronger
correlations at longer lags, where the TTD is much stronger. Numerical
experiments show that the bias in the new water fractions disappears when
the short-lag serial correlation in the input tracers is removed, supporting
this hypothesis for how the bias arises. Nonetheless, real-world
precipitation tracer concentrations are often serially correlated
(particularly in high-frequency measurements), so researchers should be
aware of the bias that could potentially arise in new water fractions if
transit time distributions are humped.</p>
      <p id="d1e2584"><?xmltex \hack{\newpage}?>In principle the distortions arising from the correlations in the
precipitation tracer data could potentially be alleviated by calculating
TTDs for individual precipitation and discharge ranges using the methods
outlined in Sect. 4.4 below and then estimating <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the
lag-zero coefficients of <inline-formula><mml:math id="M164" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTD and <inline-formula><mml:math id="M165" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup></mml:math></inline-formula>TTD, respectively. Benchmark
tests of this approach were not successful, however, possibly because the
transit time distributions cannot be estimated reliably when the source data
are split among so many narrow ranges of precipitation or discharge.
(Indeed, in many cases users may seek to estimate new water fractions
precisely because they lack sufficient data to reliably estimate transit
time distributions.)</p>
      <p id="d1e2636">Instead, benchmark tests suggest that a practical cure for the biases shown
in Fig. 9 may be, counterintuitively, to estimate profiles of
<inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from lower-frequency<?pagebreak page5550?> measurements, similar to the
estimation of humped TTDs. As Fig. 10 shows, the bias in Fig. 9 is
effectively eliminated if the profiles of new water fractions are estimated
from weekly samples instead of daily samples. This occurs because the input
tracers are less correlated over weekly sampling intervals than over daily
sampling intervals, and because the TTD is much stronger at short lags on
weekly timescales (Fig. 8) than on daily timescales (Fig. 6). In
real-world cases, biases like those shown in Fig. 9 may not be obvious,
because the correct answer (shown here by the gray line, derived from
benchmark model age tracking) will not be known. However, the behavior in
Fig. 9b is implausible on hydrological grounds (Why should catchments
quickly transmit a particularly large fraction of very small precipitation
events to the stream?), and the <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
profiles in Figs. 9b and 10b show strongly contrasting patterns. Thus
observations like these may help in identifying biased new water fraction
estimates, even in cases where the TTD itself has not been quantified.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10"><?xmltex \currentcnt{10}?><label>Figure 10</label><caption><p id="d1e2687">Profiles of new water fractions (<inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, panel <bold>a</bold>) and forward new water fractions
(<inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">P</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, panel <bold>b</bold>), estimated using robust and
non-robust methods (dark and light blue symbols, respectively; error bars
indicate 1 standard error) applied to weekly tracer time series from the
benchmark model using parameters that generate a humped distribution (see
Fig. 6). Some light blue symbols are invisible where they are overprinted by
dark blue symbols. The light gray lines show the true new water fractions,
as calculated from water age tracking in the benchmark model. In contrast to
the results from the daily time series (Fig. 9), the weekly tracer time
series yield new water fraction profiles that are consistent with the true
values determined by age tracking.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f10.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS4">
  <label>4.4</label><title>Visualizing catchment nonlinearity using precipitation- and
discharge-filtered TTDs</title>
      <p id="d1e2740">Transit time distributions are typically constructed from the entire
available tracer time series for a catchment, as in Figs. 5, 6, and 8. Such
TTDs can be considered as averages of catchments' nonstationary transport
behavior, as shown in Sect. 4.2 above. However, ensemble hydrograph
separation can also be used to calculate TTDs for filtered subsets of the
full catchment time series, focusing on either discharge or precipitation
time steps that highlight particular conditions of interest. (In Appendix B
we describe the new procedure that <inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> uses
for filtering precipitation time steps; this approach yields more accurate
results than the one outlined in Sect. 4.2 of K2019.) TTDs from these
filtered subsets of the full time series can yield further insights into
catchment transport phenomena.</p>
      <p id="d1e2755">For example, we can map out the nonlinearities that give rise to catchments'
nonstationary behavior, by comparing TTDs from subsets of the original time
series that represent different catchment conditions (Fig. 11). Larger
precipitation events in our benchmark model result in forward transit time
distributions with peaks that are higher, earlier, and narrower (Fig. 11a).
A similar progression in peak height, timing, and width is observed in
forward TTDs (Fig. 11b) obtained from the benchmark tracer time series by
setting the point filter <italic>Pfilter</italic> in <inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> to
focus on individual ranges of precipitation rates. The backward transit time
distributions in the benchmark model (Fig. 11c) differ somewhat from the
forward transit time distributions (Fig. 11a) but exhibit a similar shift
to higher, earlier, and narrower peaks at higher discharges. This trend is
also reflected in backward TTDs (Fig. 11d) obtained from the benchmark time
series by setting <italic>Qfilter</italic> for the same discharge ranges used in Fig. 11c.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><label>Figure 11</label><caption><p id="d1e2778">Non-stationary transit time distributions of
precipitation <bold>(a, b)</bold> and discharge <bold>(c, d)</bold>, visualized through
age tracking in the benchmark model <bold>(a, c)</bold> and ensemble hydrograph
separation <bold>(b, d)</bold> for selected ranges of precipitation and discharge
in the daily time series. Dotted gray lines in right panels show model age
tracking results <bold>(a, c)</bold> for comparison. Curves show spline
interpolations between individual points at each daily lag. The ensemble
hydrograph separation TTDs differ somewhat from the model age tracking
results, but they both exhibit similar progressions toward higher, earlier,
and narrower TTD peaks at higher precipitation and discharge rates.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f11.png"/>

        </fig>

      <p id="d1e2803">The ensemble hydrograph separation TTDs do not perfectly match the age
tracking results shown by the dotted gray lines in Fig. 11b and d,
particularly for the smallest fractions of the precipitation and discharge
distributions, where fewer data points are available. Nonetheless, although
the TTDs differ in detail from the age tracking results, they exhibit very
similar progressions in peak height and shape, reflecting the nonlinearity
in the benchmark model storages, which have shorter effective storage times
at higher storage levels and discharges. Although the particular results
shown in Fig. 11 are generated by a synthetic benchmark model, they
illustrate how similar analyses could be used to infer nonlinear transport
processes from real-world<?pagebreak page5551?> catchment data. Comparing TTDs representing
different levels of antecedent catchment wetness, for example, could
potentially be used to determine how much more precipitation bypasses
catchment storage during wet conditions. Similarly, TTDs representing
different levels of subsequent precipitation (over the following day or
week, for example) could potentially be used to determine how effectively
such precipitation mobilizes previously stored water. Thus Fig. 11
illustrates how TTDs from carefully selected subsets of catchment tracer
time series can be used as fingerprints of catchment response and as a
basis for inferring the mechanisms underlying catchment behavior.</p>
</sec>
<sec id="Ch1.S4.SS5">
  <label>4.5</label><title>Sample size, sampling frequency, and number of TTD lags</title>
      <p id="d1e2814">Prospective users of ensemble hydrograph separation may naturally wonder
what sample sizes and sampling frequencies are needed to estimate new water
fractions and transit time distributions. The answers will depend on many
different factors, including the timescales of interest to the user, the
desired precision of the <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and TTD estimates, the
logistical constraints on sampling and analysis, the frequency and
intermittency of precipitation events, the variability of the input tracers
over different timescales, and the timescales of storage and transport in
the catchment itself (that is, what the TTD is and how non-stationary it is,
which of course can only be guessed before measurements are available).
Ideally one should sample at a frequency that is high enough to capture the
shortest timescales of interest and sample much longer than the longest
timescales of interest. One should also aim to capture many diverse
transport events, spanning many different catchment conditions and
precipitation characteristics.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><label>Figure 12</label><caption><p id="d1e2830">L-shaped <bold>(a, b)</bold> and humped <bold>(c, d)</bold> transit time
distributions (<inline-formula><mml:math id="M174" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">Q</mml:mi></mml:msup></mml:math></inline-formula>TTDs) calculated from benchmark daily <bold>(a, c)</bold> and weekly <bold>(b, d)</bold> tracer time series for different numbers of lag intervals (shown by
the different colors in each panel). The light gray curves indicate the true
TTDs, as calculated from water age tracking in the benchmark model. Standard
errors are not shown to avoid obscuring the patterns in the overlapping TTD
estimates. TTD estimates with different numbers of lags generally agree,
except for their last few lags. An exception to this general rule is the
four-lag TTD shown in dark blue in panel <bold>(d)</bold>.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/24/5539/2020/hess-24-5539-2020-f12.png"/>

        </fig>

      <p id="d1e2864">Beyond these generalizations, it is difficult to offer concrete advice. We
can, however, report our recent experience applying ensemble hydrograph
separation to weekly and 7-hourly isotope time series at Plynlimon, Wales
(Knapp et al., 2019). We were generally able to estimate TTDs out to lags of
about 3 months based on 4 years of weekly sampling. The same 4
years of weekly samples yielded about 100 precipitation–discharge sample
pairs (after samples corresponding to below-threshold precipitation were
removed), which were sufficient to estimate weekly event new water fractions
with an uncertainty of about 1 % (e.g., <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mi mathvariant="normal">Qp</mml:mi></mml:msup><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">new</mml:mi></mml:msub><mml:mo>∼</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">8</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>±</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">1</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:math></inline-formula>). When these were split into four seasons,
we could estimate event new water fractions with an uncertainty of about
2 %–3 % using 20–30 weekly precipitation–discharge pairs, and when they were
split into 4–6 different ranges of precipitation and discharge, we could
reasonably well constrain the profiles of new water response to<?pagebreak page5552?> catchment
wetness and precipitation intensity (Fig. 10 of Knapp et al., 2019). We were
able to estimate 7-hourly TTDs out to lags of 7 d based on about 17
months of 7-hourly isotope samples, including almost 1500 discharge samples
and 540 above-threshold precipitation samples, and splitting these data sets
in half allowed us to distinguish the TTDs for summer and winter conditions
(Figs. 11 and 12 of Knapp et al., 2019). However, these numbers should not
be uncritically adopted as rules of thumb for other catchments, since
precipitation at Plynlimon is frequent and weakly seasonal, and the
catchment is characterized by rapid hydrological response but relatively
long storage timescales  (Kirchner et al., 2000). All of these
characteristics could potentially affect the sample sizes needed for
estimating new water fractions and transit time distributions. As more
experience is gained at more catchments, general rules of thumb may emerge.
Until then, however, benchmark tests like those described here can
potentially provide a more reliable site-specific guide to sample size
requirements.</p>
      <p id="d1e2897">Another obvious question for users is the number of lags over which the TTD
should be estimated. Here, too, there is no fixed rule; the answer will
depend on the timescales of interest, the length of the available tracer
time series, and the shape of the TTD itself (which of course will not be
known in advance). An empirical approach is to compare the results for
several different maximum lags <inline-formula><mml:math id="M176" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> and see where the resulting TTDs are
similar and different. Figure 12 shows this approach applied to daily and
weekly tracer time series, yielding TTDs with contrasting shapes. The upper
row (panels a and b) shows L-shaped TTDs estimated from the same synthetic
tracer time series that underlie Figs. 1–5, and the lower row shows humped
TTDs from the same benchmark model driven by the same inputs, but with
different parameters as described above. In each panel, the shorter and
longer TTDs (shown in different colors) are generally consistent with one
another, except in the case of the four-lag TTD shown in blue in Fig. 12d. In
that case, such a short TTD is evidently unable to capture the shape of the
benchmark distribution, as indicated by its deviation from the TTDs of other
lengths. One can also see that the last few lags of any TTD can diverge from
the TTD shape defined by the other TTDs. In Fig. 12a the last few lags
generally deviate downward, and in Fig. 12c they generally deviate upward;
thus there appears to be no general rule except that the last few lags of
any TTD estimates should be treated with caution and potentially excluded
from analysis.</p>
      <p id="d1e2907">A further observation from Fig. 12 is that TTD estimates from weekly tracer
data may be at least as accurate as, if not more so than, those calculated from
daily tracer data. This may seem surprising, particularly because the time
series underlying Fig. 12 are all 5 years long; thus the daily time
series contain 7 times as many individual tracer measurements as the
weekly time series. Nonetheless, for several reasons it is not surprising
that in this case one could obtain more stable<?pagebreak page5553?> estimates from fewer data
points. First of all, in these numerical experiments the precipitation
tracer concentrations are serially correlated (as they also often are in the
real world); thus there is more redundancy among the daily tracer inputs
than among the weekly tracer inputs. Secondly, the precipitation volumes are
less variable (in percentage terms) from week to week than they are from day
to day, meaning that the weekly calculations use fewer input concentrations
that are accompanied by very small water volumes (and that therefore could
not have much influence on the real-world catchment). And thirdly, lower
sampling frequencies entail TTDs with coefficients at more widely spaced
lags, which are thus less redundant with one another and thus can be
individually constrained better. Of course with lower-frequency sampling one
loses the short-lag tail of the TTD, which may be of particular interest.
But in cases where this information is not crucial – or where only
lower-frequency data are available – it appears that TTDs can be reliably
estimated from samples taken weekly and perhaps from samples taken even less
frequently.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <label>5</label><title>Closing comments</title>
      <p id="d1e2919">In this short contribution, we have presented scripts that implement the
ensemble hydrograph separation approach. We have also illustrated some of
its quirks and limitations using synthetic data. These issues have been
revealed through benchmark tests that are substantially stricter than many
in the literature. One should not assume that other methods have fewer
quirks and limitations, unless those methods have been tested with equal
rigor.</p>
      <p id="d1e2922">For example, many benchmark data sets are generated using the same
assumptions that underlie the analysis methods that they are used to test.
Although the results of such tests often look nice, they are unrealistic
because those idealized assumptions are unlikely to hold in real-world
cases. For example, the TTD methods presented here would work very well if
they were tested against benchmark data generated from a stationary TTD (see
Fig. 7b), but this is hardly surprising since the regression in Eq. (2)
assumes stationarity. However, such a test is far removed from the real
world, in which tracer data typically come from nonstationary catchment
systems. Tests with nonstationary benchmarks yield results that are less
(artificially) pleasing but more realistic (e.g., Fig. 7a). These tests
also demonstrate an important point, by showing how well the TTD method
estimates the average of the time-varying TTDs that are likely to arise in
real-world cases (see also Sect. 4 and Appendix B of K2019).</p>
      <p id="d1e2925"><?xmltex \hack{\newpage}?>Although these scripts have been tested against several widely differing
benchmark data sets (both here and in K2019), we encourage users to test
them with their own benchmark data to verify that they are behaving as
expected. As the examples presented here show, ensemble hydrograph
separation can potentially be applied not only to the high-frequency tracer
data sets that are now becoming available, but also to longer-term,
lower-frequency tracer data that have been collected through many
environmental monitoring programs. We hope that these
scripts facilitate new and interesting explorations of the transport
behavior of many different catchment systems.</p><?xmltex \hack{\clearpage}?>
</sec>

      
      </body>
    <back><app-group>

<?pagebreak page5554?><app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title>Improved solution method for transit time distributions</title>
      <p id="d1e2941">Ensemble hydrograph separation estimates transit time distributions by a
multiple regression of streamflow tracer fluctuations against current and
previous precipitation tracer fluctuations (Eq. 2, which is the counterpart
to Eq. (1) over multiple lag intervals <inline-formula><mml:math id="M177" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>). Performing this multiple
regression with real-world data requires addressing the “missing data
problem”: precipitation tracer concentrations will be inherently unavailable
during time steps where no precipitation falls, and both precipitation and
streamflow tracer concentrations may also be missing due to sampling and
measurement failures. The scripts presented here handle missing data
somewhat differently than the procedure outlined in Sect. 4.2 of K2019. In
this Appendix we outline the new procedure and explain why it is necessary.</p>
      <p id="d1e2951">Equation (2) in the main text has the form of a multiple linear regression
equation,
          <disp-formula id="App1.Ch1.S1.E3" content-type="numbered"><label>A1</label><mml:math id="M178" display="block"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where
          <disp-formula id="App1.Ch1.S1.E4" content-type="numbered"><label>A2</label><mml:math id="M179" display="block"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></disp-formula>
        and
          <disp-formula id="App1.Ch1.S1.E5" content-type="numbered"><label>A3</label><mml:math id="M180" display="block"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d1e3102">The conventional least-squares solution to such a multiple regression is
usually expressed in matrix form as
          <disp-formula id="App1.Ch1.S1.E6" content-type="numbered"><label>A4</label><mml:math id="M181" display="block"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold-italic">β</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:msup><mml:mi mathvariant="bold">X</mml:mi></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:msup><mml:mi mathvariant="bold-italic">Y</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M182" display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">β</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula> is the vector of the regression coefficients <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M184" display="inline"><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:math></inline-formula> is the vector of the reference-corrected streamflow
tracer concentrations <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and
<inline-formula><mml:math id="M186" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> is the matrix of the reference-corrected input tracer
concentrations <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> at each time step <inline-formula><mml:math id="M188" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> and
lag <inline-formula><mml:math id="M189" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>.</p>
      <p id="d1e3286">Equation (A4) cannot be applied straightforwardly to real-world catchment
data, because it cannot be solved when values of <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are
missing. K2019 handled this missing data problem using a variant of
Glasser's (1964) “pairwise deletion” approach. In this approach, Eq. (A4) was re-cast in terms of covariances,
          <disp-formula id="App1.Ch1.S1.E7" content-type="numbered"><label>A5</label><mml:math id="M192" display="block"><mml:mrow><mml:mo mathsize="1.5em">(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">β</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="normal">k</mml:mi></mml:msub><mml:mo mathsize="1.5em">)</mml:mo><mml:mo>=</mml:mo><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="normal">cov</mml:mi><mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi>k</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msub><mml:msup><mml:mo mathsize="1.5em">)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="normal">cov</mml:mi><mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow></mml:mfenced><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi>k</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msub><mml:mo mathsize="1.5em">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        and these covariances were evaluated only for pairs of non-missing values
(see Eqs. 42 and 43 of K2019), as signified by the subscripts in parentheses
(i.e., they were only evaluated for time steps <inline-formula><mml:math id="M193" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> where both <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> were non-missing). The solution method
presented in K2019 recognized that these covariances must be adjusted to
account for the two different reasons that values can be missing. A value of
<inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> that is missing because of a sampling or analysis failure
represents missing information; it cannot be included in calculating the
corresponding covariances, but (barring biases in which values are missing)
it should have no systematic effect. By contrast, if a value of <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is
missing because too little rain fell, it should dilute the covariances in
which it appears, because with trivial precipitation inputs, the missing
tracer concentration could not cause any meaningful co-varying change in
streamflow tracer concentrations. These considerations required the elements
of the covariance matrix in Eq. (A5) to be adjusted using prefactors called
<inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> that accounted for the number of
precipitation samples that were missing for the two different reasons
outlined above (see Eqs. 44–45 and Appendix B of K2019).</p>
      <p id="d1e3534">Practical experience since the publication of K2019 has revealed at least
three important limitations in the approach outlined above (and detailed in
Sect. 4.2 and Appendix B of K2019). First, although this approach can work
well if values of <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are missing at random, in non-random
cases it can lead to the covariances being estimated from inconsistent sets
of values. For example, if <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is missing for some particular <inline-formula><mml:math id="M205" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>, the
corresponding values of <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> will still be used in estimating the
covariance matrix cov<inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi>k</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. This is advantageous if the values are missing
at random, because all the covariances will include as many data pairs as
possible. However, the covariance estimates could become inconsistent, with
potentially substantial consequences for the solution to Eq. (A5), if the
values are missing non-randomly. In our case, the missing values are
inherently structured, because a single missing precipitation tracer
concentration <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">P</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> causes a diagonal line of missing values
in <inline-formula><mml:math id="M209" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>, and a single missing streamflow tracer
concentration <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">Q</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> causes a missing row in
<inline-formula><mml:math id="M211" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and two missing values in <inline-formula><mml:math id="M212" display="inline"><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:math></inline-formula>. The second
problem is that our robust estimation procedure depends on iteratively
reweighted least squares (IRLS), which in turn requires us to calculate the
regression residuals, which is impossible for any time step <inline-formula><mml:math id="M213" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> that is
missing either <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or any of the <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The third problem is that
estimating the uncertainties in the TTD requires the error variance, which
again requires calculating the residuals. This last problem can be
circumvented by using Glasser's (1964) error variance formula (Eq. 52 of K2019),
but K2019 warns that this formula can yield implausible results, including
negative error variance values (which are of course logically impossible).</p>
      <p id="d1e3713">Here, rather than removing the missing values and using Glasser's (1964) error
variance formula, instead we fill in the missing values and calculate the
residuals directly by inverting Eq. (A1), thus facilitating both robust
estimation using IRLS and direct calculation of the error variance for
purposes of uncertainty estimation. The key to this approach is that we
subtract the means from <inline-formula><mml:math id="M216" display="inline"><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:math></inline-formula> and from each column <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
of <inline-formula><mml:math id="M218" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>, (or subtract the weighted means in case of
volume-weighting), and then we fill in the missing values with zeroes.
Because each of the variables has already been “centered” to<?pagebreak page5555?> have a mean of
zero, the in-filled values of zero will have no effect on the solution of
Eq. (A1); in statistical terms, they will exert no leverage. This approach
also has the advantage that the intercept <inline-formula><mml:math id="M219" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> in Eq. (A1) becomes zero
and drops out of the problem.</p>
      <p id="d1e3748">Broadly speaking, the solution proceeds similarly to Sect. 4.2–4.4 of K2019,
with several important differences. One is that the covariance matrix now
requires different prefactors than the <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> used
in K2019 to account for the two different types of missing data, because
missing values will affect the covariances differently now that they are
being in-filled with zeroes. In principle, a value of <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> that is
missing because of a sampling or analysis failure represents missing
information, so it should not alter the covariances in which it appears.
However, those covariances will be diluted when the missing value is
replaced by zero (since it will add nothing to the cross-products in the
numerator of the covariance formula but will add to the total number <inline-formula><mml:math id="M223" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> in
the denominator). The resulting covariances must be re-scaled to reverse
this dilution artifact. By contrast, if values of <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are missing
because no rain fell, they should dilute the covariances in which they
appear, because with no precipitation, they could not cause any co-varying
change in streamflow tracer concentrations. Thus replacing these missing
values with zeroes correctly dilutes the corresponding covariances.</p>
      <p id="d1e3825">A sketch of the solution procedure is as follows. First we identify and
remove outliers in the precipitation and streamflow tracer concentrations
<inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">P</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">Q</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as described in Sects. 2.1 and 4.1
and use the remaining values to calculate the <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> using
Eqs. (A2) and (A3). Next we calculate a matrix <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> of Boolean flags
that indicate whether a given value of <inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> will be usable or not,
according to the criteria outlined in the paragraph above: a value of
<inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is unusable if it is missing (and thus will need to be replaced by
zero) and its corresponding value of precipitation is above <italic>p_threshold</italic> (and thus its contribution to the covariances would not be nearly
zero anyway). If either of these conditions is not met, the value of
<inline-formula><mml:math id="M232" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is usable (potentially with replacement by zero if it is missing
and corresponds to below-threshold precipitation inputs). In more explicit
form,
          <disp-formula id="App1.Ch1.S1.E8" content-type="numbered"><label>A6</label><mml:math id="M233" display="block"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="" open="{"><mml:mtable class="array" columnalign="left left"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="normal">if</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">is</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">missing</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">and</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mi mathvariant="normal">threshold</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">1</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="normal">otherwise</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula>
        We then eliminate any rows <inline-formula><mml:math id="M234" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> in <inline-formula><mml:math id="M235" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M236" display="inline"><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:math></inline-formula>, and
<inline-formula><mml:math id="M237" display="inline"><mml:mi mathvariant="bold">U</mml:mi></mml:math></inline-formula> for which <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is missing and/or all of the
<inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are missing, because in such cases Eq. (A1) would have no
meaningful solution. Next, we subtract the means (or the weighted means)
from <inline-formula><mml:math id="M240" display="inline"><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:math></inline-formula> and from each column <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of
<inline-formula><mml:math id="M242" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and replace the missing values of <inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with
zeroes (there will be no missing values of <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at this stage).</p>
      <p id="d1e4131">If <italic>robust</italic> <inline-formula><mml:math id="M245" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> true, we then solve the multiple regression in Eq. (A1)
using IRLS. We do not use the regression coefficients <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the
IRLS procedure, but instead we use its robustness weights to down-weight
anomalous points. These robustness weights are then multiplied by the volume
weights (if <italic>vol_wtd</italic> is true). The end result is a set of
point weights <inline-formula><mml:math id="M247" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that equal 1 times the volume weights (if any) times
the IRLS robustness weights (if any) or that just equal 1 if
<italic>vol_wtd</italic> and <italic>robust</italic> are both false.</p>
      <p id="d1e4176">We then calculate the (weighted) covariances as
          <disp-formula id="App1.Ch1.S1.E9" content-type="numbered"><label>A7</label><mml:math id="M248" display="block"><mml:mrow><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula>
        and
          <disp-formula id="App1.Ch1.S1.E10" content-type="numbered"><label>A8</label><mml:math id="M249" display="block"><mml:mrow><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the effective number of equally weighted points,
          <disp-formula id="App1.Ch1.S1.E11" content-type="numbered"><label>A9</label><mml:math id="M251" display="block"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msubsup><mml:mi>w</mml:mi><mml:mi>j</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        which accounts for the unevenness of the weights <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (if all of the
weights are equal, <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> equals <inline-formula><mml:math id="M254" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, the length of the vector
<inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">Y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The means shown in Eqs. (A7) and (A8) all equal zero, but
they are preserved here so that the formulae can be readily recognized. To
account for the contrasting types of missing values as outlined above, we
multiply each of the covariances by prefactors <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>,
defined as
          <disp-formula id="App1.Ch1.S1.E12" content-type="numbered"><label>A10</label><mml:math id="M257" display="block"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">and</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        With these prefactors, the solution to Eq. (A1) becomes
          <disp-formula id="App1.Ch1.S1.E13" content-type="numbered"><label>A11</label><mml:math id="M258" display="block"><mml:mtable rowspacing="0.2ex" class="split" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mo mathsize="1.5em">(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">β</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="normal">k</mml:mi></mml:msub><mml:mo mathsize="1.5em">)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mo mathsize="1.5em">(</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msup><mml:mo mathsize="1.5em">)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow></mml:mfenced><mml:mo mathsize="1.5em">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow></mml:mfenced><mml:mo mathsize="1.5em">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        To solve the same problem with Tikhonov–Phillips regularization, we instead
solve
          <disp-formula id="App1.Ch1.S1.E14" content-type="numbered"><label>A12</label><mml:math id="M259" display="block"><mml:mrow><mml:mo mathsize="1.5em">(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">β</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="normal">k</mml:mi></mml:msub><mml:mo mathsize="1.5em">)</mml:mo><mml:mo>=</mml:mo><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="bold">C</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="bold">H</mml:mi><mml:msup><mml:mo mathsize="1.5em">)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo mathsize="1.5em">(</mml:mo><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">Y</mml:mi></mml:mrow></mml:mfenced><mml:mo mathsize="1.5em">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M260" display="inline"><mml:mi mathvariant="bold">C</mml:mi></mml:math></inline-formula> is the covariance matrix <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mi mathvariant="normal">cov</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M262" display="inline"><mml:mi mathvariant="bold">H</mml:mi></mml:math></inline-formula> is the Tikhonov–Phillips
regularization matrix, and <inline-formula><mml:math id="M263" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula> controls the relative weight given to
the regularization criterion (see Eqs. 49 and 50 of K2019).</p>
      <?pagebreak page5556?><p id="d1e4867">To estimate the uncertainties in the regression coefficients <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">β</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="normal">k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, we first calculate the residuals by inverting Eq. (A1),
recalling that <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula>0,
          <disp-formula id="App1.Ch1.S1.E15" content-type="numbered"><label>A13</label><mml:math id="M266" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        We then calculate the (weighted) residual variance, accounting for both the
degrees of freedom and any unevenness in the weights,
          <disp-formula id="App1.Ch1.S1.E16" content-type="numbered"><label>A14</label><mml:math id="M267" display="block"><mml:mrow><mml:msubsup><mml:mi>s</mml:mi><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ε</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>w</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where the (weighted) mean of the residuals should be zero but is included
here for completeness. We then calculate the standard errors of the
regression coefficients, following Eq. (54) of K2019, using
          <disp-formula id="App1.Ch1.S1.E17" content-type="numbered"><label>A15</label><mml:math id="M268" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.5}{9.5}\selectfont$\displaystyle}?><mml:mi mathvariant="normal">SE</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">β</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msqrt><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>s</mml:mi><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">eff</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:msqrt><mml:msqrt><mml:mrow><mml:msub><mml:mfenced open="[" close="]"><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold">C</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="bold">H</mml:mi></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced close=")" open="("><mml:mi mathvariant="bold">C</mml:mi></mml:mfenced><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold">C</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="bold">H</mml:mi></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mrow><mml:mi>k</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msqrt><mml:mo>,</mml:mo><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula>
        but with the difference that the unevenness in the weighting is already
taken into account in Eq. (A14), so the effective sample size is now
calculated following Eq. (13) of K2019 as
          <disp-formula id="App1.Ch1.S1.E18" content-type="numbered"><label>A16</label><mml:math id="M269" display="block"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">eff</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">sc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the lag-1 (weighted) serial correlation in the residuals
<inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. If the <italic>ser_corr</italic> option is set to false,
the effective sample size is calculated as
          <disp-formula id="App1.Ch1.S1.E19" content-type="numbered"><label>A17</label><mml:math id="M272" display="block"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">eff</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        The regression coefficients and their standard errors are then converted
into TTDs and their associated standard errors using Eqs. (55), (60), and
(63)–(66) of K2019. Readers should note, however, that these scripts do not
explicitly take account of the sampling interval and its units. Thus their
results should be interpreted as being in reciprocal units of the sampling
interval (e.g., d<inline-formula><mml:math id="M273" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> for daily sampling and week<inline-formula><mml:math id="M274" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> for weekly
sampling).</p>
</app>

<app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title>Improved method for filtering precipitation time steps in TTD
estimation</title>
      <p id="d1e5284">The system of equations that is used to estimate transit time distributions
in ensemble hydrograph separation (Eq. A1) can be represented as a matrix
equation of the form
          <disp-formula id="App1.Ch1.S2.E20" content-type="numbered"><label>B1</label><mml:math id="M275" display="block"><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left left left left left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋱</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        where <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> expresses the concentration of the tracer input that enters
the catchment at time step <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M278" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> time steps before some of it leaves
the catchment at time step <inline-formula><mml:math id="M279" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> as part of the discharge concentration
<inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, with both concentrations normalized as described in Eqs. (A2) and
(A3). Filtering this system of equations according to discharge time steps
(so that, for example, periods with low discharge are excluded) is
accomplished straightforwardly by deleting the corresponding rows from the
matrices. For example, if we want to exclude discharge time steps 3, 4, and
5, Eq. (B1) becomes
          <disp-formula id="App1.Ch1.S2.E21" content-type="numbered"><label>B2</label><mml:math id="M281" display="block"><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left left left left left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋱</mml:mi></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="normal">⋯</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">⋮</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        which can be solved in exactly the same way as the full system of equations
shown in Eq. (B1). Filtering according to precipitation time steps (so that,
for example, periods with dry antecedent conditions are excluded) is less
straightforward. The approach outlined in Sect. 4.8 of K2019 simply excludes
the corresponding values of <inline-formula><mml:math id="M282" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, which form diagonal stripes in the
<inline-formula><mml:math id="M283" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> matrix. For example, for an artificially simplified
case with only nine discharge time steps and four lags, these diagonal
stripes of missing values would appear as
          <disp-formula id="App1.Ch1.S2.E22" content-type="numbered"><label>B3</label><mml:math id="M284" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left left left left"><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        The technical problem of performing such a calculation can be solved as
described in Appendix A above, but this alone<?pagebreak page5557?> will not solve the
<italic>mathematical</italic> problem created by the diagonal stripes of missing values. The mathematical
problem is that the influence of the missing <inline-formula><mml:math id="M285" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> will still be
reflected in the fluctuations in the discharge tracer concentrations
<inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and any regression solution will seek to explain those fluctuations
in terms of the <inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> values that remain, thus biasing the regression
coefficients <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. A better approach than Eq. (B3) is not to remove
the excluded values entirely but instead to separate them in a new group of
variables with their own coefficients, as follows:
          <disp-formula id="App1.Ch1.S2.E23" content-type="numbered"><label>B4</label><mml:math id="M289" display="block"><mml:mtable rowspacing="0.2ex" class="split" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left left left left"><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left left left left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        In Eq. (B4), each of the original input tracer values <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> either
appears in the left-hand matrix of included values (denoted <inline-formula><mml:math id="M291" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and
is multiplied by the corresponding coefficient <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or, if it has
been filtered out, appears in the right-hand matrix of excluded values
(denoted <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mo>′</mml:mo></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and is multiplied by the corresponding coefficient
<inline-formula><mml:math id="M294" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>. Equation (B4) suppresses the distortion of the <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> coefficients from the missing <inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, because each row of this
matrix equation retains all the values in the original equation (Eq. B2),
but now has separate sets of coefficients for the included values and the
excluded values. We can merge these two sets of coefficients and combine the
<inline-formula><mml:math id="M297" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> matrices, re-casting Eq. (B4) as a conventional regression problem,
          <disp-formula id="App1.Ch1.S2.E24" content-type="numbered"><label>B5</label><mml:math id="M299" display="block"><mml:mtable columnspacing="1em" class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left left left left left left left left"><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mo>-</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mrow><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">8</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mn mathvariant="normal">9</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        which can be solved by the approach outlined in Appendix A. One important
detail is that the Tikhonov–Phillips regularization matrix must be segmented
so that regularization is applied separately to the <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and the
<inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>; otherwise a regularization algorithm would try to smooth
over the jump between <inline-formula><mml:math id="M302" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which will typically be small, and
<inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, which could be large. Regularization can be applied
separately to the two sets of coefficients by configuring the regularization
matrix as
          <disp-formula id="App1.Ch1.S2.E25" content-type="numbered"><label>B6</label><mml:math id="M304" display="block"><mml:mrow><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mi mathvariant="bold">H</mml:mi></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mn mathvariant="bold">0</mml:mn></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mn mathvariant="bold">0</mml:mn></mml:mfenced></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mi mathvariant="bold">H</mml:mi></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where the diagonal submatrices <inline-formula><mml:math id="M305" display="inline"><mml:mi mathvariant="bold">H</mml:mi></mml:math></inline-formula> are <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>-by-<inline-formula><mml:math id="M307" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
Tikhonov–Phillips regularization matrices (see Eq. 49 of K2019), and the
off-diagonal submatrices are <inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>-by-<inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> matrices of zeroes.</p>
      <p id="d1e8997">Benchmark tests verify that the approach outlined in Eq. (B5) yields much
more accurate estimates of <inline-formula><mml:math id="M310" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> than the approach outlined in K2019
does. Therefore this approach is employed in <inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:mi mathvariant="normal">EHS</mml:mi><mml:mi mathvariant="normal">_</mml:mi><mml:mi mathvariant="normal">TTD</mml:mi></mml:mrow></mml:math></inline-formula> whenever the input data are filtered according to precipitation time
steps.</p><?xmltex \hack{\clearpage}?>
</app>
  </app-group><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e9028">The R and MATLAB scripts and benchmark data sets are available at  <ext-link xlink:href="https://doi.org/10.16904/envidat.182" ext-link-type="DOI">10.16904/envidat.182</ext-link> (Kirchner and Knapp, 2020).</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e9037">JWK wrote the R scripts and JLAK translated them into MATLAB. JWK
conducted the benchmark tests, drew the figures, and wrote the first draft
of the manuscript. Both authors discussed the results and revised the
manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e9043">The authors declare that they have no conflict of interest.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e9049">This paper was edited by Josie Geris and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Cleveland, W. S.: Robust locally weighted regression and smoothing
scatterplots, J. Am. Stat. Assoc., 74, 829-836,
<ext-link xlink:href="https://doi.org/10.1080/01621459.1979.10481038" ext-link-type="DOI">10.1080/01621459.1979.10481038</ext-link>, 1979.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>Glasser, M.: Linear regression analysis with missing observations among the
independent variables, J. Am. Stat. Assoc., 59,
834–844,  <ext-link xlink:href="https://doi.org/10.1080/01621459.1964.10480730" ext-link-type="DOI">10.1080/01621459.1964.10480730</ext-link>, 1964.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Godsey, S. E., Aas, W., Clair, T. A., de Wit, H. A., Fernandez, I. J., Kahl,
J. S., Malcolm, I. A., Neal, C., Neal, M., Nelson, S. J., Norton, S. A.,
Palucis, M. C., Skjelkvåle, B. L., Soulsby, C., Tetzlaff, D., and
Kirchner, J. W.: Generality of fractal <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:math></inline-formula> scaling in catchment tracer time
series, and its implications for catchment travel time distributions,
Hydrol. Process., 24, 1660–1671, <ext-link xlink:href="https://doi.org/10.1002/hyp.7677" ext-link-type="DOI">10.1002/hyp.7677</ext-link>, 2010.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Hampel, F. R.: A general qualitative definition of robustness, Ann.
Math. Stat., 42, 1887–1896,
<ext-link xlink:href="https://doi.org/10.1214/aoms/1177693054" ext-link-type="DOI">10.1214/aoms/1177693054</ext-link>, 1971.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Holland, P. W. and Welsch, R. E.: Robust regression using iteratively
reweighted least-squares, Commun. Stat.,
6, 813–827, <ext-link xlink:href="https://doi.org/10.1080/03610927708827533" ext-link-type="DOI">10.1080/03610927708827533</ext-link>, 1977.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Kirchner, J. W. and J. L. A. Knapp
Ensemble hydrograph separation scripts, EnviDat.
<ext-link xlink:href="https://doi.org/10.16904/envidat.182" ext-link-type="DOI">10.16904/envidat.182</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>
Kirchner, J. W., Feng, X., and Neal, C.: Fractal stream chemistry and its
implications for contaminant transport in catchments, Nature, 403, 524–527,
2000.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>Kirchner, J. W., Feng, X., and Neal, C.: Catchment-scale advection and
dispersion as a mechanism for fractal scaling in stream tracer
concentrations, J. Hydrol., 254, 81–100,
<ext-link xlink:href="https://doi.org/10.1016/S0022-1694(01)00487-5" ext-link-type="DOI">10.1016/S0022-1694(01)00487-5</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Kirchner, J. W. and Neal, C.: Universal fractal scaling in stream chemistry
and its implications for solute transport and water quality trend detection,
P. Natl. Acad. Sci. USA, 110, 12213–12218,
<ext-link xlink:href="https://doi.org/10.1073/pnas.1304328110" ext-link-type="DOI">10.1073/pnas.1304328110</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>Kirchner, J. W.: Aggregation in environmental systems – Part 2: Catchment mean transit times and young water fractions under hydrologic nonstationarity, Hydrol. Earth Syst. Sci., 20, 299–328, <ext-link xlink:href="https://doi.org/10.5194/hess-20-299-2016" ext-link-type="DOI">10.5194/hess-20-299-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>Kirchner, J. W.: Quantifying new water fractions and transit time distributions using ensemble hydrograph separation: theory and benchmark tests, Hydrol. Earth Syst. Sci., 23, 303–349, <ext-link xlink:href="https://doi.org/10.5194/hess-23-303-2019" ext-link-type="DOI">10.5194/hess-23-303-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Knapp, J. L. A., Neal, C., Schlumpf, A., Neal, M., and Kirchner, J. W.: New water fractions and transit time distributions at Plynlimon, Wales, estimated from stable water isotopes in precipitation and streamflow, Hydrol. Earth Syst. Sci., 23, 4367–4388, <ext-link xlink:href="https://doi.org/10.5194/hess-23-4367-2019" ext-link-type="DOI">10.5194/hess-23-4367-2019</ext-link>, 2019.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Technical note: Calculation scripts for ensemble hydrograph separation</article-title-html>
<abstract-html><p>Ensemble hydrograph separation has recently been proposed
as a technique for using passive tracers to estimate catchment transit time
distributions and new water fractions, introducing a powerful new tool for
quantifying catchment behavior. However, the technical details of the
necessary calculations may not be straightforward for many users to
implement. We have therefore developed scripts that perform these
calculations on two widely used platforms (MATLAB and R), to make these
methods more accessible to the community. These scripts implement robust
estimation techniques by default, making their results highly resistant to
outliers. Here we briefly describe how these scripts work and offer advice
on their use. We illustrate their potential and limitations using synthetic
benchmark data.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Cleveland, W. S.: Robust locally weighted regression and smoothing
scatterplots, J. Am. Stat. Assoc., 74, 829-836,
<a href="https://doi.org/10.1080/01621459.1979.10481038" target="_blank">https://doi.org/10.1080/01621459.1979.10481038</a>, 1979.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Glasser, M.: Linear regression analysis with missing observations among the
independent variables, J. Am. Stat. Assoc., 59,
834–844,  <a href="https://doi.org/10.1080/01621459.1964.10480730" target="_blank">https://doi.org/10.1080/01621459.1964.10480730</a>, 1964.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Godsey, S. E., Aas, W., Clair, T. A., de Wit, H. A., Fernandez, I. J., Kahl,
J. S., Malcolm, I. A., Neal, C., Neal, M., Nelson, S. J., Norton, S. A.,
Palucis, M. C., Skjelkvåle, B. L., Soulsby, C., Tetzlaff, D., and
Kirchner, J. W.: Generality of fractal 1∕<i>f</i> scaling in catchment tracer time
series, and its implications for catchment travel time distributions,
Hydrol. Process., 24, 1660–1671, <a href="https://doi.org/10.1002/hyp.7677" target="_blank">https://doi.org/10.1002/hyp.7677</a>, 2010.

</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Hampel, F. R.: A general qualitative definition of robustness, Ann.
Math. Stat., 42, 1887–1896,
<a href="https://doi.org/10.1214/aoms/1177693054" target="_blank">https://doi.org/10.1214/aoms/1177693054</a>, 1971.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Holland, P. W. and Welsch, R. E.: Robust regression using iteratively
reweighted least-squares, Commun. Stat.,
6, 813–827, <a href="https://doi.org/10.1080/03610927708827533" target="_blank">https://doi.org/10.1080/03610927708827533</a>, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Kirchner, J. W. and J. L. A. Knapp
Ensemble hydrograph separation scripts, EnviDat.
<a href="https://doi.org/10.16904/envidat.182" target="_blank">https://doi.org/10.16904/envidat.182</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Kirchner, J. W., Feng, X., and Neal, C.: Fractal stream chemistry and its
implications for contaminant transport in catchments, Nature, 403, 524–527,
2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Kirchner, J. W., Feng, X., and Neal, C.: Catchment-scale advection and
dispersion as a mechanism for fractal scaling in stream tracer
concentrations, J. Hydrol., 254, 81–100,
<a href="https://doi.org/10.1016/S0022-1694(01)00487-5" target="_blank">https://doi.org/10.1016/S0022-1694(01)00487-5</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Kirchner, J. W. and Neal, C.: Universal fractal scaling in stream chemistry
and its implications for solute transport and water quality trend detection,
P. Natl. Acad. Sci. USA, 110, 12213–12218,
<a href="https://doi.org/10.1073/pnas.1304328110" target="_blank">https://doi.org/10.1073/pnas.1304328110</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Kirchner, J. W.: Aggregation in environmental systems – Part 2: Catchment mean transit times and young water fractions under hydrologic nonstationarity, Hydrol. Earth Syst. Sci., 20, 299–328, <a href="https://doi.org/10.5194/hess-20-299-2016" target="_blank">https://doi.org/10.5194/hess-20-299-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Kirchner, J. W.: Quantifying new water fractions and transit time distributions using ensemble hydrograph separation: theory and benchmark tests, Hydrol. Earth Syst. Sci., 23, 303–349, <a href="https://doi.org/10.5194/hess-23-303-2019" target="_blank">https://doi.org/10.5194/hess-23-303-2019</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Knapp, J. L. A., Neal, C., Schlumpf, A., Neal, M., and Kirchner, J. W.: New water fractions and transit time distributions at Plynlimon, Wales, estimated from stable water isotopes in precipitation and streamflow, Hydrol. Earth Syst. Sci., 23, 4367–4388, <a href="https://doi.org/10.5194/hess-23-4367-2019" target="_blank">https://doi.org/10.5194/hess-23-4367-2019</a>, 2019.
</mixed-citation></ref-html>--></article>
