<?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-23-773-2019</article-id><title-group><article-title>Multivariate stochastic bias corrections with optimal transport</article-title><alt-title>Optimal transport for bias correction</alt-title>
      </title-group><?xmltex \runningtitle{Optimal transport for bias correction}?><?xmltex \runningauthor{Y.~Robin~et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Robin</surname><given-names>Yoann</given-names></name>
          <email>yoann.robin@lsce.ipsl.fr</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Vrac</surname><given-names>Mathieu</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Naveau</surname><given-names>Philippe</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Yiou</surname><given-names>Pascal</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-8534-5355</ext-link></contrib>
        <aff id="aff1"><institution>Laboratoire des Sciences du Climat et de l'Environnement, UMR 8212,
CEA-CNRS-UVSQ, <?xmltex \hack{\break}?>IPSL &amp; U Paris-Saclay, Gif-sur-Yvette, France</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Yoann Robin (yoann.robin@lsce.ipsl.fr)</corresp></author-notes><pub-date><day>12</day><month>February</month><year>2019</year></pub-date>
      
      <volume>23</volume>
      <issue>2</issue>
      <fpage>773</fpage><lpage>786</lpage>
      <history>
        <date date-type="received"><day>23</day><month>May</month><year>2018</year></date>
           <date date-type="rev-request"><day>24</day><month>July</month><year>2018</year></date>
           <date date-type="rev-recd"><day>15</day><month>January</month><year>2019</year></date>
           <date date-type="accepted"><day>16</day><month>January</month><year>2019</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2019 Yoann Robin et al.</copyright-statement>
        <copyright-year>2019</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/23/773/2019/hess-23-773-2019.html">This article is available from https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019.html</self-uri><self-uri xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019.pdf">The full text article is available as a PDF file from https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019.pdf</self-uri>
      <abstract>
    <p id="d1e106">Bias correction methods are used to calibrate climate model outputs with
respect to observational records. The goal is to ensure that statistical
features (such as means and variances) of climate simulations are coherent
with observations. In this article, a multivariate stochastic bias correction
method is developed based on optimal transport. Bias correction methods are
usually defined as transfer functions between random variables. We show that
such transfer functions induce a joint probability distribution between the
biased random variable and its correction. The optimal transport theory
allows us to construct a joint distribution that minimizes an energy spent in
bias correction. This extends the classical univariate quantile mapping
techniques in the multivariate case. We also propose
a definition of non-stationary bias correction as a transfer of the model
to the observational world, and we extend our method in this context. Those
methodologies are first tested on an idealized chaotic system with three
variables. In those controlled experiments, the correlations between
variables appear almost perfectly corrected by our method, as opposed to a
univariate correction. Our methodology is also tested on daily precipitation
and temperatures over 12 locations in southern France. The correction of
the inter-variable and inter-site structures of temperatures and
precipitation appears in agreement with the multi-dimensional evolution of
the model, hence satisfying our suggested definition of non-stationarity.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p id="d1e116">Global climate models (GCMs) and regional climate models (RCMs)
are used to study the climate system. However, their outputs often appear
biased compared to observational references <xref ref-type="bibr" rid="bib1.bibx38" id="paren.1"><named-content content-type="pre">e.g.,</named-content></xref>. For
example, the temperature means can be shifted. Thus, removing this bias is
often necessary to drive impact studies such as those based on crop or
hydrological models <xref ref-type="bibr" rid="bib1.bibx6" id="paren.2"/>. The main goal of bias correction (BC)
is to match the statistical features of climate model outputs with
observations <xref ref-type="bibr" rid="bib1.bibx12 bib1.bibx16" id="paren.3"><named-content content-type="pre">see, e.g.,</named-content></xref>. The
most used method is the quantile mapping
<xref ref-type="bibr" rid="bib1.bibx34 bib1.bibx55 bib1.bibx9" id="paren.4"/>, which adjusts the quantiles of
the variables of interest in the stationary case <xref ref-type="bibr" rid="bib1.bibx44" id="paren.5"/>. The
importance of the stationarity hypothesis has been discussed by a few studies
<xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx24 bib1.bibx32" id="paren.6"/>. Some extensions, like CDF-<inline-formula><mml:math id="M1" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>
<xref ref-type="bibr" rid="bib1.bibx30" id="paren.7"><named-content content-type="pre">Cumulative Distribution Function transfer,</named-content></xref>,
can take into account some of the non-stationarity in GCMs or RCMs.</p>
      <p id="d1e154">Most of those methods are univariate, and do not take into account the
spatial and inter-variable correlations, which may alter the quality of the
corrections <xref ref-type="bibr" rid="bib1.bibx53 bib1.bibx25" id="paren.8"><named-content content-type="pre">e.g.,</named-content></xref>. <xref ref-type="bibr" rid="bib1.bibx27" id="text.9"/> have
pointed out that correcting model output could induce biases of physical
processes and that such procedures require an understanding of the nature of
the biases. In particular it is crucial to investigate the way key climate
variables co-vary.</p>
      <p id="d1e165">This shortcoming has led to the recent development of multivariate
techniques. As mentioned by <xref ref-type="bibr" rid="bib1.bibx51" id="text.10"/>, two kinds of methods are
currently available. The first type corrects separately each marginal and
applies afterwards a correction of the dependence structure
<xref ref-type="bibr" rid="bib1.bibx52 bib1.bibx51 bib1.bibx33 bib1.bibx5" id="paren.11"><named-content content-type="pre">e.g.,</named-content></xref>. The second kind
performs recursive corrections: each variable is corrected conditionally on
the previously already corrected variables <xref ref-type="bibr" rid="bib1.bibx1 bib1.bibx8" id="paren.12"/>.
These last methods have two main limitations. First, the correction depends
on the ordering of the<?pagebreak page774?> marginals. Second, each marginal is adjusted
conditionally on previously corrected marginals, which reduces the number of
data at each step. Furthermore, the variability of observations is generally
greater than that of the climate models. To increase the variability,
<xref ref-type="bibr" rid="bib1.bibx50" id="text.13"/>, <xref ref-type="bibr" rid="bib1.bibx54" id="text.14"/> and <xref ref-type="bibr" rid="bib1.bibx23" id="text.15"/> suggested
introducing a stochastic component into the bias correction procedure. In
this paper, we develop a multivariate and stochastic bias correction method,
different from the two categories presented, based on elements from optimal
transport theory.</p>
      <p id="d1e189">Optimal transport theory is a natural way to measure the dissimilarity
between multivariate probability distributions
<xref ref-type="bibr" rid="bib1.bibx49 bib1.bibx31 bib1.bibx41" id="paren.16"/>, especially in a
multivariate case. For example, this has already been successfully applied in
image processing to transfer colors between images
<xref ref-type="bibr" rid="bib1.bibx42 bib1.bibx14" id="paren.17"/>. Here, our goal is to apply optimal
transport techniques to perform bias correction in estimating a particular
<italic>joint law</italic> (called a <italic>transport plan</italic>) that links the
probability distributions of a biased random variable and its correction.
This joint law minimizes a cost function, representing the <italic>energy</italic>
needed to transform a multivariate probability distribution to another. In
this optimal transport context, any realization of the biased random variable
induces a conditional law of the transport plan, associating the realization
and its correction. As the corrections are randomly drawn from these
conditional laws, the suggested method is stochastic by construction.</p>
      <p id="d1e208">Moreover, <xref ref-type="bibr" rid="bib1.bibx27" id="text.18"/> also stressed that BC methods do not correct the
physical processes of the model, and errors can propagate into the
corrections. However, one key aspect of the present work is to highlight
that, in a climate change context (or more generally, in a framework where
corrections are performed in conditions different from the calibration
dataset), a proper BC method should provide changes – from calibration to
projection periods – in agreement with the modeled data to be corrected. Knowing the quality of the raw modeled data
(and of the underlying processes) is therefore an important a priori step.
Nevertheless, this is beyond the scope of bias correction per se.</p>
      <p id="d1e214">This paper is organized as follows. In Sect. <xref ref-type="sec" rid="Ch1.S2"/>,
the developed theoretical framework to perform bias correction is presented.
In particular, the classical definition of bias correction as transfer
function is generalized with optimal transport theory. Two methods are
presented: optimal transport correction (OTC, stationary case) and dynamical
optimal transport correction (dOTC, non-stationary case). In
Sect. <xref ref-type="sec" rid="Ch1.S3"/>, the proposed methodology is
tested on an idealized non-stationary case based on chaotic attractors. In
Sect. <xref ref-type="sec" rid="Ch1.S4"/>, a multivariate bias correction is performed
on a regional climate model (RCM) simulation of temperatures and
precipitation, in a cross-validation case. Section <xref ref-type="sec" rid="Ch1.S5"/>
provides conclusions and perspectives.</p>
</sec>
<sec id="Ch1.S2">
  <title>Theoretical framework</title>
      <p id="d1e231">The general goal of this paper is the correction of a random variable,
denoted <inline-formula><mml:math id="M2" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> (e.g., a biased climate model output) with respect to a
reference random variable, denoted <inline-formula><mml:math id="M3" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula>. The random variables
<inline-formula><mml:math id="M4" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M5" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> live in dimension <inline-formula><mml:math id="M6" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>. If <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, we denote them
<inline-formula><mml:math id="M8" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M9" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>. The probability law of <inline-formula><mml:math id="M10" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> (or <inline-formula><mml:math id="M11" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula>) is denoted
<inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (or <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d1e333">Following <xref ref-type="bibr" rid="bib1.bibx36" id="text.19"/>, a bias correction method of <inline-formula><mml:math id="M14" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>
with respect to <inline-formula><mml:math id="M15" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> is a map
<inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>:</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>→</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, called a
<italic>transfer function</italic>, such that the random variable
<inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">X</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> (the correction) follows the same law as
<inline-formula><mml:math id="M18" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula>,
i.e., <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">X</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This
definition covers most of the practical cases, but we can construct random
variables where no deterministic transfer function exists, e.g., if
<inline-formula><mml:math id="M20" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> is constant and <inline-formula><mml:math id="M21" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> is not. Thus, beyond a multivariate
transfer function, it is necessary to extend the definition of bias
correction.</p>
      <p id="d1e439">In the first part, we highlight our method of bias correction with a
univariate example starting from quantile mapping. In the second part, the
mathematical theory is explained. Finally, an extension of our method in a
non-stationary context is presented.</p>
<sec id="Ch1.S2.SS1">
  <title>From quantile mapping to optimal transport</title>
      <p id="d1e447">We start with the construction of a quantile mapping method in the univariate
case, i.e., with <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. In this context, the biased and reference random
variables are denoted <inline-formula><mml:math id="M23" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M24" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>, respectively. A transfer function
<inline-formula><mml:math id="M25" display="inline"><mml:mi mathvariant="script">T</mml:mi></mml:math></inline-formula> between <inline-formula><mml:math id="M26" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M27" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> is constructed on the cumulative
distribution functions (CDFs) of <inline-formula><mml:math id="M28" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M29" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>, defined by
            <disp-formula id="Ch1.Ex1"><mml:math id="M30" display="block"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>:=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>X</mml:mi><mml:mo>≤</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>F</mml:mi><mml:mi>Y</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>:=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi>Y</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>Y</mml:mi><mml:mo>≤</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          A realization <inline-formula><mml:math id="M31" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M32" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> is the correction of a realization <inline-formula><mml:math id="M33" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M34" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> if and
only if <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>Y</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Under the assumption that <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is invertible,
the correction <inline-formula><mml:math id="M37" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M38" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> is given by
            <disp-formula id="Ch1.Ex2"><mml:math id="M39" display="block"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:munder class="underbrace"><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>F</mml:mi><mml:mi>Y</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msubsup><mml:mo>∘</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="script">T</mml:mi></mml:munder><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Thus the transfer function is written <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>=</mml:mo><mml:msubsup><mml:mi>F</mml:mi><mml:mi>Y</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msubsup><mml:mo>∘</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.
This method is called <italic>quantile mapping</italic>. Indeed, the quantiles of <inline-formula><mml:math id="M41" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula>
and <inline-formula><mml:math id="M42" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> are matched through the relation <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>Y</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><caption><p id="d1e788">Histogram of two Gaussian laws <inline-formula><mml:math id="M44" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M45" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> in blue and red. <bold>(a)</bold> The
<inline-formula><mml:math id="M46" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis indicates the edges of each bar. The black arrows indicate how the
quantile mapping matches an element of <inline-formula><mml:math id="M47" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> with its correction. <bold>(b)</bold> The
<inline-formula><mml:math id="M48" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis gives the center of each bar. The black arrows indicate the
possibilities for how the probability of obtaining the value <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for <inline-formula><mml:math id="M50" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula>
can be distributed among the possible values <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M52" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>. The <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
correspond to the number of realizations moved. These arrows can be
generalized to each <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. <bold>(c)</bold> The <inline-formula><mml:math id="M55" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis gives the center of each bar.
The black arrows indicate the non-zero <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> estimated by the OTC
method. <bold>(d)</bold> Bivariate histogram of two Gaussian laws. The black arrows
represent how the OTC method fits each <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with its
correction. To facilitate readability, only <inline-formula><mml:math id="M58" display="inline"><mml:mn mathvariant="normal">30</mml:mn></mml:math></inline-formula> arrows are represented.</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-f01.png"/>

        </fig>

      <p id="d1e947">We illustrate the quantile mapping method with an example in
Fig. <xref ref-type="fig" rid="Ch1.F1"/>a. In this example, the random variables <inline-formula><mml:math id="M59" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M60" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>
are two Gaussian laws centered, respectively, on 0 and 10, with a standard
deviation of <inline-formula><mml:math id="M61" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>. We cut <inline-formula><mml:math id="M62" display="inline"><mml:mi mathvariant="double-struck">R</mml:mi></mml:math></inline-formula> into cells of length <inline-formula><mml:math id="M63" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula> and estimate
the histograms. Fig. <xref ref-type="fig" rid="Ch1.F1"/>a shows the two histograms of <inline-formula><mml:math id="M64" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and
<inline-formula><mml:math id="M65" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> in red and blue, respectively. The <inline-formula><mml:math id="M66" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis gives the <italic>empirical quantiles</italic> of the edges of each cell. The black arrows indicate how the
quantile mapping <italic>connects a cell of</italic> <inline-formula><mml:math id="M67" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> <italic>to a cell of</italic> <inline-formula><mml:math id="M68" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>.
For example, the realizations of <inline-formula><mml:math id="M69" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> in the first blue cell are corrected and
transferred to realizations in the first three red cells of <inline-formula><mml:math id="M70" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>.</p>
      <?pagebreak page775?><p id="d1e1049">The main point here is the following: in the univariate context, we can
perform a bias correction with only the black arrows. A realization in a cell
of <inline-formula><mml:math id="M71" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> is corrected to a realization into a cell of <inline-formula><mml:math id="M72" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> connected by a black
arrow. Because in a multivariate context the quantile mapping can not be used
to estimate these arrows (CDFs are not invertible), our problem is the
following: <italic>how to construct these black arrows in a multivariate context.</italic></p>
      <p id="d1e1069">For this, let <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) be the centers of each cell of the histogram of
<inline-formula><mml:math id="M75" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M76" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>). Let <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> be the number of realizations of <inline-formula><mml:math id="M78" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> in the interval
<inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and let <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> be the number of realizations of <inline-formula><mml:math id="M81" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> in the
interval <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We represent all possible black arrows by a collection of
coefficients <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. A <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> value corresponds to the number
of realizations in the cell <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that are transferred to realizations in the
cell <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We obtain the following two equalities:
            <disp-formula id="Ch1.Ex3"><mml:math id="M87" display="block"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mi>i</mml:mi></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 mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          representing how the cell <inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is split into each cell <inline-formula><mml:math id="M89" 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
            <disp-formula id="Ch1.Ex4"><mml:math id="M90" display="block"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          representing how cell <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> received the realizations from each cell <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.
We depict the <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> coefficients in Fig. <xref ref-type="fig" rid="Ch1.F1"/>b. The
black arrows represent the number of realizations <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> that are
transferred to each <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <?pagebreak page776?><p id="d1e1373">The problem is to calculate the coefficients <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. For each
displacement <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, we can associate a cost, which is the square of
the length of the displacement, <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mo>|</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. This choice comes from
the optimal transport theory, and will be highlighted in the next section. To
correct <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> realizations, we have a cost of
<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mo>|</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. We thus obtain a global cost associated with
the <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> coefficients:
            <disp-formula id="Ch1.Ex5"><mml:math id="M102" display="block"><mml:mrow><mml:mi>C</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>)</mml:mo><mml:mo>:=</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:mo>|</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mo>|</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Our bias correction method is defined by the <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> coefficients
minimizing the functional <inline-formula><mml:math id="M104" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>. The <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> obtained by minimizing <inline-formula><mml:math id="M106" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>
for our example are shown in Fig. <xref ref-type="fig" rid="Ch1.F1"/>c. Comparing with the
quantile mapping in Fig. <xref ref-type="fig" rid="Ch1.F1"/>a, we can see that the obtained
coefficients (the black arrows) are similar. Indeed, the coefficients induced
by the quantile mapping are precisely those minimizing the functional <inline-formula><mml:math id="M107" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>.
Proofs of this statement can be found in <xref ref-type="bibr" rid="bib1.bibx13" id="text.20"><named-content content-type="post">Appendix A</named-content></xref> and
<xref ref-type="bibr" rid="bib1.bibx43" id="text.21"><named-content content-type="post">chap. 2</named-content></xref>. In other words, even in the absence of
CDF, a bias correction can be carried out by calculating the minimum of the
function <inline-formula><mml:math id="M108" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>.</p>
      <p id="d1e1616">The advantage of this approach is that the functional <inline-formula><mml:math id="M109" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> can be written in
the multivariate case by replacing <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</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:mrow></mml:math></inline-formula> by
<inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:mo>‖</mml:mo><mml:msub><mml:mi mathvariant="bold">x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold">y</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>‖</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">y</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the center of multivariate cells, and <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mo>‖</mml:mo><mml:mo>⋅</mml:mo><mml:mo>‖</mml:mo></mml:mrow></mml:math></inline-formula> the
Euclidean norm. We illustrate in Fig. <xref ref-type="fig" rid="Ch1.F1"/>d how the
displacements are carried out in the case of two bivariate Gaussian
distributions. The black arrows again represent the non-zero coefficients
estimated by the OTC method (we only represent <inline-formula><mml:math id="M115" display="inline"><mml:mn mathvariant="normal">30</mml:mn></mml:math></inline-formula> arrows).</p>
      <p id="d1e1714">In the next section we present the mathematical theory behind this example
with probability measures of <inline-formula><mml:math id="M116" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M117" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>. If we normalize the number of
realizations of <inline-formula><mml:math id="M118" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M119" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula> in each bin by the total number of realizations
of <inline-formula><mml:math id="M120" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M121" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>, we obtain <inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>y</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Therefore, the transport can
be written as a transport of a fraction of mass, instead of a transport of
the number of realizations.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <title>Bias correction as a joint distribution</title>
      <p id="d1e1795">In the multivariate context we assume the existence of a transfer function
<inline-formula><mml:math id="M124" display="inline"><mml:mi mathvariant="script">T</mml:mi></mml:math></inline-formula> between <inline-formula><mml:math id="M125" display="inline"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M126" display="inline"><mml:mi>Y</mml:mi></mml:math></inline-formula>. By construction, the random variables
<inline-formula><mml:math id="M127" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">X</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are dependent, and their
associated joint law can be summarized by the function
<inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>:</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>→</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>
            <disp-formula id="Ch1.Ex6"><mml:math id="M130" display="block"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>:=</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>∈</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The map <inline-formula><mml:math id="M131" display="inline"><mml:mi mathvariant="italic">κ</mml:mi></mml:math></inline-formula> connects the random variable <inline-formula><mml:math id="M132" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> with its
correction <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">X</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> on the space
<inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. Furthermore, the map <inline-formula><mml:math id="M135" display="inline"><mml:mi mathvariant="italic">κ</mml:mi></mml:math></inline-formula> induces a
probability law on <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, denoted
<inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="script">T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and given for all measurable sets
<inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:mi>A</mml:mi><mml:mo>⊂</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> by

                <disp-formula specific-use="align"><mml:math id="M139" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="script">T</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>)</mml:mo><mml:mo>:</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="italic">κ</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>∈</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mtext>such that</mml:mtext><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>∈</mml:mo><mml:mi>A</mml:mi><mml:mo mathvariant="italic">}</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo>(</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="script">T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>∈</mml:mo><mml:mi>A</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            The critical property here concerns the margins of
<inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="script">T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: <italic>the first (second) margin of</italic>
<inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="script">T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> <italic>is</italic> <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
(<inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). To understand why it is critical, let
<inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> be the set of
probability measures on <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> for which
<inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the first margin and <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
the second one. By definition,
<inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="script">T</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.
Thus, any bias correction method defined by a transfer function is an element
of <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2325">We argue that <italic>any probability distribution in</italic>
<inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> <italic>induces a bias correction method</italic>. For
<inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,
<inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold">y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> can be interpreted as <italic>the probability that</italic> <inline-formula><mml:math id="M153" display="inline"><mml:mi mathvariant="bold">y</mml:mi></mml:math></inline-formula> <italic>is the correction of</italic> <inline-formula><mml:math id="M154" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>. Formally, the
Jirina theorem <xref ref-type="bibr" rid="bib1.bibx46" id="paren.22"><named-content content-type="pre">see, e.g.,</named-content><named-content content-type="post">chap. 5</named-content></xref> states that there
exists a collection of probability laws <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
<inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi><mml:mo>∈</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, such that <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the
conditional laws of <inline-formula><mml:math id="M158" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> <italic>given</italic> <inline-formula><mml:math id="M159" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>. In other words,
for <inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:mi>B</mml:mi><mml:mo>⊂</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>B</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the probability
that the correction <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi><mml:mo>∈</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:math></inline-formula>, given <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold">x</mml:mi></mml:mrow></mml:math></inline-formula>. The
correction of <inline-formula><mml:math id="M164" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula> is then sampled from the law
<inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Thus, any
<inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> defines a
bias correction method, through the conditional laws <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.
This highlights the stochastic part of this approach: all corrections are
sampled from the laws <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the corrected values follow
the law <inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (by definition of a conditional law).</p>
      <p id="d1e2626">We note that the problem where <inline-formula><mml:math id="M170" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> is constant is easily solved with
this approach. The set
<inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is reduced to one
element: the independent law
<inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, where
<inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the Dirac mass in <inline-formula><mml:math id="M174" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>. Thus,
<inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the correction of
<inline-formula><mml:math id="M176" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> is given by sampling each correction with the law
<inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2733">We have defined a bias correction method as an element of
<inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. However, this set
can be very large. The goal of the next section is to present a
<italic>criterion</italic> to select an element of
<inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <title>Selection of a joint law with optimal transport theory</title>
      <p id="d1e2793">To select a probability law
<inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, we
propose using a cost function on this set. The minimum of this cost function
corresponds to an optimal bias correction method. We propose minimizing the
energy needed to transform a realization <inline-formula><mml:math id="M181" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M182" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> to its
correction <inline-formula><mml:math id="M183" display="inline"><mml:mi mathvariant="bold">y</mml:mi></mml:math></inline-formula>, i.e., minimizing <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:mo>‖</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">y</mml:mi><mml:msup><mml:mo>‖</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>,
weighted by <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold">y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Thus, the cost function <inline-formula><mml:math id="M186" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is
given by
            <disp-formula id="Ch1.E1" content-type="numbered"><mml:math id="M187" display="block"><mml:mrow><mml:mi>C</mml:mi><mml:mo>:</mml:mo><mml:mfenced open="{" close=""><mml:mtable class="array" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>⟶</mml:mo><mml:msub><mml:mi mathvariant="double-struck">R</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="italic">γ</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:mo>↦</mml:mo><mml:msub><mml:mo>∫</mml:mo><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:msub><mml:mo>‖</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">y</mml:mi><mml:msup><mml:mo>‖</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="bold">y</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula>
          This cost function minimizes the square of the distance between <inline-formula><mml:math id="M188" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>
and its correction <inline-formula><mml:math id="M189" display="inline"><mml:mi mathvariant="bold">y</mml:mi></mml:math></inline-formula>. Our bias correction method is associated
with the law <inline-formula><mml:math id="M190" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> that minimizes <inline-formula><mml:math id="M191" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>. This cost function stems from
optimal transport theory <xref ref-type="bibr" rid="bib1.bibx49" id="paren.23"/>. The choice of the square
in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) guarantees the uniqueness of the solution. In
the univariate case, it can be shown that the joint law defined by the
quantile mapping minimizes the cost function <inline-formula><mml:math id="M192" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> of
Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). Proofs of this statement can be found in
<xref ref-type="bibr" rid="bib1.bibx13" id="text.24"><named-content content-type="post">Appendix A</named-content></xref> and <xref ref-type="bibr" rid="bib1.bibx43" id="text.25"><named-content content-type="post">chap. 2</named-content></xref>.</p>
      <p id="d1e3044">Our next step is to explain how this minimization strategy can be extended in
the multivariate case.</p>
</sec>
<?pagebreak page777?><sec id="Ch1.S2.SS4">
  <title>Multivariate bias correction with optimal transport selection: the stationary case</title>
      <p id="d1e3053">We assume that <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">Y</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are two independent and identically
distributed (i.i.d.) samples of the random variables <inline-formula><mml:math id="M195" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and
<inline-formula><mml:math id="M196" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula>. A first step is to estimate the empirical distributions,
<inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="bold">X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We
denote <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> a collection of regularly spaced cells that partition
<inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> and cover <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold">Y</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The center of each cell is also
denoted <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. With this notation, <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="bold">X</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="bold">Y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be written as a sum of <inline-formula><mml:math id="M206" display="inline"><mml:mi>I</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M207" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>
Dirac masses:

                <disp-formula specific-use="align"><mml:math id="M208" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>I</mml:mi></mml:munderover><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>where</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>n</mml:mi></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:mn mathvariant="bold">1</mml:mn><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>and</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi>A</mml:mi><mml:mo>⊂</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>B</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>J</mml:mi></mml:munderover><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">Y</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>B</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>B</mml:mi><mml:mo>⊂</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mi>d</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            The scalar <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (or <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">Y</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) is the empirical weight
around <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (or <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and induced from the sampling of
<inline-formula><mml:math id="M213" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> (or <inline-formula><mml:math id="M214" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula>). A natural estimator of
<inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">X</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mi mathvariant="bold">Y</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> can be
written as
            <disp-formula id="Ch1.Ex12"><mml:math id="M216" display="block"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">γ</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>×</mml:mo><mml:mi>B</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:mi>I</mml:mi><mml:mo>,</mml:mo><mml:mi>J</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>A</mml:mi><mml:mo>×</mml:mo><mml:mi>B</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The coefficients <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are the probabilities to transform
<inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., a <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) to <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., a
<inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). They are unknown, and they have to obey the
marginal properties:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M222" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E2"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>J</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E3"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>I</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">Y</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Finally, the cost function defined in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) can be
approximated by
            <disp-formula id="Ch1.E4" content-type="numbered"><mml:math id="M223" display="block"><mml:mrow><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:mi>I</mml:mi><mml:mo>,</mml:mo><mml:mi>J</mml:mi></mml:mrow></mml:munderover><mml:mo>‖</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mo>‖</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Finding <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, i.e., solving the problem defined by constraints of
Eqs. (<xref ref-type="disp-formula" rid="Ch1.E2"/>)–(<xref ref-type="disp-formula" rid="Ch1.E3"/>) and
minimization of Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>), is called a
<italic>linear programming problem</italic>. It can be solved (for example) by the
network simplex algorithm <xref ref-type="bibr" rid="bib1.bibx2" id="paren.26"><named-content content-type="pre">see, e.g.,</named-content></xref>. We use the
python implementation of <xref ref-type="bibr" rid="bib1.bibx15" id="text.27"/>. To correct <inline-formula><mml:math id="M225" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>, we
have to follow the plan of <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. For a realization <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
of <inline-formula><mml:math id="M228" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>, we take the cell <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that contains
<inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Following <inline-formula><mml:math id="M231" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">γ</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula>, <inline-formula><mml:math id="M232" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is moved to
<inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with probability <inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (applying
Eq. (<xref ref-type="disp-formula" rid="Ch1.E2"/>), the sum over <inline-formula><mml:math id="M235" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> is <inline-formula><mml:math id="M236" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>). To determine
<inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, we randomly draw it according to the conditional law
<inline-formula><mml:math id="M238" 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:mrow><mml:msub><mml:mi mathvariant="bold">X</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>J</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.
Finally, we draw uniformly <inline-formula><mml:math id="M239" display="inline"><mml:mi mathvariant="bold">y</mml:mi></mml:math></inline-formula> in <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This methodology is
summarized in Algorithm A1, and we refer to it as optimal transport
correction (OTC).</p><?xmltex \hack{\vspace*{3mm}}?>
      <p id="d1e4169"><?xmltex \hack{\noindent}?><?xmltex \igopts{width=236.157874pt}?><inline-graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-g03.png"/></p>
      <p id="d1e4176"><?xmltex \hack{\vspace*{3mm}}?>Note that the traditional one-dimensional quantile mapping preserves the
ordering of quantiles. In the multivariate case, this type of property can be
viewed as the Monge–<xref ref-type="bibr" rid="bib1.bibx29" id="text.28"/> <italic>shortening principle</italic>
<xref ref-type="bibr" rid="bib1.bibx49" id="paren.29"><named-content content-type="pre">see, e.g.,</named-content><named-content content-type="post">chap. 8</named-content></xref>. The idea is that the
extremes of a multivariate distribution are moved to extremes, the boundary
to the boundary, the level lines to level lines, etc.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><caption><p id="d1e4197">Representation of bias correction in the context of climate change.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Present</oasis:entry>
         <oasis:entry colname="col3">Future</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Numerical model</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Observations</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">unknown (<inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S2.SS5">
  <title>Non-stationary bias correction</title>
      <?pagebreak page778?><p id="d1e4296">Climate models offer a valuable tool to study future realistic climate
trajectories. Climate model outputs of the present period need to be bias
corrected with respect to current observations. Future climate simulations
also need to be adjusted. However, no observation is available for the future
and clear assumptions have to be made to correct simulations for future
periods. Table <xref ref-type="table" rid="Ch1.T1"/> displays the basic framework of bias
correction. Future unobserved data, say <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, should be inferred
from the current reference vector, <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and two numerical runs,
one in the present, say <inline-formula><mml:math id="M247" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and one in the future, say
<inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Period <inline-formula><mml:math id="M249" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula> is called the <italic>calibration period</italic>, and
period <inline-formula><mml:math id="M250" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula> the <italic>projection period</italic>. In the univariate case, denoting
<inline-formula><mml:math id="M251" display="inline"><mml:mrow><mml:msup><mml:mi>F</mml:mi><mml:mi>i</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msup><mml:mi>G</mml:mi><mml:mi>i</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>) the CDF of <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msup><mml:mi>X</mml:mi><mml:mi>i</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mi>i</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>), the CDF-<inline-formula><mml:math id="M255" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> (CDF transform)
method of <xref ref-type="bibr" rid="bib1.bibx30" id="text.30"/> assumes that
            <disp-formula id="Ch1.E5" content-type="numbered"><mml:math id="M256" display="block"><mml:mrow><mml:mo>(</mml:mo><mml:msup><mml:mi>G</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>∘</mml:mo><mml:msup><mml:mi>G</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:msup><mml:mi>F</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>∘</mml:mo><mml:msup><mml:mi>F</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Recombining Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>), the CDF of <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is given by
<inline-formula><mml:math id="M258" display="inline"><mml:mrow><mml:msup><mml:mi>G</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi>G</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>∘</mml:mo><mml:mo>(</mml:mo><mml:msup><mml:mi>F</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>∘</mml:mo><mml:msup><mml:mi>F</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and can be used to perform a
quantile mapping correction. Here, the fundamental hypothesis
<inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> means that the transfer
functions to capture the temporal changes are identical in the model and
observational worlds.</p>
      <p id="d1e4608">CDF-<inline-formula><mml:math id="M260" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> learns the change between <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and transfers it to
<inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> to estimate <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. In the multivariate case, following CDF-<inline-formula><mml:math id="M265" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>, we
want to learn the evolution (i.e., the change or the temporal evolution)
between <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and apply it to
<inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. This generates <inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and OTC can then be
applied between <inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Note also that the
reverse hypothesis <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
could be considered, meaning that the bias is learned, and transferred along
the dynamic. In this case, the correction of example given in
Sect. <xref ref-type="sec" rid="Ch1.S3"/> does not correspond to the
reference (not shown), so we rejected this assumption. Thus, our definition
of non-stationary bias correction assumes a transfer of the evolution of the
model to the observational world. Indeed, climate change is one of the main
signals that we want to account for in the projected corrections. However,
the change in the observations can be different, and therefore the resulting
corrections can also be different from observations. Nevertheless, this
methodology is justified because different simulations can have different
evolutions; e.g., the four RCP scenarios provide four different simulations,
giving four different corrections. This is also true for different climate
models, which can show different changes. This information is therefore kept
in the corrections.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><caption><p id="d1e4781">Estimation of the unobserved random variable <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.
The random variables <inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
are known. Plans <inline-formula><mml:math id="M277" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M278" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> are the optimal joint laws in the
sense of Eqs. (<xref ref-type="disp-formula" rid="Ch1.E2"/>)–(<xref ref-type="disp-formula" rid="Ch1.E4"/>).
<inline-formula><mml:math id="M279" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is the evolution of <inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> estimated from <inline-formula><mml:math id="M281" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula>
and <inline-formula><mml:math id="M282" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula>. OTC is used to correct <inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with respect to the
estimation of <inline-formula><mml:math id="M284" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-f02.png"/>

        </fig>

      <p id="d1e4911">Using OTC, we define two optimal plans: the optimal plan <inline-formula><mml:math id="M285" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula>, between
<inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and the optimal plan <inline-formula><mml:math id="M288" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula>,
between <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The law <inline-formula><mml:math id="M291" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> is the
<italic>bias</italic> between <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, whereas
<inline-formula><mml:math id="M294" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> is the <italic>evolution</italic> between <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Our goal is to move <inline-formula><mml:math id="M297" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> <italic>along</italic> <inline-formula><mml:math id="M298" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula>,
defining a plan <inline-formula><mml:math id="M299" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula>, to estimate <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> as the
evolution of <inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>,
i.e., <inline-formula><mml:math id="M302" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Then, we correct
<inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with respect to
<inline-formula><mml:math id="M304" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, with the OTC method. This
is summarized in Fig. <xref ref-type="fig" rid="Ch1.F2"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><caption><p id="d1e5159">Bivariate histogram with bin size equal to <inline-formula><mml:math id="M305" display="inline"><mml:mn mathvariant="normal">0.1</mml:mn></mml:math></inline-formula>. In each panel we
have a Gaussian law centered on <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> with covariance <inline-formula><mml:math id="M307" display="inline"><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
(<inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>), a Gaussian law centered on <inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
with covariance <inline-formula><mml:math id="M310" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>)
and a Gaussian law centered on <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> with covariance <inline-formula><mml:math id="M313" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
(<inline-formula><mml:math id="M314" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>). The red arrow is the local evolution
between <inline-formula><mml:math id="M315" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M316" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. <bold>(a)</bold> The probability
distribution <inline-formula><mml:math id="M317" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the correction with
OTC-<inline-formula><mml:math id="M318" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M319" display="inline"><mml:mrow><mml:mi mathvariant="bold">D</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="normal">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The grey arrow is the estimation of
the evolution of <inline-formula><mml:math id="M320" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. <bold>(b)</bold> The
probability distribution <inline-formula><mml:math id="M321" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the
correction with dOTC and <inline-formula><mml:math id="M322" display="inline"><mml:mi mathvariant="bold">D</mml:mi></mml:math></inline-formula> given by
Eq. (<xref ref-type="disp-formula" rid="Ch1.E6"/>). The grey arrow is the estimation of the
evolution of <inline-formula><mml:math id="M323" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-f03.png"/>

        </fig>

      <p id="d1e5472">The estimation of <inline-formula><mml:math id="M324" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is performed in three steps:
<list list-type="order"><list-item>
      <p id="d1e5487">transformation of <inline-formula><mml:math id="M325" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> into a collection
of vectors,</p></list-item><list-item>
      <p id="d1e5498">transferral of these vectors along <inline-formula><mml:math id="M326" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> and</p></list-item><list-item>
      <p id="d1e5509">adaptation of these vectors to <inline-formula><mml:math id="M327" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.</p></list-item></list>
To illustrate our methodology, Fig. <xref ref-type="fig" rid="Ch1.F3"/> shows an example
where the random variables <inline-formula><mml:math id="M328" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M329" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M330" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> follow a bivariate Gaussian law. They are, respectively,
centered at <inline-formula><mml:math id="M331" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M333" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, with covariance matrices
<inline-formula><mml:math id="M334" display="inline"><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M336" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> (the
matrix <inline-formula><mml:math id="M337" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="M338" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-dimensional identity matrix). Without
loss of generality, we write the empirical distribution of <inline-formula><mml:math id="M339" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>,
<inline-formula><mml:math id="M340" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M341" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> as a sum of Dirac masses,
            <disp-formula id="Ch1.Ex13"><mml:math id="M342" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>I</mml:mi></mml:munderover><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            <disp-formula id="Ch1.Ex14"><mml:math id="M343" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>J</mml:mi></mml:munderover><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            <disp-formula id="Ch1.Ex15"><mml:math id="M344" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></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">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:munderover><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><caption><p id="d1e5875">Random variables generated by the <xref ref-type="bibr" rid="bib1.bibx21" id="text.31"/>
model, OTC, dOTC, quantile mapping and CDF-<inline-formula><mml:math id="M345" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>. <bold>(a)</bold> Biased random
variable <inline-formula><mml:math id="M346" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red) and references <inline-formula><mml:math id="M347" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (blue) for
time period <inline-formula><mml:math id="M348" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula>. <bold>(b)</bold> Biased random variable <inline-formula><mml:math id="M349" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red)
and correction <inline-formula><mml:math id="M350" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with OTC (green). <bold>(c)</bold> Biased
random variable <inline-formula><mml:math id="M351" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red) and correction <inline-formula><mml:math id="M352" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with
quantile mapping (green). <bold>(d)</bold> Biased random variable
<inline-formula><mml:math id="M353" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red) and references <inline-formula><mml:math id="M354" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (blue) for time period
<inline-formula><mml:math id="M355" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>. <bold>(e)</bold> Biased random variable <inline-formula><mml:math id="M356" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red) and
correction <inline-formula><mml:math id="M357" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with dOTC (green). <bold>(f)</bold> Biased random
variable <inline-formula><mml:math id="M358" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (red) and correction <inline-formula><mml:math id="M359" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> with
CDF-<inline-formula><mml:math id="M360" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> (green).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-f04.png"/>

        </fig>

      <p id="d1e6068"><list list-type="bullet">
            <list-item>

      <p id="d1e6073"><italic>Step 1. Transformation of</italic> <inline-formula><mml:math id="M361" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula><italic>.</italic> Using the OTC method, <inline-formula><mml:math id="M362" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula>
moves the bin <inline-formula><mml:math id="M363" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M364" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> to the bin
<inline-formula><mml:math id="M365" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M366" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The vector
<inline-formula><mml:math id="M367" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>:=</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> represents the evolution from
<inline-formula><mml:math id="M368" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M369" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., the local evolution between
<inline-formula><mml:math id="M370" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M371" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). The collection of vectors
<inline-formula><mml:math id="M372" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is an estimation of the process between <inline-formula><mml:math id="M373" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M374" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. In Fig. <xref ref-type="fig" rid="Ch1.F3"/>, the red arrow is an example
of vector <inline-formula><mml:math id="M375" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
            </list-item>
            <list-item>

      <p id="d1e6281"><italic>Step 2. Transfer along</italic> <inline-formula><mml:math id="M376" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula><italic>.</italic> Using the OTC method, <inline-formula><mml:math id="M377" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> moves
the bin <inline-formula><mml:math id="M378" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M379" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> to the bin
<inline-formula><mml:math id="M380" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M381" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Thus, the estimation of
<inline-formula><mml:math id="M382" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">φ</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> could be defined by the vector <inline-formula><mml:math id="M383" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> applied to
<inline-formula><mml:math id="M384" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>; i.e., a realization of <inline-formula><mml:math id="M385" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is given by
<inline-formula><mml:math id="M386" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The grey arrow in Fig. <xref ref-type="fig" rid="Ch1.F3"/>a
depicts this operation. But the <inline-formula><mml:math id="M387" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> can cross, and the correction
is not coherent. This is due to normalizing issues and because the collection
of vectors <inline-formula><mml:math id="M388" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> applied to <inline-formula><mml:math id="M389" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> does not define an
optimal transport plan. The standard deviation decreases between
<inline-formula><mml:math id="M390" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M391" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, whereas it increases between
<inline-formula><mml:math id="M392" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M393" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> in our example. Furthermore, the
quantiles are inverted in this example (low values are moved to high values).
Consequently, we have to adapt the vectors <inline-formula><mml:math id="M394" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> to
<inline-formula><mml:math id="M395" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
            </list-item>
            <list-item>

      <?pagebreak page779?><p id="d1e6550"><italic>Step 3. Adaptation of</italic> <inline-formula><mml:math id="M396" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula><italic>.</italic> To solve this problem, we
introduce a matrix factor <inline-formula><mml:math id="M397" display="inline"><mml:mi mathvariant="bold">D</mml:mi></mml:math></inline-formula>, which rescales the collection of
vectors <inline-formula><mml:math id="M398" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. In the univariate case, <xref ref-type="bibr" rid="bib1.bibx3" id="text.32"/> proposed a
factor <inline-formula><mml:math id="M399" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:msubsup><mml:mi mathvariant="italic">σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M400" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula>
is the standard deviation. The idea is to remove the scale of
<inline-formula><mml:math id="M401" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and to replace it by the scale of <inline-formula><mml:math id="M402" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.
<xref ref-type="bibr" rid="bib1.bibx1" id="text.33"/> and <xref ref-type="bibr" rid="bib1.bibx4" id="text.34"/> proposed a multivariate
equivalent that uses the Cholesky decomposition of the covariance matrix.
Denoting <inline-formula><mml:math id="M403" display="inline"><mml:mi mathvariant="normal">Σ</mml:mi></mml:math></inline-formula> the covariance matrix, and <inline-formula><mml:math id="M404" display="inline"><mml:mrow><mml:mi mathvariant="normal">Cho</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Σ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> its
Cholesky decomposition, we multiply (in a matrix sense) <inline-formula><mml:math id="M405" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> by the
following matrix:
                  <disp-formula id="Ch1.E6" content-type="numbered"><mml:math id="M406" display="block"><mml:mrow><mml:mi mathvariant="bold">D</mml:mi><mml:mo>:=</mml:mo><mml:mi mathvariant="normal">Cho</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Cho</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
                The Cholesky decomposition only exists if <inline-formula><mml:math id="M407" display="inline"><mml:mi mathvariant="normal">Σ</mml:mi></mml:math></inline-formula> is symmetric and
positive-definite. Some covariance matrices do not have this property, e.g.,
highly correlated random variables. In such a case, <inline-formula><mml:math id="M408" display="inline"><mml:mi mathvariant="normal">Σ</mml:mi></mml:math></inline-formula> must be slightly
perturbed to be positive-definite <xref ref-type="bibr" rid="bib1.bibx17 bib1.bibx19" id="paren.35"><named-content content-type="pre">see, e.g.,</named-content></xref>.
Furthermore, the Cholesky decomposition can be poorly estimated if the number
of available data is too small compared to the dimension. Indeed, the inverse
of a covariance matrix is highly biased. In this case, a pragmatic solution
is to replace the matrix <inline-formula><mml:math id="M409" display="inline"><mml:mi mathvariant="bold">D</mml:mi></mml:math></inline-formula> by the diagonal matrix of the standard
deviation, i.e., <inline-formula><mml:math id="M410" display="inline"><mml:mrow><mml:mi mathvariant="bold">D</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">diag</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:msubsup><mml:mi mathvariant="italic">σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
            </list-item>
          </list></p>
      <p id="d1e6815">Finally, a realization of <inline-formula><mml:math id="M411" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is given by
<inline-formula><mml:math id="M412" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">c</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="bold">D</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Figure <xref ref-type="fig" rid="Ch1.F3"/>b
shows an estimation of <inline-formula><mml:math id="M413" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Visually, the shape of
<inline-formula><mml:math id="M414" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> appears coherent with the evolution between <inline-formula><mml:math id="M415" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M416" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The mean of <inline-formula><mml:math id="M417" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is <inline-formula><mml:math id="M418" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2.53</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The
standard deviation between <inline-formula><mml:math id="M419" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M420" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is divided
by <inline-formula><mml:math id="M421" display="inline"><mml:mn mathvariant="normal">4</mml:mn></mml:math></inline-formula>. The mean shift between <inline-formula><mml:math id="M422" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M423" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is
<inline-formula><mml:math id="M424" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. This shift of <inline-formula><mml:math id="M425" display="inline"><mml:mn mathvariant="normal">10</mml:mn></mml:math></inline-formula> units is correctly taken into account in the
rescaling of <inline-formula><mml:math id="M426" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> by the standard deviation (equal to <inline-formula><mml:math id="M427" display="inline"><mml:mn mathvariant="normal">4</mml:mn></mml:math></inline-formula>)
between <inline-formula><mml:math id="M428" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M429" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>:
            <disp-formula id="Ch1.Ex16"><mml:math id="M430" display="block"><mml:mrow><mml:munder><mml:munder class="underbrace"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2.53</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">mean</mml:mi></mml:mrow></mml:munder><mml:mo>=</mml:mo><mml:munder><mml:munder class="underbrace"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi mathvariant="normal">mean</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">shift</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">between</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="bold">0</mml:mn></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">and</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="bold">1</mml:mn></mml:msup></mml:mrow></mml:munder><mml:mo>/</mml:mo><mml:munder><mml:munder class="underbrace"><mml:mn mathvariant="normal">4</mml:mn><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">Rescaling</mml:mi></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder class="underbrace"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">mean</mml:mi></mml:mrow></mml:munder><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The value of the covariance matrix of <inline-formula><mml:math id="M431" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is
<inline-formula><mml:math id="M432" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">0.018</mml:mn><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. It is close to the
expected value
<inline-formula><mml:math id="M433" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">0.015</mml:mn><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="bold">Id</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The shift of
<inline-formula><mml:math id="M434" display="inline"><mml:mn mathvariant="normal">10</mml:mn></mml:math></inline-formula> units of the model is not
followed. It is interpreted as a correction of the bias into the evolution
of the model. However, depending on the hypotheses desired by the user, the
dOTC method can easily provide corrections whose mean evolutions and trends
are in agreement with those given by the simulations to be corrected, like in
the EDQM bias correction method <xref ref-type="bibr" rid="bib1.bibx20" id="paren.36"/>. The complete method of
correction is summarized in Algorithm A2. We refer to it as dOTC (dynamical
optimal transport correction).</p><?xmltex \hack{\vspace*{3mm}}?>
      <p id="d1e7242"><?xmltex \hack{\noindent}?><?xmltex \igopts{width=236.157874pt}?><inline-graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-g02.png"/></p>
      <p id="d1e7249"><?xmltex \hack{\vspace*{3mm}}?>We first propose evaluating OTC and dOTC on an idealized case.</p>
</sec>
</sec>
<?pagebreak page780?><sec id="Ch1.S3">
  <title>Bias correction on an idealized case</title>
<sec id="Ch1.S3.SS1">
  <title>Model and methodology</title>
      <p id="d1e7265">To evaluate our bias correction method, we construct an idealized biased
case, based on the <xref ref-type="bibr" rid="bib1.bibx21" id="text.37"/> model. This
three-dimensional system is generated by the differential equations
            <disp-formula id="Ch1.E7" content-type="numbered"><mml:math id="M435" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="bold">x</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>-</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The function <inline-formula><mml:math id="M436" display="inline"><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a linear forcing proposed by <xref ref-type="bibr" rid="bib1.bibx10" id="text.38"/>.
Classically, <inline-formula><mml:math id="M437" display="inline"><mml:mi mathvariant="italic">ψ</mml:mi></mml:math></inline-formula> also contains a seasonal cycle <xref ref-type="bibr" rid="bib1.bibx22" id="paren.39"/>, where
the length of a “year” is fixed at <inline-formula><mml:math id="M438" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">73</mml:mn></mml:mrow></mml:math></inline-formula> time units. Here we integrate
this equation for the following forcing between <inline-formula><mml:math id="M439" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula> and <inline-formula><mml:math id="M440" display="inline"><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">73</mml:mn></mml:mrow></mml:math></inline-formula>
(i.e., <inline-formula><mml:math id="M441" display="inline"><mml:mn mathvariant="normal">7</mml:mn></mml:math></inline-formula> “years” of integration):
            <disp-formula id="Ch1.E8" content-type="numbered"><mml:math id="M442" display="block"><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">9.5</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">20</mml:mn><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mi>T</mml:mi></mml:mfrac></mml:mstyle><mml:msub><mml:mn mathvariant="bold">1</mml:mn><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mi>t</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>T</mml:mi><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">6</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">73</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The integration is performed with a Runge–Kutta (order 4) scheme with a time
step of size <inline-formula><mml:math id="M443" display="inline"><mml:mn mathvariant="normal">0.005</mml:mn></mml:math></inline-formula>. All trajectories of the <xref ref-type="bibr" rid="bib1.bibx21" id="text.40"/>
model converge on a unique subset of <inline-formula><mml:math id="M444" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (called an attractor),
and remain trapped on it. According to <xref ref-type="bibr" rid="bib1.bibx10" id="text.41"/>, the first 5
“years” correspond to the time required to trap the trajectories.</p>
      <p id="d1e7569">One realization of random variable <inline-formula><mml:math id="M445" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M446" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>) is
year <inline-formula><mml:math id="M447" display="inline"><mml:mn mathvariant="normal">6</mml:mn></mml:math></inline-formula> (year <inline-formula><mml:math id="M448" display="inline"><mml:mn mathvariant="normal">7</mml:mn></mml:math></inline-formula>). Each year contains <inline-formula><mml:math id="M449" display="inline"><mml:mrow><mml:mn mathvariant="normal">14</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">600</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>(</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">73</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">0.005</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> elements.
According to Eq. (<xref ref-type="disp-formula" rid="Ch1.E8"/>), the linear forcing is applied during
year <inline-formula><mml:math id="M450" display="inline"><mml:mn mathvariant="normal">7</mml:mn></mml:math></inline-formula>. The non-stationarity is induced by the change between the two time
periods.</p>
      <p id="d1e7642">We introduce a bias by multiplying each point of the trajectories by a
triangular matrix <inline-formula><mml:math id="M451" display="inline"><mml:mi mathvariant="bold">S</mml:mi></mml:math></inline-formula>, and add a vector <inline-formula><mml:math id="M452" display="inline"><mml:mi mathvariant="bold-italic">m</mml:mi></mml:math></inline-formula>,
i.e., <inline-formula><mml:math id="M453" display="inline"><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold">SY</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">m</mml:mi></mml:mrow></mml:math></inline-formula>. The addition changes the
mean, whereas the multiplication alters the covariances. The matrix
<inline-formula><mml:math id="M454" display="inline"><mml:mi mathvariant="bold">S</mml:mi></mml:math></inline-formula> is chosen empirically such that the covariance matrices of
<inline-formula><mml:math id="M455" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M456" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M457" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M458" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
differ. We fix
            <disp-formula id="Ch1.Ex17"><mml:math id="M459" display="block"><mml:mrow><mml:mi mathvariant="bold">S</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">1.22</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.41</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1.04</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.41</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.56</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.52</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="bold-italic">m</mml:mi><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">2</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">3</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><caption><p id="d1e7800"><bold>(a)</bold> Map of the southeast of France. The <inline-formula><mml:math id="M460" display="inline"><mml:mn mathvariant="normal">12</mml:mn></mml:math></inline-formula> black squares
are the locations where corrections are performed. <bold>(b–h)</bold> The <inline-formula><mml:math id="M461" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>
axis of the panels is the evolution of the correction with dOTC. The <inline-formula><mml:math id="M462" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis
of panels <bold>(b)</bold>–<bold>(h)</bold> is the evolution of WRF in red and the
evolution of SAFRAN in blue. The red line is the linear regression between
the evolution of correction and the evolution of WRF. The black cross markers
are the scatterplots between the evolution of correction with CDF-<inline-formula><mml:math id="M463" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> and
evolution of WRF. <bold>(b)</bold> Evolution of mean precipitation,
i.e., difference between the projection period and the calibration period.
<bold>(c)</bold> Evolution of variance of precipitation. <bold>(d)</bold> Evolution
of spatial covariance of precipitation. <bold>(e)</bold> Evolution of covariance
between precipitation and temperatures. <bold>(f)</bold> Evolution of mean
temperatures. <bold>(g)</bold> Evolution of variance of temperatures.
<bold>(h)</bold> Evolution of spatial covariance of temperatures.</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://hess.copernicus.org/articles/23/773/2019/hess-23-773-2019-f05.png"/>

        </fig>

      <?pagebreak page781?><p id="d1e7872">The random variables <inline-formula><mml:math id="M464" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M465" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> are plotted in
Fig. <xref ref-type="fig" rid="Ch1.F4"/>a, d. The blue (red) curve of
Fig. <xref ref-type="fig" rid="Ch1.F4"/>a is the trajectory of <inline-formula><mml:math id="M466" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
(<inline-formula><mml:math id="M467" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). The mean is largely altered. We estimate the covariance
matrices as

                <disp-formula specific-use="align"><mml:math id="M468" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.43</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.37</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.24</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.37</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.93</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.17</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.24</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.17</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.69</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.64</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.68</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.62</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.68</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1.39</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1.0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.62</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1.0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.92</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            Similarly to Fig. <xref ref-type="fig" rid="Ch1.F4"/>a, d depicts in blue
<inline-formula><mml:math id="M469" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and in red <inline-formula><mml:math id="M470" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The forcing of
Eq. (<xref ref-type="disp-formula" rid="Ch1.E8"/>) has changed the properties of the trajectories, and
they became chaotic. It is worthwhile noticing that the dynamic of
<inline-formula><mml:math id="M471" display="inline"><mml:mi mathvariant="bold">Y</mml:mi></mml:math></inline-formula> is comparable to the one of <inline-formula><mml:math id="M472" display="inline"><mml:mi mathvariant="bold">X</mml:mi></mml:math></inline-formula>. The covariance
matrices are largely affected:

                <disp-formula specific-use="align"><mml:math id="M473" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.27</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.09</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.14</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.09</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.81</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.08</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.14</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.08</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.73</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.4</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.29</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1.0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.65</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.29</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.65</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.64</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p id="d1e8232">We estimate the empirical distributions <inline-formula><mml:math id="M474" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>,
<inline-formula><mml:math id="M475" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M476" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M477" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with a three-dimensional histogram. We cut a
large cube around the trajectories into cells of size
<inline-formula><mml:math id="M478" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula>. Then we count the number of points in each cell.</p>
      <p id="d1e8311">Finally, we evaluate the quality of the correction by comparing the
covariance matrices of <inline-formula><mml:math id="M479" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M480" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and the
covariance matrices of <inline-formula><mml:math id="M481" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M482" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <title>Correction of the biased Lorenz (1984) model</title>
      <p id="d1e8364">We apply our method to correct <inline-formula><mml:math id="M483" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M484" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The
random variable <inline-formula><mml:math id="M485" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is corrected with respect to
<inline-formula><mml:math id="M486" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and using the OTC method. The random variable
<inline-formula><mml:math id="M487" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is corrected with respect to the estimation of
<inline-formula><mml:math id="M488" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, coming from the dOTC method. The resulting random variables
<inline-formula><mml:math id="M489" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M490" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> are given in
Fig. <xref ref-type="fig" rid="Ch1.F4"/>b, e. We show in Fig. 4c, f a univariate
correction with quantile mapping for the period 0, generating the random
variable <inline-formula><mml:math id="M491" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The same is shown for CDFt, period 1 and the random
variable <inline-formula><mml:math id="M492" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e8480">The correction <inline-formula><mml:math id="M493" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is visually very similar to the reference
in blue in Fig. <xref ref-type="fig" rid="Ch1.F4"/>a. The covariance matrix is almost
perfectly reproduced:

                <disp-formula specific-use="align"><mml:math id="M494" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.42</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.36</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.24</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.36</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.93</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.17</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.24</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.17</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.69</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtext>sup</mml:mtext><mml:mfenced open="|" close="|"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.004</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            The correction <inline-formula><mml:math id="M495" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is depicted in green in
Fig. <xref ref-type="fig" rid="Ch1.F4"/>d. It is visually hard to compare to
Fig. <xref ref-type="fig" rid="Ch1.F4"/>b, but we recognize <inline-formula><mml:math id="M496" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The
covariance matrix is correctly rectified:

                <disp-formula specific-use="align"><mml:math id="M497" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.26</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.82</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.08</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.08</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.71</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>sup</mml:mtext><mml:mfenced open="|" close="|"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.03</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            Finally, the cost of transformation, given by Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>),
of <inline-formula><mml:math id="M498" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> into <inline-formula><mml:math id="M499" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is 93 % smaller than the cost between
<inline-formula><mml:math id="M500" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M501" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>; i.e., <inline-formula><mml:math id="M502" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is more
similar to <inline-formula><mml:math id="M503" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> than <inline-formula><mml:math id="M504" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="double-struck">P</mml:mi><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.
Furthermore, if we replace the Cholesky matrix of dOTC by the matrix of
standard deviation, the maximum difference between covariance matrices
increases to <inline-formula><mml:math id="M505" display="inline"><mml:mn mathvariant="normal">0.22</mml:mn></mml:math></inline-formula>, but the cost is 85 % smaller. Thus, using the standard
deviation slightly degrades the correction.<?pagebreak page782?> However, visually, it is very
hard to distinguish the corrections with the Cholesky matrix or the standard
deviation matrix. The figure corresponding to Fig. <xref ref-type="fig" rid="Ch1.F4"/>
with the standard deviation matrix is given in the Supplement.</p>
      <p id="d1e8853">By contrast, <inline-formula><mml:math id="M506" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M507" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, depicted,
respectively, in Fig. <xref ref-type="fig" rid="Ch1.F4"/>c, f, do not reproduce
<inline-formula><mml:math id="M508" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M509" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Thus, the multivariate correction is
largely better than the univariate correction. This is confirmed by the
covariance matrices, which reproduce exactly the covariances of
<inline-formula><mml:math id="M510" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M511" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>:

                <disp-formula specific-use="align"><mml:math id="M512" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.42</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.95</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.68</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.68</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.69</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>sup</mml:mtext><mml:mfenced close="|" open="|"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.51</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

                <disp-formula specific-use="align"><mml:math id="M513" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.13</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.14</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.59</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.39</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.14</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.39</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0.46</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtext>sup</mml:mtext><mml:mfenced close="|" open="|"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="normal">Cov</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.31</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            We have performed a tri-variate correction on a nonlinear system exhibiting
non-standard probability measures (i.e., non-Gaussian, non-exponential). In
the stationary case, the OTC method works almost perfectly. In the
non-stationary case, the dOTC method produces a probability distribution
closed to the expected result. We propose now to apply OTC and dOTC to
climate model simulations.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <title>Bias correction of an RCM simulation</title>
<sec id="Ch1.S4.SS1">
  <title>Data</title>
      <p id="d1e9165">The dataset used as a reference for the bias correction (BC) is the Systeme
d'Analyse Fournissant des Renseignements Atmospheriques a la Neige
<xref ref-type="bibr" rid="bib1.bibx48" id="paren.42"><named-content content-type="pre">SAFRAN,</named-content></xref> reanalysis. SAFRAN is a hourly reanalysis
over France between 1958 and present, with a horizontal resolution of
<inline-formula><mml:math id="M514" display="inline"><mml:mn mathvariant="normal">8</mml:mn></mml:math></inline-formula> km <inline-formula><mml:math id="M515" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M516" display="inline"><mml:mn mathvariant="normal">8</mml:mn></mml:math></inline-formula> km. <xref ref-type="bibr" rid="bib1.bibx37" id="text.43"/> claimed that the daily
mean of the surface atmospheric temperature (tas) and precipitation (pr)
presents no bias compared to observations from the climatological database of
Météo-France. This justifies the use of SAFRAN as a reference.</p>
      <p id="d1e9197">We test our multivariate BC method on a simulation of the Weather Research
and Forecast (WRF) atmospheric model <xref ref-type="bibr" rid="bib1.bibx45" id="paren.44"/> performed within
the EURO-CORDEX initiative <xref ref-type="bibr" rid="bib1.bibx47 bib1.bibx18" id="paren.45"/> with a
0.11<inline-formula><mml:math id="M517" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> <inline-formula><mml:math id="M518" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 0.11<inline-formula><mml:math id="M519" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> horizontal resolution. The boundaries
of the simulation were forced by a historical simulation of the Institut
Pierre-Simon Laplace (IPSL) coupled model <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx11" id="paren.46"/>.
This EURO-CORDEX historical simulation will be called “WRF” in the
following.</p>
      <p id="d1e9235">SAFRAN and WRF data are re-mapped onto the same grid, with a spatial
resolution of 0.11<inline-formula><mml:math id="M520" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> <inline-formula><mml:math id="M521" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 0.11<inline-formula><mml:math id="M522" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>
(i.e., <inline-formula><mml:math id="M523" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 12 km <inline-formula><mml:math id="M524" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 12 km). The nearest neighbor interpolation
is used. We only keep the land region comprised in
1.8–7.85<inline-formula><mml:math id="M525" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E <inline-formula><mml:math id="M526" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 41.8–45.2<inline-formula><mml:math id="M527" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, i.e., covering the
southeast of France. This region is characterized by a complex topography,
which creates a strong spatial heterogeneity, especially for precipitation.
For the present application, we extract <inline-formula><mml:math id="M528" display="inline"><mml:mn mathvariant="normal">12</mml:mn></mml:math></inline-formula> grid points regularly spaced
(see Fig. <xref ref-type="fig" rid="Ch1.F5"/>a), with a one-to-one spatial
correspondence between SAFRAN and WRF.</p>
      <p id="d1e9312">In both datasets, we will consider daily surface air temperatures and
precipitation. The goal of this section is to correct the bias in tas and pr
in the WRF data with respect to SAFRAN.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <title>Cross-validation protocol</title>
      <p id="d1e9321">We focus on the daily timescale over the 1970–2000 period. We correct the
warm season (May–September). The analysis and conclusions are available for
the cold season, and the corresponding figure
(i.e., Fig. <xref ref-type="fig" rid="Ch1.F5"/>) is given in the Supplement. We
split that period into two sub-periods, 1970–1985 (2295 days) and 1985–2000
(2295 days), to perform a cross-validation. The SAFRAN (WRF) values over the
first time period correspond to the random variable <inline-formula><mml:math id="M529" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
(<inline-formula><mml:math id="M530" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>), and are called the <italic>calibration period</italic>. The
SAFRAN (WRF) values over the second time period correspond to
<inline-formula><mml:math id="M531" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M532" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>), and are called the <italic>projection period</italic>. SAFRAN during 1985–2000 (i.e., <inline-formula><mml:math id="M533" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>) is assumed to be
unknown, and is used for cross-validation.</p>
      <p id="d1e9388">We perform two bias corrections: univariate and <inline-formula><mml:math id="M534" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate (<inline-formula><mml:math id="M535" display="inline"><mml:mn mathvariant="normal">12</mml:mn></mml:math></inline-formula> grid
points and <inline-formula><mml:math id="M536" display="inline"><mml:mn mathvariant="normal">2</mml:mn></mml:math></inline-formula> variables).
<list list-type="order"><list-item>
      <p id="d1e9414">For univariate correction, quantile mapping is used for the calibration
period, and CDF-<inline-formula><mml:math id="M537" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> for the projection period.</p></list-item><list-item>
      <p id="d1e9425">For <inline-formula><mml:math id="M538" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate correction, OTC is used for the calibration period,
and dOTC for the projection period. The spatial structure and the
dependence between the two variables are used. Due to the dimension,
the Cholesky matrix is poorly estimated. We replace it by the matrix
of standard deviation in the rescaling step.</p></list-item></list>
We estimate the empirical distributions by computing histograms with bins of
size <inline-formula><mml:math id="M539" display="inline"><mml:mn mathvariant="normal">0.1</mml:mn></mml:math></inline-formula> in each dimension. Furthermore, CDF-<inline-formula><mml:math id="M540" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> and dOTC can shift close
to <inline-formula><mml:math id="M541" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula> values to negative values for precipitation. Thus, negative
precipitation values are replaced by <inline-formula><mml:math id="M542" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula> after correction. We test the
quality of the correction by plotting the evolution of the mean, the standard
deviation, and the spatial and inter-variable covariance, i.e., the
difference between the projection and calibration periods. These indicators
are summarized in Fig. <xref ref-type="fig" rid="Ch1.F5"/>. During the
calibration period, the goal is that the probability distribution of
correction of the WRF simulation will be the probability distribution of
SAFRAN. By construction of OTC, the correction is almost perfect, and we
focus on the projection period. In the projection period, the goal is that
the evolution of corrections will be close to the evolution of the WRF
simulation.</p>
</sec>
<?pagebreak page783?><sec id="Ch1.S4.SS3">
  <title>Evolution analysis</title>
      <p id="d1e9473">As we have seen in the previous section, the corrections of <inline-formula><mml:math id="M543" display="inline"><mml:mrow><mml:mi mathvariant="bold">X</mml:mi><mml:msup><mml:mi/><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M544" display="inline"><mml:mrow><mml:mi mathvariant="bold">Y</mml:mi><mml:msup><mml:mi/><mml:mn mathvariant="normal">1</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> are identical only if the evolution of SAFRAN is
identical to the evolution of WRF. To analyze the evolution of WRF, SAFRAN
and the corrections, we compute the difference of statistical indicators
between the projection and the calibration period at each grid point. The
indicators are the mean (Fig. <xref ref-type="fig" rid="Ch1.F5"/>b, f), the
variance (Fig. <xref ref-type="fig" rid="Ch1.F5"/>c, g), the covariance between
pr and tas (Fig. <xref ref-type="fig" rid="Ch1.F5"/>e) and the spatial covariance
for each variable (Fig. <xref ref-type="fig" rid="Ch1.F5"/>d, h).</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2"><caption><p id="d1e9512"><inline-formula><mml:math id="M545" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>-value, <inline-formula><mml:math id="M546" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value and standard error (SE) of linear regression
between the evolution of correction and evolution of WRF.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M547" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>-value</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M548" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value</oasis:entry>
         <oasis:entry colname="col4">SE</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Mean evolution pr</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M549" display="inline"><mml:mn mathvariant="normal">0.98</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M550" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">8</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M551" display="inline"><mml:mn mathvariant="normal">0.08</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Mean evolution tas</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M552" display="inline"><mml:mn mathvariant="normal">0.99</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M553" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M554" display="inline"><mml:mn mathvariant="normal">0.05</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Variance evolution pr</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M555" display="inline"><mml:mn mathvariant="normal">0.71</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M556" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M557" display="inline"><mml:mn mathvariant="normal">0.37</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Variance evolution tas</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M558" display="inline"><mml:mn mathvariant="normal">0.57</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M559" display="inline"><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M560" display="inline"><mml:mn mathvariant="normal">0.25</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Covariance pr/tas evolution</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M561" display="inline"><mml:mn mathvariant="normal">0.81</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M562" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M563" display="inline"><mml:mn mathvariant="normal">0.24</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Spatial covariance pr</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M564" display="inline"><mml:mn mathvariant="normal">0.59</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M565" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">14</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M566" display="inline"><mml:mn mathvariant="normal">0.08</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Spatial covariance tas</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M567" display="inline"><mml:mn mathvariant="normal">0.76</mml:mn></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M568" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">29</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M569" display="inline"><mml:mn mathvariant="normal">0.05</mml:mn></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d1e9842">The <inline-formula><mml:math id="M570" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis of Fig. <xref ref-type="fig" rid="Ch1.F5"/>a–h is the evolution of
the correction
(i.e., <inline-formula><mml:math id="M571" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,…).
The <inline-formula><mml:math id="M572" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis of Fig. <xref ref-type="fig" rid="Ch1.F5"/>a–h is the evolution of
WRF in red
(i.e., <inline-formula><mml:math id="M573" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">X</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,…),
and the evolution of SAFRAN in blue
(i.e., <inline-formula><mml:math id="M574" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="double-struck">E</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold">Y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,…).
Furthermore, the red line is the linear regression between the evolution of
the <inline-formula><mml:math id="M575" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate correction and the evolution of WRF. The correlation
(<inline-formula><mml:math id="M576" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>-value), <inline-formula><mml:math id="M577" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value and standard error of each linear regression are
summarized in Table <xref ref-type="table" rid="Ch1.T2"/>.</p>
      <p id="d1e9977">The linear regression between evolution of <inline-formula><mml:math id="M578" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate correction and
evolution of WRF (red line) shows a strong statistical link for all
statistical indicators. The evolution of the mean is almost perfectly
reproduced for the two variables (<inline-formula><mml:math id="M579" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>-values is at least equal to <inline-formula><mml:math id="M580" display="inline"><mml:mn mathvariant="normal">0.98</mml:mn></mml:math></inline-formula>,
with a maximal <inline-formula><mml:math id="M581" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value at <inline-formula><mml:math id="M582" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>). The evolution of variance of WRF is
also reproduced, the linear regression being significant (maximal <inline-formula><mml:math id="M583" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value
is <inline-formula><mml:math id="M584" display="inline"><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d1e10049">The evolution of dependence structure is given by the evolution of spatial
and inter-variables covariance. The minimal <inline-formula><mml:math id="M585" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>-value for linear regression
is equal to <inline-formula><mml:math id="M586" display="inline"><mml:mn mathvariant="normal">0.59</mml:mn></mml:math></inline-formula> with a maximal <inline-formula><mml:math id="M587" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>-value equal to <inline-formula><mml:math id="M588" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. This
means that dOTC reproduces the evolution of WRF between calibration and
projection period. Because the calibration period is perfectly corrected, the
correction during projection period appears as the evolution of WRF, applied
to SAFRAN.</p>
      <p id="d1e10091">A linear regression, the Spearman rank correlation between the evolution of
SAFRAN, and the evolution of the correction with WRF do not show a
significant statistical link (not shown). We conclude that the evolution of
WRF is different of the evolution of SAFRAN. This indicates it is not
possible to reproduce SAFRAN during projection period using dOTC and WRF. For
example, WRF predicts an increase between 0.2 and 0.4 K of the mean
temperature, whereas SAFRAN gives an increase between 0.2 and 1 K.</p>
      <p id="d1e10094">The correction with CDF-<inline-formula><mml:math id="M589" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> appears to be satisfactory for the temperatures,
and very similar to the correction with dOTC. But for the precipitation, the
structure is not coherent with WRF or SAFRAN. This dissimilarity is due to
the difference between the probability distribution of temperatures
(quasi-Gaussian) and precipitations (exponential/Gamma laws).</p>
      <p id="d1e10104">We conclude that the evolution of the <inline-formula><mml:math id="M590" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate correction with dOTC
between calibration and projection periods is close to the evolution of WRF.
Furthermore, the evolution of SAFRAN is very different from the evolution of
WRF. In particular, this example illustrates how the classical
cross-validation methodology does not differentiate the variations of SAFRAN
and WRF, and that the correction can not be compared to the reference during
the projection period.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <title>Conclusions</title>
      <p id="d1e10122">We have developed a new method for multivariate bias correction, generalizing
the quantile mapping in the multivariate case. To do so, we have developed a
new theoretical framework to understand any bias correction (BC) method: any
BC method is here characterized by a joint law between the biased dataset and
the correction. This joint probability distribution is estimated based on
optimal transport techniques, and the BC method is then referred to as
optimal transport correction (OTC). A definition of non-stationary bias
correction is also proposed: the evolution of the model is learned and
transferred to the reference world. An extension of OTC called dynamical OTC
(dOTC) has been developed to account for temporal non-stationarities.</p>
      <p id="d1e10125">OTC and dOTC methods have been tested on an idealized three-dimensional case
based on <xref ref-type="bibr" rid="bib1.bibx21" id="text.47"/> time-dependent attractors, which
induced changes in the correlation between variables. The bias correction
appeared to perform very well in those idealized experiments.</p>
      <p id="d1e10131">Then, <inline-formula><mml:math id="M591" display="inline"><mml:mn mathvariant="normal">12</mml:mn></mml:math></inline-formula> grid points of a WRF simulation have been corrected with respect
to SAFRAN reanalyses for precipitation and temperature in Southern France. A
<inline-formula><mml:math id="M592" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula>-variate correction was performed. The correction in stationary context
was almost perfect. In the non-stationary case, the evolutions of WRF and
SAFRAN were different, and, as expected, the correction with dOTC differed
from SAFRAN. However, the correction presented a multidimensional evolution
similar to that of WRF. We can therefore conclude that the correction is
consistent with the definition proposed for the non-stationary case.</p>
      <p id="d1e10148">This is consistent with the results of <xref ref-type="bibr" rid="bib1.bibx27" id="text.48"/>: the fundamental
errors of a model are not corrected, but<?pagebreak page784?> transferred to the world of
observations. The dOTC method preserves the signal of climate change inferred
from the model simulations. As suggested by <xref ref-type="bibr" rid="bib1.bibx26" id="text.49"/>, our
cross-validation method does not compare the correction to the observations
on the validation period, which can produce false positive or true negative
due to internal variability of model or observations, but assesses whether
the statistical evolution of the model is kept.</p>
      <p id="d1e10158">Furthermore, although the number of available data is very small compared to
the dimensions (2295 days and <inline-formula><mml:math id="M593" display="inline"><mml:mn mathvariant="normal">24</mml:mn></mml:math></inline-formula> dimensions), the OTC and dOTC performed a
correction without numerical problems, and, moreover, only in a few minutes
on a personal computer.</p>
      <p id="d1e10168">The methods OTC and dOTC are able to correct the dependence structure
(i.e., the joint law), and not only the inter-variable and spatial
correlations. In particular, the copula function (which contains the
information about dependence) is corrected. In addition, dOTC proposes a
definition of non-stationarity, and explicitly gives what the correction
corresponds to (the evolution of the model applied to observations). In the
particular case of the temperatures/precipitation correction, compared to,
e.g., <xref ref-type="bibr" rid="bib1.bibx35" id="text.50"/> and <xref ref-type="bibr" rid="bib1.bibx39" id="text.51"/>, the correction is at least as
good during the calibration period, although the comparison is not done over
the projection period, because the indicators are different.</p>
      <p id="d1e10177">As a perspective of improvement of the method, we note that the optimal plan
can only be used to correct data points that are already known. If a new data
point is obtained, and alters the estimate of the probability density
function, then the plan needs to be recomputed. However, such a situation is
relatively rare in bias correction. Indeed, the corrections usually have
to be performed on climate model simulations that cover many
years and decades. This means that the
whole time series are available at once and are not continuously updated.
One possibility would be to “smooth” the optimal plan that,
thus, could be applied to new points without recalculating the plan.
Finally, a promising application of this method is the post-processing of
operational forecasts.
In such a case, the question of internal variability <xref ref-type="bibr" rid="bib1.bibx27" id="paren.52"/>
would not affect the bias correction procedure as climate
dynamics is consistently represented between the model and observations.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability">

      <p id="d1e10187">OTC and dOTC are implemented in two packages: ARyga (R)
and Apyga (python3). These packages are available at
<uri>https://github.com/yrobink/Ayga.git</uri> <xref ref-type="bibr" rid="bib1.bibx40" id="paren.53"/>. The example of
Sect. <xref ref-type="sec" rid="Ch1.S3"/> is given in Apyga. SAFRAN and
EURO-CORDEX data are, respectively, available at:
<uri>http://www.drias-climat.fr</uri> (last access: 29 January 2019) and
<uri>https://www.euro-cordex.net</uri> (last access: 29 January 2019).</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e10204">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/hess-23-773-2019-supplement" xlink:title="pdf">https://doi.org/10.5194/hess-23-773-2019-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution">

      <p id="d1e10213">YR performed the analyses. The experiments were co-designed by
YR and MV. All the authors contributed to writing the manuscript.</p>
  </notes><notes notes-type="competinginterests">

      <p id="d1e10219">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e10225">This work was supported by ERC grant no. 338965-A2C2.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> Edited by: Uwe Ehret<?xmltex \hack{\newline}?> Reviewed by: Michael
Muskulus and one anonymous referee</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{B{\'{a}}rdossy and Pegram(2012)}}?><label>Bárdossy and Pegram(2012)</label><mixed-citation>Bárdossy, A. and Pegram, G.: Multiscale spatial recorrelation of RCM
precipitation to produce unbiased climate change scenarios over large areas
and small, Water Resour. Res., 48, W09502, <ext-link xlink:href="https://doi.org/10.1029/2011WR011524" ext-link-type="DOI">10.1029/2011WR011524</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Bazaraa et al.(2009)Bazaraa, Jarvis, and Sherali</label><mixed-citation>
Bazaraa, M. S., Jarvis, J. J., and Sherali, H. D.: Linear Programming and
Network Flows, 4th edn., John Wiley &amp; Sons, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{B{\"{u}}rger et~al.(2011)B{\"{u}}rger, Schulla, and Werner}}?><label>Bürger et al.(2011)Bürger, Schulla, and Werner</label><mixed-citation>Bürger, G., Schulla, J., and Werner, A. T.: Estimates of future flow,
including extremes, of the Columbia River headwaters, Water Resour. Res., 47,
W10520, <ext-link xlink:href="https://doi.org/10.1029/2010WR009716" ext-link-type="DOI">10.1029/2010WR009716</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Cannon(2016)</label><mixed-citation>Cannon, A. J.: Multivariate Bias Correction of Climate Model Output: Matching
Marginal Distributions and Intervariable Dependence Structure, J. Climate, 29,
7045–7064, <ext-link xlink:href="https://doi.org/10.1175/JCLI-D-15-0679.1" ext-link-type="DOI">10.1175/JCLI-D-15-0679.1</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Cannon(2018)</label><mixed-citation>Cannon, A. J.: Multivariate quantile mapping bias correction: an N-dimensional
probability density function transform for climate model simulations of
multiple variables, Clim. Dynam, 50, 31–49, <ext-link xlink:href="https://doi.org/10.1007/s00382-017-3580-6" ext-link-type="DOI">10.1007/s00382-017-3580-6</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Chen et al.(2013)Chen, Brissette, Chaumont, and Braun</label><mixed-citation>Chen, J., Brissette, F. P., Chaumont, D., and Braun, M.: Finding appropriate
bias correction methods in downscaling precipitation for hydrologic impact
studies over North America, Water Resour. Res., 49, 4187–4205,
<ext-link xlink:href="https://doi.org/10.1002/wrcr.20331" ext-link-type="DOI">10.1002/wrcr.20331</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Christensen et al.(2008)Christensen, Boberg, Christensen, and
Lucas-Picher</label><mixed-citation>Christensen, J. H., Boberg, F., Christensen, O. B., and Lucas-Picher, P.: On
the need for bias correction of regional climate change projections of
temperature and precipitation, Geophys. Res. Lett., 35, L20709, <ext-link xlink:href="https://doi.org/10.1029/2008GL035694" ext-link-type="DOI">10.1029/2008GL035694</ext-link>,
2008.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Dekens et al.(2017)Dekens, Parey, Grandjacques, and
Dacunha-Castelle</label><mixed-citation>Dekens, L., Parey, S., Grandjacques, M., and Dacunha-Castelle, D.: Multivariate
distribution correction of climate model outputs: A generalization of
quantile mapping approaches, Environmetrics, 28, E2454,
<ext-link xlink:href="https://doi.org/10.1002/env.2454" ext-link-type="DOI">10.1002/env.2454</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{D{\'{e}}qu{\'{e}}(2007)}}?><label>Déqué(2007)</label><mixed-citation>Déqué, M.: Frequency of precipitation and temperature extremes over
France in an anthropogenic scenario: Model results and statistical correction
according to observed values, Global Planet. Change, 57, 16–26,
<ext-link xlink:href="https://doi.org/10.1016/j.gloplacha.2006.11.030" ext-link-type="DOI">10.1016/j.gloplacha.2006.11.030</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{Dr{\'{o}}tos et~al.(2015)}}?><label>Drótos et al.(2015)</label><mixed-citation>Drótos, G., Bódai, T., and Tél, T.: Probabilistic concepts in a
changing climate: a snapshot attractor picture, J. Climate, 28, 3275–3288,
<ext-link xlink:href="https://doi.org/10.1175/JCLI-D-14-00459.1" ext-link-type="DOI">10.1175/JCLI-D-14-00459.1</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Dufresne et al.(2013)</label><mixed-citation>Dufresne, J.-L., Foujols, M.-A., Denvil, S., Caubel, A., Marti, O., Aumont, O.,
Balkanski, Y., Bekki, S., Bellenger, H., Benshila, R., Bony, S., Bopp, L.,
Braconnot, P., Brockmann, P., Cadule, P., Cheruy, F., Codron, F., Cozic, A.,
Cugnet, D., de Noblet, N., Duvel, J.-P., Ethé, C., Fairhead, L.,
Fichefet, T., Flavoni, S., Friedlingstein, P., Grandpeix, J.-Y., Guez, L.,
Guilyardi, E., Hauglustaine, D., Hourdin, F., Idelkadi, A., Ghattas, J.,
Joussaume, S., Kageyama, M., Krinner, G., Labetoulle, S., Lahellec, A.,
Lefebvre, M.-P., Lefevre, F., Levy, C., Li, Z. X., Lloyd, J., Lott, F.,
Madec, G., Mancip, M., Marchand, M., Masson, S., Meurdesoif, Y., Mignot, J.,
Musat, I., Parouty, S., Polcher, J., Rio, C., Schulz, M., Swingedouw, D.,
Szopa, S., Talandier, C., Terray, P., Viovy, N., and Vuichard, N.: Climate
change projections using the IPSL-CM5 Earth System Model: from CMIP3 to
CMIP5, Clim. Dynam, 40, 2123–2165, <ext-link xlink:href="https://doi.org/10.1007/s00382-012-1636-1" ext-link-type="DOI">10.1007/s00382-012-1636-1</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Ehret et al.(2012)Ehret, Zehe, Wulfmeyer, Warrach-Sagi, and
Liebert</label><mixed-citation>Ehret, U., Zehe, E., Wulfmeyer, V., Warrach-Sagi, K., and Liebert, J.: HESS Opinions
“Should we apply bias correction to global and regional climate model data?”,
Hydrol. Earth Syst. Sci., 16, 3391–3404, <ext-link xlink:href="https://doi.org/10.5194/hess-16-3391-2012" ext-link-type="DOI">10.5194/hess-16-3391-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Farchi et~al.(2016)Farchi, Bocquet, Roustan, Mathieu, and
Qu{\'{e}}rel}}?><label>Farchi et al.(2016)Farchi, Bocquet, Roustan, Mathieu, and
Quérel</label><mixed-citation>Farchi, A., Bocquet, M., Roustan, Y., Mathieu, A., and Quérel, A.: Using
the Wasserstein distance to compare fields of pollutants: application to the
radionuclide atmospheric dispersion of the Fukushima-Daiichi accident, Tellus
B, 68, 31682, <ext-link xlink:href="https://doi.org/10.3402/tellusb.v68.31682" ext-link-type="DOI">10.3402/tellusb.v68.31682</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Ferradans et~al.(2013)Ferradans, Papadakis, Rabin, Peyr{\'{e}}, and
Aujol}}?><label>Ferradans et al.(2013)Ferradans, Papadakis, Rabin, Peyré, and
Aujol</label><mixed-citation>Ferradans, S., Papadakis, N., Rabin, J., Peyré, G., and Aujol, J.-F.:
Regularized Discrete Optimal Transport,  Springer Berlin
Heidelberg, Berlin, Heidelberg, 428–439, <ext-link xlink:href="https://doi.org/10.1007/978-3-642-38267-3_36" ext-link-type="DOI">10.1007/978-3-642-38267-3_36</ext-link>,
2013.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Flamary and Courty(2017)</label><mixed-citation>
Flamary, R. and Courty, N.: POT Python Optimal Transport library, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Gudmundsson et al.(2012)Gudmundsson, Bremnes, Haugen, and
Engen-Skaugen</label><mixed-citation>Gudmundsson, L., Bremnes, J. B., Haugen, J. E., and Engen-Skaugen, T.: Technical Note:
Downscaling RCM precipitation to the station scale using statistical transformations
– a comparison of methods, Hydrol. Earth Syst. Sci., 16, 3383–3390, <ext-link xlink:href="https://doi.org/10.5194/hess-16-3383-2012" ext-link-type="DOI">10.5194/hess-16-3383-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Higham(1988)</label><mixed-citation>Higham, N. J.: Computing a nearest symmetric positive semidefinite matrix,
Linear Algebra Appl., 103, 103–118,
<ext-link xlink:href="https://doi.org/10.1016/0024-3795(88)90223-6" ext-link-type="DOI">10.1016/0024-3795(88)90223-6</ext-link>, 1988.</mixed-citation></ref>
      <ref id="bib1.bibx18"><?xmltex \def\ref@label{{Jacob et~al.(2014)Jacob, Petersen, Eggert, Alias, Christensen,
Bouwer, Braun, Colette, D{\'{e}}qu{\'{e}}, Georgievski, Georgopoulou, Gobiet,
Menut, Nikulin, Haensler, Hempelmann, Jones, Keuler, Kovats, Kr{\"{o}}ner,
Kotlarski, Kriegsmann, Martin, van Meijgaard, Moseley, Pfeifer, Preuschmann,
Radermacher, Radtke, Rechid, Rounsevell, Samuelsson, Somot, Soussana,
Teichmann, Valentini, Vautard, Weber, and Yiou}}?><label>Jacob et al.(2014)Jacob, Petersen, Eggert, Alias, Christensen,
Bouwer, Braun, Colette, Déqué, Georgievski, Georgopoulou, Gobiet,
Menut, Nikulin, Haensler, Hempelmann, Jones, Keuler, Kovats, Kröner,
Kotlarski, Kriegsmann, Martin, van Meijgaard, Moseley, Pfeifer, Preuschmann,
Radermacher, Radtke, Rechid, Rounsevell, Samuelsson, Somot, Soussana,
Teichmann, Valentini, Vautard, Weber, and Yiou</label><mixed-citation>Jacob, D., Petersen, J., Eggert, B., Alias, A., Christensen, O. B., Bouwer,
L. M., Braun, A., Colette, A., Déqué, M., Georgievski, G.,
Georgopoulou, E., Gobiet, A., Menut, L., Nikulin, G., Haensler, A.,
Hempelmann, N., Jones, C., Keuler, K., Kovats, S., Kröner, N., Kotlarski,
S., Kriegsmann, A., Martin, E., van Meijgaard, E., Moseley, C., Pfeifer, S.,
Preuschmann, S., Radermacher, C., Radtke, K., Rechid, D., Rounsevell, M.,
Samuelsson, P., Somot, S., Soussana, J.-F., Teichmann, C., Valentini, R.,
Vautard, R., Weber, B., and Yiou, P.: EURO-CORDEX: new high-resolution
climate change projections for European impact research, Reg. Environ.
Change, 14, 563–578, <ext-link xlink:href="https://doi.org/10.1007/s10113-013-0499-2" ext-link-type="DOI">10.1007/s10113-013-0499-2</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Knol and ten Berge(1989)</label><mixed-citation>Knol, D. L. and ten Berge, J. M. F.: Least-squares approximation of an improper
correlation matrix by a proper one, Psychometrika, 54, 53–61,
<ext-link xlink:href="https://doi.org/10.1007/BF02294448" ext-link-type="DOI">10.1007/BF02294448</ext-link>,   1989.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Li et al.(2010)Li, Sheffield, and Wood</label><mixed-citation>Li, H., Sheffield, J., and Wood, E. F.: Bias correction of monthly
precipitation and temperature fields from Intergovernmental Panel on Climate
Change AR4 models using equidistant quantile matching, J. Geophys. Res.-Atmos.,
115, D10101, <ext-link xlink:href="https://doi.org/10.1029/2009JD012882" ext-link-type="DOI">10.1029/2009JD012882</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Lorenz(1984)</label><mixed-citation>
Lorenz, E. N.: Irregularity: a fundamental property of the atmosphere, Tellus
A, 36, 98–110, 1984.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Lorenz(1990)</label><mixed-citation>
Lorenz, E. N.: Can chaos and intransitivity lead to interannual variability?,
Tellus A, 42, 378–389, 1990.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Mao et al.(2015)Mao, Vogl, Laux, Wagner, and Kunstmann</label><mixed-citation>Mao, G., Vogl, S., Laux, P., Wagner, S., and Kunstmann, H.: Stochastic bias
correction of dynamically downscaled precipitation fields for Germany through
Copula-based integration of gridded observation data, Hydrol. Earth Syst. Sci.,
19, 1787–1806, <ext-link xlink:href="https://doi.org/10.5194/hess-19-1787-2015" ext-link-type="DOI">10.5194/hess-19-1787-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Maraun(2012)</label><mixed-citation>Maraun, D.: Nonstationarities of regional climate model biases in European
seasonal mean temperature and precipitation sums, Geophys. Res. Lett., 39,
L06706, <ext-link xlink:href="https://doi.org/10.1029/2012GL051210" ext-link-type="DOI">10.1029/2012GL051210</ext-link>,  2012.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Maraun(2016)</label><mixed-citation>Maraun, D.: Bias Correcting Climate Change Simulations – a Critical Review,
Curr. Clim. Change Rep., 2, 211–220, <ext-link xlink:href="https://doi.org/10.1007/s40641-016-0050-x" ext-link-type="DOI">10.1007/s40641-016-0050-x</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Maraun and Widmann(2018)</label><mixed-citation>Maraun, D. and Widmann, M.: Cross-validation of bias-corrected climate simulations
is misleading, Hydrol. Earth Syst. Sci., 22, 4867–4873, <ext-link xlink:href="https://doi.org/10.5194/hess-22-4867-2018" ext-link-type="DOI">10.5194/hess-22-4867-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{Maraun et~al.(2017)Maraun, Shepherd, Widmann, Zappa, Walton,
Guti{\'{e}}rrez, Hagemann, Richter, Soares, Hall, and Mearns}}?><label>Maraun et al.(2017)Maraun, Shepherd, Widmann, Zappa, Walton,
Gutiérrez, Hagemann, Richter, Soares, Hall, and Mearns</label><mixed-citation>
Maraun, D., Shepherd, T. G., Widmann, M., Zappa, G., Walton, D., Gutiérrez,
J., Hagemann, S., Richter, I., Soares, P. M. M., Hall, A., and Mearns, L. O.:
Towards process-informed bias correction of climate change simulations,
Nat. Clim. Change, 7, 764–773, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Marti et al.(2010)</label><mixed-citation>Marti, O., Braconnot, P., Dufresne, J.-L., Bellier, J., Benshila, R., Bony, S.,
Brockmann, P., Cadule, P., Caubel, A., Codron, F., de Noblet, N., Denvil, S.,
Fairhead, L., Fichefet, T., Foujols, M.-A., Friedlingstein, P., Goosse, H.,
Grandpeix, J.-Y., Guilyardi, E., Hourdin, F., Idelkadi, A., Kageyama, M.,
Krinner, G., Lévy, C., Madec, G., Mignot, J., Musat, I., Swingedouw, D.,
and Talandier, C.: Key features of the IPSL ocean atmosphere model and its
sensitivity to atmospheric resolution, Clim. Dynam, 34, 1–26,
<ext-link xlink:href="https://doi.org/10.1007/s00382-009-0640-6" ext-link-type="DOI">10.1007/s00382-009-0640-6</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Mather(1991)</label><mixed-citation>Mather, J. N.: Action minimizing invariant measures for positive definite
Lagrangian systems, Math. Z., 207, 169–207, <ext-link xlink:href="https://doi.org/10.1007/BF02571383" ext-link-type="DOI">10.1007/BF02571383</ext-link>, 1991.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Michelangeli et al.(2009)Michelangeli, Vrac, and
Loukos</label><mixed-citation>Michelangeli, P.-A., Vrac, M., and Loukos, H.: Probabilistic downscaling
approaches: Application to wind cumulative distribution functions, Geophys.
Res. Lett., 36, L11708, <ext-link xlink:href="https://doi.org/10.1029/2009GL038401" ext-link-type="DOI">10.1029/2009GL038401</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Muskulus and Verduyn-Lunel(2011)</label><mixed-citation>Muskulus, M. and Verduyn-Lunel, S.: Wasserstein distances in the analysis of
time series and dynamical systems, Physica D, 240, 45–58,
<ext-link xlink:href="https://doi.org/10.1016/j.physd.2010.08.005" ext-link-type="DOI">10.1016/j.physd.2010.08.005</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Nahar et al.(2017)Nahar, Johnson, and Sharma</label><mixed-citation>Nahar, J., Johnson, F., and Sharma, A.: Assessing the extent of non-stationary
biases in GCMs, J. Hydrol., 549, 148–162,
<ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2017.03.045" ext-link-type="DOI">10.1016/j.jhydrol.2017.03.045</ext-link>,  2017.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Nahar et al.(2018)Nahar, Johnson, and Sharma</label><mixed-citation>Nahar, J., Johnson, F., and Sharma, A.: Addressing Spatial Dependence Bias in
Climate Model Simulations: An Independent Component Analysis Approach, Water
Resour. Res., 54, 827–841, <ext-link xlink:href="https://doi.org/10.1002/2017WR021293" ext-link-type="DOI">10.1002/2017WR021293</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Panofsky and Brier(1958)</label><mixed-citation>
Panofsky, H. A. and Brier, G. W.: Some applications of statistics to
meteorology, Mineral Industries Extension Services, College of Mineral
Industries, Pennsylvania State University, 103 pp., 1958.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Piani and Haerter(2012)</label><mixed-citation>Piani, C. and Haerter, J. O.: Two dimensional bias correction of temperature
and precipitation copulas in climate models, Geophys. Res. Lett.,
39, <ext-link xlink:href="https://doi.org/10.1029/2012GL053839" ext-link-type="DOI">10.1029/2012GL053839</ext-link>, 2012.</mixed-citation></ref>
      <?pagebreak page786?><ref id="bib1.bibx36"><label>Piani et al.(2010)Piani, Weedon, Best, Gomes, Viterbo, Hagemann, and
Haerter</label><mixed-citation>Piani, C., Weedon, G., Best, M., Gomes, S., Viterbo, P., Hagemann, S., and
Haerter, J.: Statistical bias correction of global simulated daily
precipitation and temperature for the application of hydrological models, J.
Hydrol., 395, 199–215, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2010.10.024" ext-link-type="DOI">10.1016/j.jhydrol.2010.10.024</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx37"><?xmltex \def\ref@label{{Quintana-Segu{\'{\i}} et~al.(2008)Quintana-Segu{\'{\i}}, Le~Moigne,
Durand, Martin, Habets, Baillon, Canellas, Franchisteguy, and
Morel}}?><label>Quintana-Seguí et al.(2008)Quintana-Seguí, Le Moigne,
Durand, Martin, Habets, Baillon, Canellas, Franchisteguy, and
Morel</label><mixed-citation>Quintana-Seguí, P., Le Moigne, P., Durand, Y., Martin, E., Habets, F.,
Baillon, M., Canellas, C., Franchisteguy, L., and Morel, S.: Analysis of
Near-Surface Atmospheric Variables: Validation of the SAFRAN Analysis over
France, J. Appl. Meteorol. Clim., 47, 92–107, <ext-link xlink:href="https://doi.org/10.1175/2007JAMC1636.1" ext-link-type="DOI">10.1175/2007JAMC1636.1</ext-link>,
2008.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Randall et al.(2007)Randall, Wood, Bony, Colman, Fichefet, Fyfe,
Kattsov, Pitman, Shukla, Srinivasan et al.</label><mixed-citation>
Randall, D. A., Wood, R. A., Bony, S., Colman, R., Fichefet, T., Fyfe, J.,
Kattsov, V., Pitman, A., Shukla, J., Srinivasan, J., Stouffer, R. J., Sumi, A., and Taylor, K. E.: Climate models
and their evaluation, in: Climate change 2007: The physical science basis.
Contribution of Working Group I to the Fourth Assessment Report of the IPCC
(FAR), Cambridge University Press, 589–662, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx39"><?xmltex \def\ref@label{{R{\"{a}}ty et~al.(2018)R{\"{a}}ty, R{\"{a}}is{\"{a}}nen, Bosshard, and
Donnelly}}?><label>Räty et al.(2018)Räty, Räisänen, Bosshard, and
Donnelly</label><mixed-citation>Räty, O., Räisänen, J., Bosshard, T., and Donnelly, C.:
Intercomparison of Univariate and Joint Bias Correction Methods in Changing
Climate From a Hydrological Perspective, Climate, 6, 33
<ext-link xlink:href="https://doi.org/10.3390/cli6020033" ext-link-type="DOI">10.3390/cli6020033</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Robin(2019)</label><mixed-citation>Robin, Y.: Ayga, Python and R bias correction library, available at:
<uri>https://github.com/yrobink/Ayga.git</uri>, last access: 29 January 2019.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Robin et al.(2017)Robin, Yiou, and Naveau</label><mixed-citation>
Robin, Y., Yiou, P., and Naveau, P.: Detecting changes in forced climate
attractors with Wasserstein distance, Nonlinear Proc. Geoph., 24, 393–405,  2017.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>Rubner et al.(2000)Rubner, Tomasi, and Guibas</label><mixed-citation>Rubner, Y., Tomasi, C., and Guibas, L. J.: The Earth Mover's Distance as a
Metric for Image Retrieval, Int. J. Comput. Vis., 40, 99–121,
<ext-link xlink:href="https://doi.org/10.1023/A:1026543900054" ext-link-type="DOI">10.1023/A:1026543900054</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Santambrogio(2015)</label><mixed-citation>
Santambrogio, F.: Optimal Transport for Applied Mathematicians, vol. 87,
Birkhäuser Basel, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Shrestha et al.(2014)Shrestha, Schnorbus, Werner, and
Zwiers</label><mixed-citation>Shrestha, R. R., Schnorbus, M. A., Werner, A. T., and Zwiers, F. W.: Evaluating
Hydroclimatic Change Signals from Statistically and Dynamically Downscaled
GCMs and Hydrologic Models, J. Hydrometeorol., 15, 844–860,
<ext-link xlink:href="https://doi.org/10.1175/JHM-D-13-030.1" ext-link-type="DOI">10.1175/JHM-D-13-030.1</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx45"><label>Skamarock et al.(2008)Skamarock, Klemp, Dudhia, Gill, Barker, Duda,
Huang, Wang, and Powers</label><mixed-citation>Skamarock, W., Klemp, J. B., Dudhia, J., Gill, D. O., Barker, D., Duda, M. G.,
Huang, X., Wang, W., and Powers, J. G.: A Description of the Advanced
Research WRF Version 3, in: NCAR Technical Note, NCAR/TN-475+STR,
<ext-link xlink:href="https://doi.org/10.5065/D68S4MVH" ext-link-type="DOI">10.5065/D68S4MVH</ext-link>, 2008.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx46"><label>Strook(1995)</label><mixed-citation>Strook, D. W.: Probability Theory, an Analytic View, J. Royal Stat. Soc. Series
A, 158, 356–357, <ext-link xlink:href="https://doi.org/10.2307/2983317" ext-link-type="DOI">10.2307/2983317</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Vautard et al.(2013)</label><mixed-citation>Vautard, R., Gobiet, A., Jacob, D., Belda, M., Colette, A., Déqué, M.,
Fernández, J., García-Díez, M., Goergen, K., Güttler, I.,
Halenka, T., Karacostas, T., Katragkou, E., Keuler, K., Kotlarski, S., Mayer,
S., van Meijgaard, E., Nikulin, G., Patarčić, M., Scinocca, J.,
Sobolowski, S., Suklitsch, M., Teichmann, C., Warrach-Sagi, K., Wulfmeyer,
V., and Yiou, P.: The simulation of European heat waves from an ensemble of
regional climate models within the EURO-CORDEX project, Clim. Dynam, 41,
2555–2575, <ext-link xlink:href="https://doi.org/10.1007/s00382-013-1714-z" ext-link-type="DOI">10.1007/s00382-013-1714-z</ext-link>,  2013.</mixed-citation></ref>
      <ref id="bib1.bibx48"><?xmltex \def\ref@label{{Vidal et~al.(2010)Vidal, Martin, Franchist{\'{e}}guy, Baillon, and
Soubeyroux}}?><label>Vidal et al.(2010)Vidal, Martin, Franchistéguy, Baillon, and
Soubeyroux</label><mixed-citation>Vidal, J.-P., Martin, E., Franchistéguy, L., Baillon, M., and Soubeyroux,
J.-M.: A 50-year high-resolution atmospheric reanalysis over France with the
Safran system, Int. J. Climatol., 30, 1627–1644, <ext-link xlink:href="https://doi.org/10.1002/joc.2003" ext-link-type="DOI">10.1002/joc.2003</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx49"><label>Villani(2008)</label><mixed-citation>
Villani, C.: Optimal Transport: Old and New, in: Grundlehren
der mathematischen Wissenschaften, 1 edn., Springer Science &amp; Business Media,  992 pp., 2008.</mixed-citation></ref>
      <ref id="bib1.bibx50"><label>von Storch(1999)</label><mixed-citation>von Storch, H.: On the Use of “Inflation” in Statistical Downscaling, J.
Climate, 12, 3505–3506, <ext-link xlink:href="https://doi.org/10.1175/1520-0442(1999)012&lt;3505:OTUOII&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0442(1999)012&lt;3505:OTUOII&gt;2.0.CO;2</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx51"><label>Vrac(2018)</label><mixed-citation>Vrac, M.: Multivariate bias adjustment of high-dimensional climate simulations: the Rank
Resampling for Distributions and Dependences (R<inline-formula><mml:math id="M594" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>D<inline-formula><mml:math id="M595" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>) bias correction, Hydrol.
Earth Syst. Sci., 22, 3175–3196, <ext-link xlink:href="https://doi.org/10.5194/hess-22-3175-2018" ext-link-type="DOI">10.5194/hess-22-3175-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx52"><label>Vrac and Friederichs(2015)</label><mixed-citation>Vrac, M. and Friederichs, P.: Multivariate–Intervariable, Spatial, and
Temporal–Bias Correction, J. Climate, 28, 218–237,
<ext-link xlink:href="https://doi.org/10.1175/JCLI-D-14-00059.1" ext-link-type="DOI">10.1175/JCLI-D-14-00059.1</ext-link>,  2015.</mixed-citation></ref>
      <ref id="bib1.bibx53"><label>Wilcke et al.(2013)Wilcke, Mendlik, and Gobiet</label><mixed-citation>Wilcke, R. A. I., Mendlik, T., and Gobiet, A.: Multi-variable error correction
of regional climate models, Clim. Change, 120, 871–887,
<ext-link xlink:href="https://doi.org/10.1007/s10584-013-0845-x" ext-link-type="DOI">10.1007/s10584-013-0845-x</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx54"><label>Wong et al.(2014)Wong, Maraun, Vrac, Widmann, Eden, and
Kent</label><mixed-citation>Wong, G., Maraun, D., Vrac, M., Widmann, M., Eden, J. M., and Kent, T.:
Stochastic Model Output Statistics for Bias Correcting and Downscaling
Precipitation Including Extremes, J. Climate, 27, 6940–6959,
<ext-link xlink:href="https://doi.org/10.1175/JCLI-D-13-00604.1" ext-link-type="DOI">10.1175/JCLI-D-13-00604.1</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx55"><label>Wood et al.(2004)Wood, Leung, Sridhar, and Lettenmaier</label><mixed-citation>Wood, A. W., Leung, L. R., Sridhar, V., and Lettenmaier, D. P.: Hydrologic
Implications of Dynamical and Statistical Approaches to Downscaling Climate
Model Outputs, Clim. Change, 62, 189–216,
<ext-link xlink:href="https://doi.org/10.1023/B:CLIM.0000013685.99609.9e" ext-link-type="DOI">10.1023/B:CLIM.0000013685.99609.9e</ext-link>, 2004.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Multivariate stochastic bias corrections with optimal transport</article-title-html>
<abstract-html><p>Bias correction methods are used to calibrate climate model outputs with
respect to observational records. The goal is to ensure that statistical
features (such as means and variances) of climate simulations are coherent
with observations. In this article, a multivariate stochastic bias correction
method is developed based on optimal transport. Bias correction methods are
usually defined as transfer functions between random variables. We show that
such transfer functions induce a joint probability distribution between the
biased random variable and its correction. The optimal transport theory
allows us to construct a joint distribution that minimizes an energy spent in
bias correction. This extends the classical univariate quantile mapping
techniques in the multivariate case. We also propose
a definition of non-stationary bias correction as a transfer of the model
to the observational world, and we extend our method in this context. Those
methodologies are first tested on an idealized chaotic system with three
variables. In those controlled experiments, the correlations between
variables appear almost perfectly corrected by our method, as opposed to a
univariate correction. Our methodology is also tested on daily precipitation
and temperatures over 12 locations in southern France. The correction of
the inter-variable and inter-site structures of temperatures and
precipitation appears in agreement with the multi-dimensional evolution of
the model, hence satisfying our suggested definition of non-stationarity.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Bárdossy and Pegram(2012)</label><mixed-citation>
Bárdossy, A. and Pegram, G.: Multiscale spatial recorrelation of RCM
precipitation to produce unbiased climate change scenarios over large areas
and small, Water Resour. Res., 48, W09502, <a href="https://doi.org/10.1029/2011WR011524" target="_blank">https://doi.org/10.1029/2011WR011524</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Bazaraa et al.(2009)Bazaraa, Jarvis, and Sherali</label><mixed-citation>
Bazaraa, M. S., Jarvis, J. J., and Sherali, H. D.: Linear Programming and
Network Flows, 4th edn., John Wiley &amp; Sons, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bürger et al.(2011)Bürger, Schulla, and Werner</label><mixed-citation>
Bürger, G., Schulla, J., and Werner, A. T.: Estimates of future flow,
including extremes, of the Columbia River headwaters, Water Resour. Res., 47,
W10520, <a href="https://doi.org/10.1029/2010WR009716" target="_blank">https://doi.org/10.1029/2010WR009716</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Cannon(2016)</label><mixed-citation>
Cannon, A. J.: Multivariate Bias Correction of Climate Model Output: Matching
Marginal Distributions and Intervariable Dependence Structure, J. Climate, 29,
7045–7064, <a href="https://doi.org/10.1175/JCLI-D-15-0679.1" target="_blank">https://doi.org/10.1175/JCLI-D-15-0679.1</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Cannon(2018)</label><mixed-citation>
Cannon, A. J.: Multivariate quantile mapping bias correction: an N-dimensional
probability density function transform for climate model simulations of
multiple variables, Clim. Dynam, 50, 31–49, <a href="https://doi.org/10.1007/s00382-017-3580-6" target="_blank">https://doi.org/10.1007/s00382-017-3580-6</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Chen et al.(2013)Chen, Brissette, Chaumont, and Braun</label><mixed-citation>
Chen, J., Brissette, F. P., Chaumont, D., and Braun, M.: Finding appropriate
bias correction methods in downscaling precipitation for hydrologic impact
studies over North America, Water Resour. Res., 49, 4187–4205,
<a href="https://doi.org/10.1002/wrcr.20331" target="_blank">https://doi.org/10.1002/wrcr.20331</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Christensen et al.(2008)Christensen, Boberg, Christensen, and
Lucas-Picher</label><mixed-citation>
Christensen, J. H., Boberg, F., Christensen, O. B., and Lucas-Picher, P.: On
the need for bias correction of regional climate change projections of
temperature and precipitation, Geophys. Res. Lett., 35, L20709, <a href="https://doi.org/10.1029/2008GL035694" target="_blank">https://doi.org/10.1029/2008GL035694</a>,
2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Dekens et al.(2017)Dekens, Parey, Grandjacques, and
Dacunha-Castelle</label><mixed-citation>
Dekens, L., Parey, S., Grandjacques, M., and Dacunha-Castelle, D.: Multivariate
distribution correction of climate model outputs: A generalization of
quantile mapping approaches, Environmetrics, 28, E2454,
<a href="https://doi.org/10.1002/env.2454" target="_blank">https://doi.org/10.1002/env.2454</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Déqué(2007)</label><mixed-citation>
Déqué, M.: Frequency of precipitation and temperature extremes over
France in an anthropogenic scenario: Model results and statistical correction
according to observed values, Global Planet. Change, 57, 16–26,
<a href="https://doi.org/10.1016/j.gloplacha.2006.11.030" target="_blank">https://doi.org/10.1016/j.gloplacha.2006.11.030</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Drótos et al.(2015)</label><mixed-citation>
Drótos, G., Bódai, T., and Tél, T.: Probabilistic concepts in a
changing climate: a snapshot attractor picture, J. Climate, 28, 3275–3288,
<a href="https://doi.org/10.1175/JCLI-D-14-00459.1" target="_blank">https://doi.org/10.1175/JCLI-D-14-00459.1</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Dufresne et al.(2013)</label><mixed-citation>
Dufresne, J.-L., Foujols, M.-A., Denvil, S., Caubel, A., Marti, O., Aumont, O.,
Balkanski, Y., Bekki, S., Bellenger, H., Benshila, R., Bony, S., Bopp, L.,
Braconnot, P., Brockmann, P., Cadule, P., Cheruy, F., Codron, F., Cozic, A.,
Cugnet, D., de Noblet, N., Duvel, J.-P., Ethé, C., Fairhead, L.,
Fichefet, T., Flavoni, S., Friedlingstein, P., Grandpeix, J.-Y., Guez, L.,
Guilyardi, E., Hauglustaine, D., Hourdin, F., Idelkadi, A., Ghattas, J.,
Joussaume, S., Kageyama, M., Krinner, G., Labetoulle, S., Lahellec, A.,
Lefebvre, M.-P., Lefevre, F., Levy, C., Li, Z. X., Lloyd, J., Lott, F.,
Madec, G., Mancip, M., Marchand, M., Masson, S., Meurdesoif, Y., Mignot, J.,
Musat, I., Parouty, S., Polcher, J., Rio, C., Schulz, M., Swingedouw, D.,
Szopa, S., Talandier, C., Terray, P., Viovy, N., and Vuichard, N.: Climate
change projections using the IPSL-CM5 Earth System Model: from CMIP3 to
CMIP5, Clim. Dynam, 40, 2123–2165, <a href="https://doi.org/10.1007/s00382-012-1636-1" target="_blank">https://doi.org/10.1007/s00382-012-1636-1</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Ehret et al.(2012)Ehret, Zehe, Wulfmeyer, Warrach-Sagi, and
Liebert</label><mixed-citation>
Ehret, U., Zehe, E., Wulfmeyer, V., Warrach-Sagi, K., and Liebert, J.: HESS Opinions
“Should we apply bias correction to global and regional climate model data?”,
Hydrol. Earth Syst. Sci., 16, 3391–3404, <a href="https://doi.org/10.5194/hess-16-3391-2012" target="_blank">https://doi.org/10.5194/hess-16-3391-2012</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Farchi et al.(2016)Farchi, Bocquet, Roustan, Mathieu, and
Quérel</label><mixed-citation>
Farchi, A., Bocquet, M., Roustan, Y., Mathieu, A., and Quérel, A.: Using
the Wasserstein distance to compare fields of pollutants: application to the
radionuclide atmospheric dispersion of the Fukushima-Daiichi accident, Tellus
B, 68, 31682, <a href="https://doi.org/10.3402/tellusb.v68.31682" target="_blank">https://doi.org/10.3402/tellusb.v68.31682</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Ferradans et al.(2013)Ferradans, Papadakis, Rabin, Peyré, and
Aujol</label><mixed-citation>
Ferradans, S., Papadakis, N., Rabin, J., Peyré, G., and Aujol, J.-F.:
Regularized Discrete Optimal Transport,  Springer Berlin
Heidelberg, Berlin, Heidelberg, 428–439, <a href="https://doi.org/10.1007/978-3-642-38267-3_36" target="_blank">https://doi.org/10.1007/978-3-642-38267-3_36</a>,
2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Flamary and Courty(2017)</label><mixed-citation>
Flamary, R. and Courty, N.: POT Python Optimal Transport library, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Gudmundsson et al.(2012)Gudmundsson, Bremnes, Haugen, and
Engen-Skaugen</label><mixed-citation>
Gudmundsson, L., Bremnes, J. B., Haugen, J. E., and Engen-Skaugen, T.: Technical Note:
Downscaling RCM precipitation to the station scale using statistical transformations
– a comparison of methods, Hydrol. Earth Syst. Sci., 16, 3383–3390, <a href="https://doi.org/10.5194/hess-16-3383-2012" target="_blank">https://doi.org/10.5194/hess-16-3383-2012</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Higham(1988)</label><mixed-citation>
Higham, N. J.: Computing a nearest symmetric positive semidefinite matrix,
Linear Algebra Appl., 103, 103–118,
<a href="https://doi.org/10.1016/0024-3795(88)90223-6" target="_blank">https://doi.org/10.1016/0024-3795(88)90223-6</a>, 1988.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Jacob et al.(2014)Jacob, Petersen, Eggert, Alias, Christensen,
Bouwer, Braun, Colette, Déqué, Georgievski, Georgopoulou, Gobiet,
Menut, Nikulin, Haensler, Hempelmann, Jones, Keuler, Kovats, Kröner,
Kotlarski, Kriegsmann, Martin, van Meijgaard, Moseley, Pfeifer, Preuschmann,
Radermacher, Radtke, Rechid, Rounsevell, Samuelsson, Somot, Soussana,
Teichmann, Valentini, Vautard, Weber, and Yiou</label><mixed-citation>
Jacob, D., Petersen, J., Eggert, B., Alias, A., Christensen, O. B., Bouwer,
L. M., Braun, A., Colette, A., Déqué, M., Georgievski, G.,
Georgopoulou, E., Gobiet, A., Menut, L., Nikulin, G., Haensler, A.,
Hempelmann, N., Jones, C., Keuler, K., Kovats, S., Kröner, N., Kotlarski,
S., Kriegsmann, A., Martin, E., van Meijgaard, E., Moseley, C., Pfeifer, S.,
Preuschmann, S., Radermacher, C., Radtke, K., Rechid, D., Rounsevell, M.,
Samuelsson, P., Somot, S., Soussana, J.-F., Teichmann, C., Valentini, R.,
Vautard, R., Weber, B., and Yiou, P.: EURO-CORDEX: new high-resolution
climate change projections for European impact research, Reg. Environ.
Change, 14, 563–578, <a href="https://doi.org/10.1007/s10113-013-0499-2" target="_blank">https://doi.org/10.1007/s10113-013-0499-2</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Knol and ten Berge(1989)</label><mixed-citation>
Knol, D. L. and ten Berge, J. M. F.: Least-squares approximation of an improper
correlation matrix by a proper one, Psychometrika, 54, 53–61,
<a href="https://doi.org/10.1007/BF02294448" target="_blank">https://doi.org/10.1007/BF02294448</a>,   1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Li et al.(2010)Li, Sheffield, and Wood</label><mixed-citation>
Li, H., Sheffield, J., and Wood, E. F.: Bias correction of monthly
precipitation and temperature fields from Intergovernmental Panel on Climate
Change AR4 models using equidistant quantile matching, J. Geophys. Res.-Atmos.,
115, D10101, <a href="https://doi.org/10.1029/2009JD012882" target="_blank">https://doi.org/10.1029/2009JD012882</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Lorenz(1984)</label><mixed-citation>
Lorenz, E. N.: Irregularity: a fundamental property of the atmosphere, Tellus
A, 36, 98–110, 1984.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Lorenz(1990)</label><mixed-citation>
Lorenz, E. N.: Can chaos and intransitivity lead to interannual variability?,
Tellus A, 42, 378–389, 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Mao et al.(2015)Mao, Vogl, Laux, Wagner, and Kunstmann</label><mixed-citation>
Mao, G., Vogl, S., Laux, P., Wagner, S., and Kunstmann, H.: Stochastic bias
correction of dynamically downscaled precipitation fields for Germany through
Copula-based integration of gridded observation data, Hydrol. Earth Syst. Sci.,
19, 1787–1806, <a href="https://doi.org/10.5194/hess-19-1787-2015" target="_blank">https://doi.org/10.5194/hess-19-1787-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Maraun(2012)</label><mixed-citation>
Maraun, D.: Nonstationarities of regional climate model biases in European
seasonal mean temperature and precipitation sums, Geophys. Res. Lett., 39,
L06706, <a href="https://doi.org/10.1029/2012GL051210" target="_blank">https://doi.org/10.1029/2012GL051210</a>,  2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Maraun(2016)</label><mixed-citation>
Maraun, D.: Bias Correcting Climate Change Simulations – a Critical Review,
Curr. Clim. Change Rep., 2, 211–220, <a href="https://doi.org/10.1007/s40641-016-0050-x" target="_blank">https://doi.org/10.1007/s40641-016-0050-x</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Maraun and Widmann(2018)</label><mixed-citation>
Maraun, D. and Widmann, M.: Cross-validation of bias-corrected climate simulations
is misleading, Hydrol. Earth Syst. Sci., 22, 4867–4873, <a href="https://doi.org/10.5194/hess-22-4867-2018" target="_blank">https://doi.org/10.5194/hess-22-4867-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Maraun et al.(2017)Maraun, Shepherd, Widmann, Zappa, Walton,
Gutiérrez, Hagemann, Richter, Soares, Hall, and Mearns</label><mixed-citation>
Maraun, D., Shepherd, T. G., Widmann, M., Zappa, G., Walton, D., Gutiérrez,
J., Hagemann, S., Richter, I., Soares, P. M. M., Hall, A., and Mearns, L. O.:
Towards process-informed bias correction of climate change simulations,
Nat. Clim. Change, 7, 764–773, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Marti et al.(2010)</label><mixed-citation>
Marti, O., Braconnot, P., Dufresne, J.-L., Bellier, J., Benshila, R., Bony, S.,
Brockmann, P., Cadule, P., Caubel, A., Codron, F., de Noblet, N., Denvil, S.,
Fairhead, L., Fichefet, T., Foujols, M.-A., Friedlingstein, P., Goosse, H.,
Grandpeix, J.-Y., Guilyardi, E., Hourdin, F., Idelkadi, A., Kageyama, M.,
Krinner, G., Lévy, C., Madec, G., Mignot, J., Musat, I., Swingedouw, D.,
and Talandier, C.: Key features of the IPSL ocean atmosphere model and its
sensitivity to atmospheric resolution, Clim. Dynam, 34, 1–26,
<a href="https://doi.org/10.1007/s00382-009-0640-6" target="_blank">https://doi.org/10.1007/s00382-009-0640-6</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Mather(1991)</label><mixed-citation>
Mather, J. N.: Action minimizing invariant measures for positive definite
Lagrangian systems, Math. Z., 207, 169–207, <a href="https://doi.org/10.1007/BF02571383" target="_blank">https://doi.org/10.1007/BF02571383</a>, 1991.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Michelangeli et al.(2009)Michelangeli, Vrac, and
Loukos</label><mixed-citation>
Michelangeli, P.-A., Vrac, M., and Loukos, H.: Probabilistic downscaling
approaches: Application to wind cumulative distribution functions, Geophys.
Res. Lett., 36, L11708, <a href="https://doi.org/10.1029/2009GL038401" target="_blank">https://doi.org/10.1029/2009GL038401</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Muskulus and Verduyn-Lunel(2011)</label><mixed-citation>
Muskulus, M. and Verduyn-Lunel, S.: Wasserstein distances in the analysis of
time series and dynamical systems, Physica D, 240, 45–58,
<a href="https://doi.org/10.1016/j.physd.2010.08.005" target="_blank">https://doi.org/10.1016/j.physd.2010.08.005</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Nahar et al.(2017)Nahar, Johnson, and Sharma</label><mixed-citation>
Nahar, J., Johnson, F., and Sharma, A.: Assessing the extent of non-stationary
biases in GCMs, J. Hydrol., 549, 148–162,
<a href="https://doi.org/10.1016/j.jhydrol.2017.03.045" target="_blank">https://doi.org/10.1016/j.jhydrol.2017.03.045</a>,  2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Nahar et al.(2018)Nahar, Johnson, and Sharma</label><mixed-citation>
Nahar, J., Johnson, F., and Sharma, A.: Addressing Spatial Dependence Bias in
Climate Model Simulations: An Independent Component Analysis Approach, Water
Resour. Res., 54, 827–841, <a href="https://doi.org/10.1002/2017WR021293" target="_blank">https://doi.org/10.1002/2017WR021293</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Panofsky and Brier(1958)</label><mixed-citation>
Panofsky, H. A. and Brier, G. W.: Some applications of statistics to
meteorology, Mineral Industries Extension Services, College of Mineral
Industries, Pennsylvania State University, 103 pp., 1958.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Piani and Haerter(2012)</label><mixed-citation>
Piani, C. and Haerter, J. O.: Two dimensional bias correction of temperature
and precipitation copulas in climate models, Geophys. Res. Lett.,
39, <a href="https://doi.org/10.1029/2012GL053839" target="_blank">https://doi.org/10.1029/2012GL053839</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Piani et al.(2010)Piani, Weedon, Best, Gomes, Viterbo, Hagemann, and
Haerter</label><mixed-citation>
Piani, C., Weedon, G., Best, M., Gomes, S., Viterbo, P., Hagemann, S., and
Haerter, J.: Statistical bias correction of global simulated daily
precipitation and temperature for the application of hydrological models, J.
Hydrol., 395, 199–215, <a href="https://doi.org/10.1016/j.jhydrol.2010.10.024" target="_blank">https://doi.org/10.1016/j.jhydrol.2010.10.024</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Quintana-Seguí et al.(2008)Quintana-Seguí, Le Moigne,
Durand, Martin, Habets, Baillon, Canellas, Franchisteguy, and
Morel</label><mixed-citation>
Quintana-Seguí, P., Le Moigne, P., Durand, Y., Martin, E., Habets, F.,
Baillon, M., Canellas, C., Franchisteguy, L., and Morel, S.: Analysis of
Near-Surface Atmospheric Variables: Validation of the SAFRAN Analysis over
France, J. Appl. Meteorol. Clim., 47, 92–107, <a href="https://doi.org/10.1175/2007JAMC1636.1" target="_blank">https://doi.org/10.1175/2007JAMC1636.1</a>,
2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Randall et al.(2007)Randall, Wood, Bony, Colman, Fichefet, Fyfe,
Kattsov, Pitman, Shukla, Srinivasan et al.</label><mixed-citation>
Randall, D. A., Wood, R. A., Bony, S., Colman, R., Fichefet, T., Fyfe, J.,
Kattsov, V., Pitman, A., Shukla, J., Srinivasan, J., Stouffer, R. J., Sumi, A., and Taylor, K. E.: Climate models
and their evaluation, in: Climate change 2007: The physical science basis.
Contribution of Working Group I to the Fourth Assessment Report of the IPCC
(FAR), Cambridge University Press, 589–662, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Räty et al.(2018)Räty, Räisänen, Bosshard, and
Donnelly</label><mixed-citation>
Räty, O., Räisänen, J., Bosshard, T., and Donnelly, C.:
Intercomparison of Univariate and Joint Bias Correction Methods in Changing
Climate From a Hydrological Perspective, Climate, 6, 33
<a href="https://doi.org/10.3390/cli6020033" target="_blank">https://doi.org/10.3390/cli6020033</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Robin(2019)</label><mixed-citation>
Robin, Y.: Ayga, Python and R bias correction library, available at:
<a href="https://github.com/yrobink/Ayga.git" target="_blank">https://github.com/yrobink/Ayga.git</a>, last access: 29 January 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Robin et al.(2017)Robin, Yiou, and Naveau</label><mixed-citation>
Robin, Y., Yiou, P., and Naveau, P.: Detecting changes in forced climate
attractors with Wasserstein distance, Nonlinear Proc. Geoph., 24, 393–405,  2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Rubner et al.(2000)Rubner, Tomasi, and Guibas</label><mixed-citation>
Rubner, Y., Tomasi, C., and Guibas, L. J.: The Earth Mover's Distance as a
Metric for Image Retrieval, Int. J. Comput. Vis., 40, 99–121,
<a href="https://doi.org/10.1023/A:1026543900054" target="_blank">https://doi.org/10.1023/A:1026543900054</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Santambrogio(2015)</label><mixed-citation>
Santambrogio, F.: Optimal Transport for Applied Mathematicians, vol. 87,
Birkhäuser Basel, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Shrestha et al.(2014)Shrestha, Schnorbus, Werner, and
Zwiers</label><mixed-citation>
Shrestha, R. R., Schnorbus, M. A., Werner, A. T., and Zwiers, F. W.: Evaluating
Hydroclimatic Change Signals from Statistically and Dynamically Downscaled
GCMs and Hydrologic Models, J. Hydrometeorol., 15, 844–860,
<a href="https://doi.org/10.1175/JHM-D-13-030.1" target="_blank">https://doi.org/10.1175/JHM-D-13-030.1</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Skamarock et al.(2008)Skamarock, Klemp, Dudhia, Gill, Barker, Duda,
Huang, Wang, and Powers</label><mixed-citation>
Skamarock, W., Klemp, J. B., Dudhia, J., Gill, D. O., Barker, D., Duda, M. G.,
Huang, X., Wang, W., and Powers, J. G.: A Description of the Advanced
Research WRF Version 3, in: NCAR Technical Note, NCAR/TN-475+STR,
<a href="https://doi.org/10.5065/D68S4MVH" target="_blank">https://doi.org/10.5065/D68S4MVH</a>, 2008.

</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Strook(1995)</label><mixed-citation>
Strook, D. W.: Probability Theory, an Analytic View, J. Royal Stat. Soc. Series
A, 158, 356–357, <a href="https://doi.org/10.2307/2983317" target="_blank">https://doi.org/10.2307/2983317</a>, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Vautard et al.(2013)</label><mixed-citation>
Vautard, R., Gobiet, A., Jacob, D., Belda, M., Colette, A., Déqué, M.,
Fernández, J., García-Díez, M., Goergen, K., Güttler, I.,
Halenka, T., Karacostas, T., Katragkou, E., Keuler, K., Kotlarski, S., Mayer,
S., van Meijgaard, E., Nikulin, G., Patarčić, M., Scinocca, J.,
Sobolowski, S., Suklitsch, M., Teichmann, C., Warrach-Sagi, K., Wulfmeyer,
V., and Yiou, P.: The simulation of European heat waves from an ensemble of
regional climate models within the EURO-CORDEX project, Clim. Dynam, 41,
2555–2575, <a href="https://doi.org/10.1007/s00382-013-1714-z" target="_blank">https://doi.org/10.1007/s00382-013-1714-z</a>,  2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Vidal et al.(2010)Vidal, Martin, Franchistéguy, Baillon, and
Soubeyroux</label><mixed-citation>
Vidal, J.-P., Martin, E., Franchistéguy, L., Baillon, M., and Soubeyroux,
J.-M.: A 50-year high-resolution atmospheric reanalysis over France with the
Safran system, Int. J. Climatol., 30, 1627–1644, <a href="https://doi.org/10.1002/joc.2003" target="_blank">https://doi.org/10.1002/joc.2003</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Villani(2008)</label><mixed-citation>
Villani, C.: Optimal Transport: Old and New, in: Grundlehren
der mathematischen Wissenschaften, 1 edn., Springer Science &amp; Business Media,  992 pp., 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>von Storch(1999)</label><mixed-citation>
von Storch, H.: On the Use of “Inflation” in Statistical Downscaling, J.
Climate, 12, 3505–3506, <a href="https://doi.org/10.1175/1520-0442(1999)012&lt;3505:OTUOII&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0442(1999)012&lt;3505:OTUOII&gt;2.0.CO;2</a>, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Vrac(2018)</label><mixed-citation>
Vrac, M.: Multivariate bias adjustment of high-dimensional climate simulations: the Rank
Resampling for Distributions and Dependences (R<sup>2</sup>D<sup>2</sup>) bias correction, Hydrol.
Earth Syst. Sci., 22, 3175–3196, <a href="https://doi.org/10.5194/hess-22-3175-2018" target="_blank">https://doi.org/10.5194/hess-22-3175-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Vrac and Friederichs(2015)</label><mixed-citation>
Vrac, M. and Friederichs, P.: Multivariate–Intervariable, Spatial, and
Temporal–Bias Correction, J. Climate, 28, 218–237,
<a href="https://doi.org/10.1175/JCLI-D-14-00059.1" target="_blank">https://doi.org/10.1175/JCLI-D-14-00059.1</a>,  2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>Wilcke et al.(2013)Wilcke, Mendlik, and Gobiet</label><mixed-citation>
Wilcke, R. A. I., Mendlik, T., and Gobiet, A.: Multi-variable error correction
of regional climate models, Clim. Change, 120, 871–887,
<a href="https://doi.org/10.1007/s10584-013-0845-x" target="_blank">https://doi.org/10.1007/s10584-013-0845-x</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Wong et al.(2014)Wong, Maraun, Vrac, Widmann, Eden, and
Kent</label><mixed-citation>
Wong, G., Maraun, D., Vrac, M., Widmann, M., Eden, J. M., and Kent, T.:
Stochastic Model Output Statistics for Bias Correcting and Downscaling
Precipitation Including Extremes, J. Climate, 27, 6940–6959,
<a href="https://doi.org/10.1175/JCLI-D-13-00604.1" target="_blank">https://doi.org/10.1175/JCLI-D-13-00604.1</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Wood et al.(2004)Wood, Leung, Sridhar, and Lettenmaier</label><mixed-citation>
Wood, A. W., Leung, L. R., Sridhar, V., and Lettenmaier, D. P.: Hydrologic
Implications of Dynamical and Statistical Approaches to Downscaling Climate
Model Outputs, Clim. Change, 62, 189–216,
<a href="https://doi.org/10.1023/B:CLIM.0000013685.99609.9e" target="_blank">https://doi.org/10.1023/B:CLIM.0000013685.99609.9e</a>, 2004.
</mixed-citation></ref-html>--></article>
