Food chemistry

A workflow based on Analysis of Variance-Principal Component Analysis (ANOVA-PCA) for evaluating NIR data quality: a case study on cocoa beans measured with two portable instruments.

Maribel Alexandra Quelal Vásconez, Maxim Tiburziano, Manuel Monti, Barbara Giussani

Independent Researcher, Data Innovation ec, Quito, Ecuador; Yachay University for Experimental Technology and Research, 100119, Urcuquí, Ecuador. · CiQUS - Center for Research in Biological Chemistry and Molecular Materials, University of Santiago de Compostela, Calle Jenaro de la Fuente, Campus Vida, Santiago de Compostela, Spain.

Key points

From the paper's conclusion
  • This study proposes an ANOVA-PCA workflow to assess spectral quality, sample separability, and measurement repeatability using 200 intact cocoa beans measured in triplicate with two portable sensors.

Abstract

Near-infrared spectroscopy is increasingly used in food science as a rapid, non-destructive tool for quality assessment, yet objective approaches for evaluating spectral data quality before model development remain limited. This study proposes an ANOVA-PCA workflow to assess spectral quality, sample separability, and measurement repeatability using 200 intact cocoa beans measured in triplicate with two portable sensors. Raw spectra and two pretreatment methods were evaluated. Between-sample variance accounted for 68.1-74.8% of total variance for the NeoSpectra Scanner and 92.2-93.5% for the MicroNIR OnSite-W, indicating that variability was driven mainly by sample differences rather than measurement noise. Leave-one-replicate-out validation yielded loading correlations above 0.95 and explained-variance changes below 1%. Spectral regions associated with moisture (1410-1420 and 1900 nm) and fermentation-related compositional differences (1100-1200 nm) were consistently identified. Resampling over 1000 iterations showed that 20-30 samples were sufficient for reliable variance assessment, while three replicates adequately supported diagnostic purposes.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers