Mid-infrared spectroscopy is a technology used globally for quantifying the concentration of fat, protein, lactose and other constituents in the milk samples of both individual animals and bulk tank milk. Differences in the milk components and yield of cows are known to exist between morning and evening milk; nonetheless, differences in the spectra originating from the same cow from morning and evening milkings have never been investigated. Data was obtained from 2,602 dairy cows from 7 research farms in Ireland. A total of 199,288 morning milk spectra with an associated evening milk spectra produced by the same cow within 24 h were available. Post editing, spectral data were available on the same 502 wavelengths in the mid-infrared region of the electromagnetic spectrum for all milk samples. Differences between morning and evening milk spectra produced by the same cow in a 24-h period were investigated using a) the mean and standard deviation of the difference between morning and evening spectra absorbance values, b) the correlation between the morning and the respective evening wavelength absorbance values, and c) the L2 distance all of which were quantified across 1) stages of lactation, 2) years, and 3) farms. The average (standard deviation of the) difference between the morning and the evening spectrum absorbance values produced by the same cow within 24 h was 0.00097 (0.008) and it was always larger than 0.055 for the wavelengths between 2,920 cm-1 and 2,947 cm-1. The correlation between morning wavelength absorbance values and the respective evening wavelength absorbance values were all strong (i.e., > 0.80) in the spectral region of 1,469 cm-1 to 1,473 cm-1; weak correlations of < 0.26 existed between morning and evening spectra wavelengths in the region of 1,593 cm-1 to 1,597 cm-1. These trends in correlations generally persisted within different stages of lactation, years, and farms. Results from the L2 distance indicated that early lactation morning and evening spectra were more different (P < 0.05) from each other than when compared in late lactation; no large differences in the L2 distance across different farms and years were evident. The impact of a prediction equation developed from morning spectral data but applied to evening milk spectral data, and vice versa, was investigated. Nitrogen use efficiency (NUE) was the trait explored which is a trait of the animal; the mean NUE (SD) in the validation data set was 22.16 (4.86). The root mean square error from predictions developed and validated on morning spectra samples was 3.49; this increased (P < 0.05) to 3.85 for the same validation in the morning spectra but when the prediction equation was developed using just evening spectra. Similarly, the root mean square error from predictions developed and validated on evening spectra samples was 3.46 which increased (P < 0.05) to 3.85 when the prediction equation was developed using just morning spectra. In conclusion, morning and evening milk spectra produced by the same cow within 24 h differ, particularly in some spectral regions; these differences impact the prediction performance of applied prediction equations.
Keywords: chemometrics; mid-infrared spectroscopy; milk chemistry; milking.
© 2025, The Authors. Published by Elsevier Inc. on behalf of the American Dairy Science Association®. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).