# 多变量校准

多变量校准建立一种数学模型，将众多仪器信号（通常是光谱的各个波长）与分析物的浓度或性质关联起来，从而仅凭新样品测得的信号即可对其定量。该模型以信号的 \( n \times p \) 矩阵 \( X \)（n 个样品、p 个通道）和参考值向量 y 为输入，输出新样品的预测 y 值。<sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup> 使用多个通道而非单一通道是该方法的核心优势：对于 N 个组分，多元线性回归至少需要 N 个波长；而使用例如 100 个波长，对噪声和未知干扰物的平均效果远胜于单一波长。<sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup>

| 关键事实 | 数值 |
|---|---|
| 输入 / 输出 | 光谱矩阵 X（n × p）与参考值 y；模型 \( y = f(X) \) 预测新样品的 y <sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup> |
| 通道优势 | N 个组分至少需 N 个波长；约 100 个波长可平均噪声与干扰物 <sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup> |
| 主流模型 | 偏最小二乘（PLS），通过构建与 y 协方差最大的潜变量来建模 <sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup> |
| 校准样本量（ASTM） | 剔除异常值后，潜变量数 ≤ 3 时至少 24 个样品；更多潜变量时至少 6 ×（潜变量数 + 1） <sup>[3](https://icpms.labrulez.com/labrulez-bucket-strapi-h3hsga3/WP_029_EN_0013a156af/WP-029EN.pdf)</sup> |
| 验证样本量 | 因子数 ≤ 5 时至少 20 个独立样品，否则为 4 ×（因子数 + 1），且覆盖校准范围的 95% <sup>[3](https://icpms.labrulez.com/labrulez-bucket-strapi-h3hsga3/WP_029_EN_0013a156af/WP-029EN.pdf)</sup> |
| 适用标准 | ASTM E1655，覆盖近红外（约 780–2500 nm）至中红外（约 4000–400 cm⁻¹） <sup>[4](https://store.astm.org/e1655-17r24.html)</sup> |
| 主要传递方法 | 直接标准化与分段直接标准化，二者均需在两台仪器上测量相同的标准样品 <sup>[5](https://edepot.wur.nl/548934)</sup> |

## 工作原理

存在两个模型族。直接（经典）校准将数据对响应回归，写作 \( X = Y \cdot K^{\mathrm{T}} + F \)，其中残差位于信号 X 中，参考浓度被视为固定；逆向（间接）校准将响应对数据回归，\( Y = X \cdot B + E \)，残差落在参考值 Y 上，这适合浓度测量误差较大的现代仪器。<sup>[6](http://umu.diva-portal.org/smash/get/diva2:414209/FULLTEXT01)</sup><sup> • </sup><sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup> 逆向校准给出的回归参数是有偏的，但其预测比经典校准更精确，总体准确度也更好。<sup>[7](https://fabi.research.vub.be/sites/default/files/2021-07/PCR.pdf)</sup>

光谱存在严重的共线性：波长数 q 动辄成百上千，而训练样本量 n 通常只有两位数，因此不能直接使用普通最小二乘法。<sup>[8](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)</sup> 潜变量方法解决了这一问题。主成分回归（PCR）是一个两步过程：先计算主成分——即最大化解释变异的原始变量的线性组合——再对得分应用多元线性回归。<sup>[7](https://fabi.research.vub.be/sites/default/files/2021-07/PCR.pdf)</sup> PLS 则一步完成，通过最大化 y 值与光谱变量之间的协方差来确定潜变量；它是 OLS 与 PCR 之间的折中，依据与 y 的协方差而非像 PCR 那样依据方差来选择相互正交的因子，速度更快但更难解释。<sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup><sup> • </sup><sup>[8](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)</sup>

## 操作方式

开发是迭代进行的：将数据分为校准集、验证集和异常值集，预处理，拟合，并在未参与开发的数据上验证。<sup>[9](https://www.metrohm.com/content/dam/metrohm/shared/documents/manuals/80/806008101EN.pdf)</sup> ASTM 建议进行 30–50 个样品的可行性研究，分析物范围至少为参考方法重现性的 5 倍 <sup>[3](https://icpms.labrulez.com/labrulez-bucket-strapi-h3hsga3/WP_029_EN_0013a156af/WP-029EN.pdf)</sup>；而瑞士万通 OMNIS 手册则建议约 50 个样品，其中校准集和验证集各 20–25 个。<sup>[9](https://www.metrohm.com/content/dam/metrohm/shared/documents/manuals/80/806008101EN.pdf)</sup> 两份指南文件在最小样本数上并不一致，故此处同时列出两个数字。

常见预处理包括：列中心化，这是光谱数据最常用的处理方式；乘性散射校正，由格拉迪、麦克杜格尔和马滕斯（1985）针对肉类反射光谱发表 <sup>[10](https://doi.org/10.1366/0003702854248656)</sup>；标准正态变量变换，即对每条光谱中心化并按自身标准差缩放，由巴恩斯、达诺阿和利斯特（1989）发表 <sup>[11](https://doi.org/10.1366/0003702894202201)</sup>；以及萨维茨基-戈莱平滑与导数（1964）。<sup>[12](https://doi.org/10.1021/ac60214a047)</sup> 自标度在光谱学中通常不合适，因为它会放大基线区域的噪声；在一个废水示例中，它使预测均方误差增至原来的约 10 倍。<sup>[8](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)</sup>

潜变量数通过交叉验证选择：每次剔除一个对象，重新拟合模型，将预测差的平方汇总为预测残差平方和（PRESS）值。<sup>[7](https://fabi.research.vub.be/sites/default/files/2021-07/PCR.pdf)</sup> 在多数情况下，K 取 5 或 10 是良好的折中，而重复随机 K 折交叉验证可避免单次划分不巧带来的偏差。<sup>[13](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)</sup> 任何一次使用多于一个样品的预处理（如均值中心化）都必须在交叉验证循环内部重新计算，以避免数据泄漏。<sup>[13](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)</sup> 调优（选择因子、波长范围、预处理方式）必须与验证区分开来；实践中需要两个未见过的数据集，或在样品稀缺时采用嵌套交叉验证。<sup>[13](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)</sup>

报告的数字通常是来自独立测试集的预测标准误差，因为多变量预测区间尚无公认的表达式；ASTM E1655 建议使用杠杆值 \( h_{i} \) 和校准标准误差计算样品特异的 SEP，而表观 SEP 含有来自参考值噪声的虚假成分。<sup>[14](https://www.spectroscopyeurope.com/article/estimation-prediction-uncertainty-multivariate-calibration-model)</sup> 阿莱格里尼和奥利维耶里（2014）发表了符合国际纯粹与应用化学联合会（IUPAC）要求的 PLS 校准检出限处理方法。<sup>[15](https://doi.org/10.1021/ac501786u)</sup>

## 起源

PLS 最初是在经济学领域发展起来的，但其在校准领域最著名的倡导者大多是化学家。<sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup> 将基于潜变量 PLS 的多变量校准引入分析化学的是迈克尔·舍斯特伦及其同事，其论文于 1983 年发表于《分析化学学报》，该文将该方法应用于从严重重叠的荧光光谱中同时测定木质素磺酸盐、腐殖酸和一种光学增白剂，在独立样品集上检验了预测，识别了不符合模型的样品，并将该方法与主成分分析结合多元回归进行了比较。<sup>[16](https://doi.org/10.1016/s0003-2670%2800%2985460-4)</sup> 格拉迪和科瓦尔斯基 1986 年关于双块 PLS 的模拟数据论文服务于教程文献 <sup>[17](https://doi.org/10.1016/0003-2670%2886%2980029-0)</sup>，马滕斯、卡斯唐和奈斯于 1987 年展示了选择性增强与异常值检测。<sup>[18](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.1180010403)</sup> 赫斯库尔德松 1988 年的论文发展了 PLS 回归的数学与统计结构及双块算法。<sup>[19](https://doi.org/10.1002/cem.1180020306)</sup> 早期 PLS 仅由算法定义，受到多数统计学家的怀疑；20 世纪 90 年代的澄清性工作使其不再那么神秘。<sup>[8](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)</sup> 沃尔德、舍斯特伦和埃里克松 2001 年的论文巩固了 PLS 回归作为化学计量学基本工具的地位。<sup>[20](https://doi.org/10.1016/s0169-7439%2801%2900155-1)</sup>

## 变体

用于多维 y 的联合 PLS 算法 PLS2 可同时建模多个响应，但在 ASTM E1655 下的校准开发中，只应使用 PLS1，即一次一个响应。<sup>[8](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)</sup><sup> • </sup><sup>[3](https://icpms.labrulez.com/labrulez-bucket-strapi-h3hsga3/WP_029_EN_0013a156af/WP-029EN.pdf)</sup> 正交信号校正由沃尔德、安蒂、林德格伦和厄曼（1998）描述，可去除光谱中与 y 无关的变异，处理 MSC、SNV、平滑或导数难以妥善管理的问题。<sup>[21](https://doi.org/10.1016/s0169-7439%2898%2900109-9)</sup><sup> • </sup><sup>[6](http://umu.diva-portal.org/smash/get/diva2:414209/FULLTEXT01)</sup> 正交投影到潜结构（OPLS）由特里格和沃尔德（2002）提出，形式化了预测性变异与正交变异的分离；其预测精度与 PLS 相同，但更利于解释。<sup>[22](https://doi.org/10.1002/cem.695)</sup><sup> • </sup><sup>[6](http://umu.diva-portal.org/smash/get/diva2:414209/FULLTEXT01)</sup> 局部建模法（LOCAL）变体由达尔代纳、西纳夫和巴滕（2000）提出，在每个样品最近的校准邻居子集上运行 PLS。<sup>[23](https://doi.org/10.1255/jnirs.283)</sup> 对于结构更丰富的数据，应用于多组分荧光数据的秩湮灭法（1978）利用了多向校准的二阶优势。<sup>[24](https://doi.org/10.1021/ac50030a026)</sup>

## 应用

一个主要的历史与经济驱动力是近红外光谱，尤其在食品工业和过程分析化学中。<sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup> ASTM E1655 管辖近红外和中红外区域对材料物理化学特性的多变量定量分析。<sup>[4](https://store.astm.org/e1655-17r24.html)</sup> 近红外仪器继承其参考方法的准确度；典型参考准确度为水分 0.1–0.3、蛋白质 0.1–0.3、灰分 0.02–0.04，若近红外与实验室值之间的标准差超过参考准确度的 1.5 倍，则应进行调查。<sup>[25](https://www.iaom.org/wp-content/uploads/08pertensea17.pdf)</sup>

## 局限与替代方法

只有当校准样品能代表所有未来的实际样品时，多变量校准才有效；否则预测可能严重失准，这正是异常值检测的动机所在。<sup>[2](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)</sup> 不应在校准域之外进行预测：一个样品即使位于 y 域内，也可能因校准样品中不存在的光谱变异而落在 X 域之外。<sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup> 所有多变量校准方法都容易过拟合，风险随变量数和算法灵活性增加而上升，随独立训练样本增加而下降。<sup>[13](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)</sup> 在显著非线性条件下，神经网络优于线性方法，但外推到校准域之外可能导致非常糟糕的结果。<sup>[1](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)</sup>

校准传递解决仪器更换问题。王、费尔特坎普和科瓦尔斯基（1991）提出的直接标准化，以及分段直接标准化，均需在两台仪器上测量相同的标准样品。<sup>[26](https://doi.org/10.1021/ac00023a016)</sup><sup> • </sup><sup>[5](https://edepot.wur.nl/548934)</sup> 无标准方法的存在，是因为当主仪器距离远、损坏或找不到稳定标准品时，基于标准的传递会失败；无标准方法早在 1996 年即由布兰克、萨姆、布朗和蒙弗雷发表 <sup>[27](https://doi.org/10.1021/ac960388+)</sup><sup> • </sup><sup>[5](https://edepot.wur.nl/548934)</sup>，该领域由费乌达莱及其同事（2002）综述。<sup>[28](https://doi.org/10.1016/s0169-7439%2802%2900085-0)</sup> 拉瓦、罗贝尔、朗格莱和戈瑟兰（2023）的似然最大化逆回归（LMIR）无需具有共同 y 值的传递标准品，并允许副仪器的变量与主仪器完全不同。<sup>[29](https://doi.org/10.1016/j.chemolab.2023.104766)</sup> 不存在单一的黄金传递技术；域不变偏最小二乘（di-PLS）和直接正交投影（DOP）因通用性和代码可公开获取而受到关注。<sup>[5](https://edepot.wur.nl/548934)</sup> 即便如此，用一套校准在两台或多台仪器上随时间获得完全相同的结果，仍是技术人员未能实现的目标。<sup>[30](https://sage.cnpereading.com/doi/10.1177/0003702817736064)</sup>

与替代方法比较：在非常大的近红外数据集上，MLR、PLS、人工神经网络和 LOCAL 给出的预测标准误差在统计上几乎相等，数据矩阵比拟合方法更重要。<sup>[23](https://doi.org/10.1255/jnirs.283)</sup> 支持向量机以及更近期的深度学习是光谱传感器中 PLSR 的流行替代方法 <sup>[13](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)</sup>；用于近红外校准的卷积神经网络由崔和费恩（2018）展示 <sup>[31](https://doi.org/10.1016/j.chemolab.2018.07.008)</sup>，深度近红外模型可在仪器之间传递，如米什拉和帕索斯（2021）所示。<sup>[32](https://doi.org/10.1016/j.infrared.2021.103863)</sup><sup> • </sup><sup>[33](https://doi.org/10.1002/cem.3367)</sup>

## References

1. [Selection of a multivariate calibration method (FABI, VUB guidelines)](https://fabi.research.vub.be/sites/default/files/2021-07/selection_multivariate_calibration.pdf)
2. [Introduction to multivariate calibration in analytical chemistry (Brereton, Analyst, 2000)](https://pubs.rsc.org/en/content/articlehtml/2000/an/b003805i)
3. [Metrohm White Paper WP-029EN: Method development for NIRS according to ASTM E1655](https://icpms.labrulez.com/labrulez-bucket-strapi-h3hsga3/WP_029_EN_0013a156af/WP-029EN.pdf)
4. [ASTM E1655-17R24 Standard Practices for Infrared Multivariate Quantitative Analysis](https://store.astm.org/e1655-17r24.html)
5. [Are standard sample measurements still needed to transfer multivariate calibration models between near-infrared spectrometers? The answer is not always (Mishra et al.)](https://edepot.wur.nl/548934)
6. [Umeå University thesis text on OPLS and PLS modeling (DIVA portal)](http://umu.diva-portal.org/smash/get/diva2:414209/FULLTEXT01)
7. [A tutorial on the chemometric development of a calibration model by Principal Component Regression](https://fabi.research.vub.be/sites/default/files/2021-07/PCR.pdf)
8. [Multivariate Calibration, Direct and Indirect Regression Methodology (Sundberg, 1999)](https://staff.math.su.se/rolfs/Publikationer/SJS1999.pdf)
9. [OMNIS NIR Theory manual (Metrohm)](https://www.metrohm.com/content/dam/metrohm/shared/documents/manuals/80/806008101EN.pdf)
10. [P. Geladi, D. MacDougall, H. Martens (1985). Linearization and Scatter-Correction for Near-Infrared Reflectance Spectra of Meat. Applied Spectroscopy.](https://doi.org/10.1366/0003702854248656)
11. [R. J. Barnes, M. S. Dhanoa, Susan J. Lister (1989). Standard Normal Variate Transformation and De-Trending of Near-Infrared Diffuse Reflectance Spectra. Applied Spectroscopy.](https://doi.org/10.1366/0003702894202201)
12. [Abraham. Savitzky, M. J. E. Golay (1964). Smoothing and Differentiation of Data by Simplified Least Squares Procedures.. Analytical Chemistry.](https://doi.org/10.1021/ac60214a047)
13. [Multivariate calibration of non-destructive spectral sensors with a particular focus on food applications: Validation issues and guidelines (TrAC Trends in Analytical Chemistry)](https://discovery.ucl.ac.uk/id/eprint/10212733/1/TrAC_Validation.pdf)
14. [Estimation of prediction uncertainty for a multivariate calibration model](https://www.spectroscopyeurope.com/article/estimation-prediction-uncertainty-multivariate-calibration-model)
15. [Franco Allegrini, Alejandro C. Olivieri (2014). IUPAC-Consistent Approach to the Limit of Detection in Partial Least-Squares Calibration. Analytical Chemistry.](https://doi.org/10.1021/ac501786u)
16. [A multivariate calibration problem in analytical chemistry solved by partial least-squares models in latent variables (Analytica Chimica Acta, 1983)](https://doi.org/10.1016/s0003-2670%2800%2985460-4)
17. [An example of 2-block predictive partial least-squares regression with simulated data (Analytica Chimica Acta, 1986)](https://doi.org/10.1016/0003-2670%2886%2980029-0)
18. [Improved selectivity in spectroscopy by multivariate calibration (Martens, Karstang & Næs, Journal of Chemometrics, 1987)](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.1180010403)
19. [Agnar Höskuldsson (1988). PLS regression methods. Journal of Chemometrics.](https://doi.org/10.1002/cem.1180020306)
20. [PLS-regression: a basic tool of chemometrics (Chemometrics and Intelligent Laboratory Systems, 2001)](https://doi.org/10.1016/s0169-7439%2801%2900155-1)
21. [Orthogonal signal correction of near-infrared spectra (Chemometrics and Intelligent Laboratory Systems, 1998)](https://doi.org/10.1016/s0169-7439%2898%2900109-9)
22. [Johan Trygg, Svante Wold (2002). Orthogonal projections to latent structures (O‐PLS). Journal of Chemometrics.](https://doi.org/10.1002/cem.695)
23. [Pierre Dardenne, George Sinnaeve, Vincent Baeten (2000). Multivariate Calibration and Chemometrics for near Infrared Spectroscopy: Which Method?. Journal of Near Infrared Spectroscopy.](https://doi.org/10.1255/jnirs.283)
24. [C. N. Ho, G. D. Christian, E. R. Davidson (1978). Application of the method of rank annihilation to quantitative analyses of multicomponent fluorescence data from the video fluorometer. Analytical Chemistry.](https://doi.org/10.1021/ac50030a026)
25. [How to get the most out of your NIR instrument (Stefan Tordenmalm, IAOM presentation)](https://www.iaom.org/wp-content/uploads/08pertensea17.pdf)
26. [Yongdong. Wang, David J. Veltkamp, Bruce R. Kowalski (1991). Multivariate instrument standardization. Analytical Chemistry.](https://doi.org/10.1021/ac00023a016)
27. [Thomas B. Blank and colleagues (1996). Transfer of Near-Infrared Multivariate Calibrations without Standards. Analytical Chemistry.](https://doi.org/10.1021/ac960388+)
28. [Transfer of multivariate calibration models: a review (Chemometrics and Intelligent Laboratory Systems, 2002)](https://doi.org/10.1016/s0169-7439%2802%2900085-0)
29. [Francis B. Lavoie and colleagues (2023). Calibration transfer by likelihood maximization: A standard-free approach capable of handling non-overlapping wavelength ranges. Chemometrics and Intelligent Laboratory Systems.](https://doi.org/10.1016/j.chemolab.2023.104766)
30. [A Review of Calibration Transfer Practices and Instrument Differences in Spectroscopy (Workman, Applied Spectroscopy 2017)](https://sage.cnpereading.com/doi/10.1177/0003702817736064)
31. [Chenhao Cui, Tom Fearn (2018). Modern practical convolutional neural networks for multivariate regression: Applications to NIR calibration. Chemometrics and Intelligent Laboratory Systems.](https://doi.org/10.1016/j.chemolab.2018.07.008)
32. [Puneet Mishra, Dário Passos (2021). Deep calibration transfer: Transferring deep learning models between infrared spectroscopy instruments. Infrared Physics & Technology.](https://doi.org/10.1016/j.infrared.2021.103863)
33. [Puneet Mishra, Dário Passos (2021). Deep chemometrics: Validation and transfer of a global deep near‐infrared fruit model to use it on a new portable instrument. Journal of Chemometrics.](https://doi.org/10.1002/cem.3367)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 化学 › 化学原理与方法 › Analytical chemistry › Untargeted analysis and chemometrics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/multivariate-calibration

English original: https://www.edgepedia.org/multivariate-calibration
