# 分位数映射

分位数映射是一种统计偏差校正方法，它调整模型或传感器数据的分布，使其分位数与观测参考分布的分位数相匹配。它是水文建模界最广泛使用的偏差校正方法之一，应用范围涵盖气候模式输出、区域气候模式降尺度和水文模拟。<sup>[1](https://google.iopscience.iop.org/article/10.1088/1748-9326/ad9b3d)</sup> 该方法校正整个分布，因此中位数、变率和极值中的系统误差都得到处理。<sup>[2](https://journals.ametsoc.org/view/journals/hydr/16/6/jhm-d-14-0236_1.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 传递函数 | \( P_{o} = F_{o}^{-1}(F_{m}(P_{m})) \)，使模式分位数与观测分位数匹配<sup>[3](https://hess.copernicus.org/preprints/9/6185/2012/hessd-9-6185-2012-print.pdf)</sup> |
| 率定长度 | 通常为30年；在所有测试情形中，当长度低于一个大于十年的临界长度时，性能会下降<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup><sup> • </sup><sup>[5](https://pure.mpg.de/rest/items/item_3512318_1/component/file_3512323/content)</sup> |
| 趋势膨胀 | 标准QM到2080年代将年最大降水量的20年重现期值膨胀至超过+500%，而原始模式变化不超过+120%<sup>[6](https://doi.org/10.1175/jcli-d-14-00754.1)</sup> |
| 基准测试结果 | QDM与PresRATe组合满足全部三项测试要求：历史均值、保留气候变化信号和保持湿日频率<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> |
| 软件 | R包qmap（fitQmap/doQmap）；Python中的xclim.sdba EmpiricalQuantileMapping<sup>[7](https://cran.r-project.org/web/packages/qmap/refman/qmap.html)</sup><sup> • </sup><sup>[8](https://xclim.readthedocs.io/en/v0.48.1/notebooks/sdba.html)</sup> |
| 计算成本 | 参数化缩放分布映射脚本的运行速度比经验偏差校正方法慢一个数量级以上<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> |

## 工作原理

分位数映射寻求对模式变量 \( P_{m} \) 的一个变换 \( P_{o} = h(P_{m}) \)，使得校正后的值具有观测变量 \( P_{o} \) 的分布。它是概率积分变换的一个应用：当分布已知时，传递函数为

\[ P_{o} = F_{o}^{-1}\bigl(F_{m}(P_{m})\bigr) \]

其中 \( F_{m} \) 是模式数据的累积分布函数（CDF），\( F_{o}^{-1} \) 是观测的逆累积分布函数（分位数函数），下标 o 和 m 分别表示观测和模式数据。<sup>[3](https://hess.copernicus.org/preprints/9/6185/2012/hessd-9-6185-2012-print.pdf)</sup><sup> • </sup><sup>[7](https://cran.r-project.org/web/packages/qmap/refman/qmap.html)</sup> 在实践中，累积分布函数很少以解析形式已知，因此方法分为由分布导出的变换、拟合到选定分布族的参数变换，以及直接由经验累积分布函数（ECDF）构建的非参数变换。<sup>[3](https://hess.copernicus.org/preprints/9/6185/2012/hessd-9-6185-2012-print.pdf)</sup>

对于率定范围之外的值，一种常见的外推公式将模式自身分位数变化加到范围端点处的常数校正上：

\[ x_{\mathrm{corr}} = F_{o\text{-}c}^{-1}\bigl(F_{m\text{-}c}(x_{m\text{-}f})\bigr) + x_{m\text{-}f} - F_{m\text{-}c}^{-1}\bigl(F_{m\text{-}c}(x_{m\text{-}f})\bigr) \]

其中 \( F \) 为历史（c）或未来（f）时期观测（o）或模式（m）的经验累积分布函数。<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup>

## 实施方法

使用者首先选择参考观测数据集和率定期；通常为30年，因为较短的分布噪声较大，而较长的分布包含明显的气候趋势。<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> 调整通常按月、按网格单元进行。一种常见实现使用31天滑动窗口为一年中的每一天构建经验累积分布函数，并在百分位数之间进行线性插值。<sup>[9](https://link.springer.com/article/10.1007/s10584-013-0845-x)</sup> QUANT变体在等间距分位数上估计经验累积分布函数，并对中间值进行插值。<sup>[10](https://iwaponline.com/jwcc/article/12/2/401/74161/Bias-correction-capabilities-of-quantile-mapping)</sup>

样本量很重要：缩短率定期会显著降低偏差校正性能，而在所有实验中，对所有技能评分而言，临界长度都超过十年。自由度大的方法，尤其是经验QM，最为脆弱，因此建议使用尽可能长的率定期和自由度小的方法。<sup>[5](https://pure.mpg.de/rest/items/item_3512318_1/component/file_3512323/content)</sup> 对于降水，湿日频率另行调整，例如保持观测与历史模式模拟之间湿日频率的比值。<sup>[1](https://google.iopscience.iop.org/article/10.1088/1748-9326/ad9b3d)</sup>

## 起源

分位数映射最初是一种经验变换技术，从2000年代起被用于气候模式输出的统计降尺度和误差校正。<sup>[9](https://link.springer.com/article/10.1007/s10584-013-0845-x)</sup> 两篇密切相关的保趋势论文奠定了现代变体文献的基础。亚历克斯·J·坎农（Alex J. Cannon）、斯蒂芬·R·索比（Stephen R. Sobie）和特雷弗·Q·默多克（Trevor Q. Murdock）2015年发表于《气候杂志》（Journal of Climate）的论文提出了分位数增量映射（QDM），用于校正大气环流模式降水的偏差。<sup>[6](https://doi.org/10.1175/jcli-d-14-00754.1)</sup> 马修·B·斯维塔内克（Matthew B. Switanek）及其同事2017年发表于《水文与地球系统科学》（Hydrology and Earth System Sciences）的论文提出了缩放分布映射（SDM），这是一种旨在保留原始气候模式预估变化的偏差校正方法。<sup>[11](https://doi.org/10.5194/hess-21-2649-2017)</sup>

## 变体

**经验分位数映射（EQM）** 直接使用模式和观测的经验累积分布函数，在率定范围内采用线性插值，在范围之外采用常数外推。<sup>[5](https://pure.mpg.de/rest/items/item_3512318_1/component/file_3512323/content)</sup> **去趋势分位数映射（DQM）** 在校正前移除模式趋势，校正后再将其重新引入；一种去趋势QM形式被用于更好地保留月趋势。<sup>[11](https://doi.org/10.5194/hess-21-2649-2017)</sup> **分位数增量映射（QDM）** 将观测值乘以同一分位数上模式值在未来时期与率定期之比，从而显式保留模拟降水各分位数的相对变化；它与更早的等距累积分布函数匹配算法有关，QDM论文的附录表明，尽管概念不同，两者是等价的。<sup>[6](https://doi.org/10.1175/jcli-d-14-00754.1)</sup><sup> • </sup><sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> **缩放分布映射（SDM）** 在概念上与QDM相似，但放弃了平稳性假设，使用参数模型，更明确地处理零降雨日和单个事件的可能性，并更好地考虑模式方差差异。<sup>[11](https://doi.org/10.5194/hess-21-2649-2017)</sup> 据报道，QDM对尾部的处理优于EQM、DQM以及参数和非参数变体。<sup>[12](https://gmd.copernicus.org/articles/17/191/2024/gmd-17-191-2024.html)</sup>

## 应用

分位数映射被应用于气候模式输出和区域气候模式降尺度，并长期用于水文建模，所引应用从2003年到2022年。<sup>[1](https://google.iopscience.iop.org/article/10.1088/1748-9326/ad9b3d)</sup> 它已针对六个气象变量——温度、降水、相对湿度、风速、总辐射和地面气压——使用分样本率定与评估期进行评估。<sup>[9](https://link.springer.com/article/10.1007/s10584-013-0845-x)</sup> 在已发表的比较中，一种基于分位数的方法在日降水降尺度和误差校正中表现最佳，<sup>[9](https://link.springer.com/article/10.1007/s10584-013-0845-x)</sup> 一项使用挪威（Norway）82个降水站的测试发现，非参数变换在减少系统误差方面技能最高，等间距分位数方法平均表现最佳，包括对极值。<sup>[3](https://hess.copernicus.org/preprints/9/6185/2012/hessd-9-6185-2012-print.pdf)</sup> 一项针对奥地利（Austria）日气温和降水数据的2023年基准测试检验了三项要求：匹配历史气候均值、保留气候变化信号和保持湿日频率。QDM与PresRATe组合满足全部三项要求，而标准QM会改变气候变化信号，因为它假设给定分位数上的偏差是常数。<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> 2024年全球气候影响研究降尺度预估数据集（GDPCIR）选择QDM，因为它保留模式预估的分位数趋势，并且与多变量分位数映射或机器学习方法相比，计算开销相对较低。<sup>[12](https://gmd.copernicus.org/articles/17/191/2024/gmd-17-191-2024.html)</sup> 2024年，一种超分辨率深度残差网络（SRDRN）与保趋势QDM结合，从五个CMIP6模式一次性对六个气候变量进行降尺度和偏差校正。<sup>[13](https://link.springer.com/article/10.1007/s00382-024-07406-9)</sup>

## 局限与替代方法

**趋势扭曲。** 标准QM会改变原始模式预估平均变化的大小甚至方向，并可能依季节夸大或减弱预估增暖；原因是当模式方差存在偏差时，QM会修改模式趋势。<sup>[2](https://journals.ametsoc.org/view/journals/hydr/16/6/jhm-d-14-0236_1.pdf)</sup> 对于降水极值，到2080年代，QM在某些地点将年最大值的20年重现期值的相对变化膨胀到超过+500%，而原始模式变化不超过+120%；去趋势QM和QDM分别达到约+240%和+140%。<sup>[6](https://doi.org/10.1175/jcli-d-14-00754.1)</sup>

**外推与尾部。** 经验QM对分布尾部敏感，其在率定期内外的行为差异显著，导致时间序列的时间一致性出现严重问题。<sup>[14](https://gmd.copernicus.org/articles/17/8173/2024/gmd-17-8173-2024.html)</sup> 常见的修正方法是将率定期高端的调整值应用于所有超出范围的数据，但这可能引入不切实际的大幅调整。<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup><sup> • </sup><sup>[14](https://gmd.copernicus.org/articles/17/8173/2024/gmd-17-8173-2024.html)</sup> 2024年的一种两步补救方法将尾部数据排除在率定之外，以便外推处理所有时期，然后为外推拟合对离群值不敏感的线性回归；调整均值与调整极值之间仍存在不可避免的权衡。<sup>[14](https://gmd.copernicus.org/articles/17/8173/2024/gmd-17-8173-2024.html)</sup>

**参考依赖与分布假设。** QDM对参考数据集的选择高度敏感，尤其是对降水和极端温度及降水指数，会将参考数据的偏差转移到校正输出中。<sup>[12](https://gmd.copernicus.org/articles/17/191/2024/gmd-17-191-2024.html)</sup> 参数QM可能引入新偏差，因为气象变量的真实分布取决于地区和季节，而非参数QM更依赖率定期；有观点认为，参数方法对极值的校正更稳健。<sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> 2024年的一项批评表明，偏差校正后，模式与正态分布随机场的平均日降雨量相匹配，说明分位数映射甚至会将参考分布强加于非物理输入。<sup>[15](https://beta.iopscience.iop.org/article/10.1088/1748-9326/ad6d82/meta)</sup>

**替代方法。** 在基于分位数的方法中，SDM在保留原始预估变化方面优于QM、QDM和去趋势QM，代价是参数化脚本比经验方法慢一个数量级以上。<sup>[11](https://doi.org/10.5194/hess-21-2649-2017)</sup><sup> • </sup><sup>[4](https://ascmo.copernicus.org/articles/9/29/2023/)</sup> 与机器学习相比，SRDRN-QDM组合大幅降低了空间依赖和变量间依赖的偏差，并且在降低极值偏差方面显著优于单独使用深度学习；该研究认为，纯深度学习无法可靠地学习历史气候中未出现过的极值。<sup>[13](https://link.springer.com/article/10.1007/s00382-024-07406-9)</sup>

## References

1. [An improved empirical quantile mapping approach for bias correction of extreme values in climate model simulations (Environmental Research Letters)](https://google.iopscience.iop.org/article/10.1088/1748-9326/ad9b3d)
2. [Improved Bias Correction Techniques for Hydrological Simulations of Climate Change (J. Hydrometeorology, Maurer & Pierce 2014)](https://journals.ametsoc.org/view/journals/hydr/16/6/jhm-d-14-0236_1.pdf)
3. [Technical Note: Downscaling RCM precipitation to the station scale using quantile mapping – a comparison of methods (HESS Discussions, Gudmundsson et al. 2012)](https://hess.copernicus.org/preprints/9/6185/2012/hessd-9-6185-2012-print.pdf)
4. [Evaluating skills and issues of quantile-based bias adjustment for climate change scenarios (ASCMO, 2023)](https://ascmo.copernicus.org/articles/9/29/2023/)
5. [Bias correction of ENSEMBLES precipitation data with focus on the effect of the length of the calibration period](https://pure.mpg.de/rest/items/item_3512318_1/component/file_3512323/content)
6. [Alex J. Cannon, Stephen R. Sobie, Trevor Q. Murdock (2015). Bias Correction of GCM Precipitation by Quantile Mapping: How Well Do Methods Preserve Changes in Quantiles and Extremes?. Journal of Climate.](https://doi.org/10.1175/jcli-d-14-00754.1)
7. [Help for package qmap](https://cran.r-project.org/web/packages/qmap/refman/qmap.html)
8. [Statistical Downscaling and Bias-Adjustment, xclim.sdba documentation (v0.48.1)](https://xclim.readthedocs.io/en/v0.48.1/notebooks/sdba.html)
9. [Multi-variable error correction of regional climate models (Climatic Change)](https://link.springer.com/article/10.1007/s10584-013-0845-x)
10. [Bias correction capabilities of quantile mapping methods for rainfall and temperature variables (Journal of Water and Climate Change, IWA)](https://iwaponline.com/jwcc/article/12/2/401/74161/Bias-correction-capabilities-of-quantile-mapping)
11. [Matthew B. Switanek and colleagues (2017). Scaled distribution mapping: a bias correction method that preserves raw climate model projected changes. Hydrology and earth system sciences.](https://doi.org/10.5194/hess-21-2649-2017)
12. [Global Downscaled Projections for Climate Impacts Research (GDPCIR) (GMD, 2024)](https://gmd.copernicus.org/articles/17/191/2024/gmd-17-191-2024.html)
13. [Multivariate bias correction and downscaling of climate models with trend-preserving deep learning (Climate Dynamics, 2024)](https://link.springer.com/article/10.1007/s00382-024-07406-9)
14. [Robust handling of extremes in quantile mapping – “Murder your darlings” (GMD, 2024)](https://gmd.copernicus.org/articles/17/8173/2024/gmd-17-8173-2024.html)
15. [State-of-the-art bias correction of climate models misrepresent climate science and misinform adaptation (Environmental Research Letters, 2024)](https://beta.iopscience.iop.org/article/10.1088/1748-9326/ad6d82/meta)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/quantile-mapping

English original: https://www.edgepedia.org/quantile-mapping
