Orthogonal Bayesian Calibration of XRF Data for Geological Applications

Published in Chemometrics and Intelligent Laboratory Systems, 2026

X-ray fluorescence (XRF) calibration for quantitative analysis is typically performed using certified reference materials (CRMs), where the relationship between the concentration of an element and the net area of its peak in the spectrum is assumed, after properly applying corrections for possible matrix effects, to be linear. The calibration is often obtained by Ordinary Least Squares (OLS) by minimizing the vertical distance between regression line and data points taking into account the experimental uncertainty. However, uncertainties in CRM-certified concentrations are often neglected, potentially leading to underestimated errors in the calibration model. In this work, a Bayesian approach is employed to obtain calibration curves by minimizing the orthogonal distance, taking into account both experimental and certified uncertainties. Twenty four geological, soil, and sediment CRMs were analyzed using an energy-dispersive XRF spectrometer, and the resulting spectra were employed for constructed calibration curves for eight oxides and seven elements. The model parameters were estimated via maximum a posteriori (MAP) optimization and the posterior was evaluated by a Gibbs sampling algorithm in an orthogonal parameter space. A principal components analysis (PCA) was implemented for this coordinate transformation to remove the linear correlation. Validation against independent samples shows that the Bayesian approach demonstrates that the ordinary least-squares regression calibration curve deviates from the orthogonal Bayesian MAP curve by up to one standard deviation, particularly for elements with higher reference material variability and lower concentrations. Mean absolute errors and root mean squared errors indicate improved predictive performance for major oxides, while trace elements exhibit variable agreement due to instrumental and sample-specific factors. The results demonstrate that orthogonal Bayesian XRF calibration can enhance both accuracy and uncertainty quantification in multi-elemental analyses.

Download paper here

How to cite

```latex @article{lopes2026orthogonal, title = {Orthogonal Bayesian calibration of XRF data for geological applications}, journal = {Chemometrics and Intelligent Laboratory Systems}, volume = {272}, pages = {105662}, year = {2026}, issn = {0169-7439}, doi = {https://doi.org/10.1016/j.chemolab.2026.105662}, url = {https://www.sciencedirect.com/science/article/pii/S0169743926000353}, author = {João M.F. Lopes and Daljeet S. Gahle and Alessandro Migliori and Kalliopi Kanaki}, keywords = {Bayesian Regression, Monte Carlo Markov chain, X-ray fluorescence, Calibration} }

Recommended citation: Lopes, J. M. F., Gahle, D. S., Migliori, A., Kanaki, K.. Chemometrics and Intelligent Laboratory Systems, 105662.
Download Paper