Related Experiment Video
Updated: Jul 1, 2025

An Efficient Single—Person Technique for Milk Sampling from Laboratory Mice
Published on: March 28, 2025
Predictive modelling of deviation from expected milk yield in transition cows on automatic milking systems
Fergus P Hannon1, Martin J Green1, Luke O'Grady2
1School of Veterinary Medicine and Science, University of Nottingham, Sutton Bonington Campus, Leicestershire LE12 5RD, United Kingdom.
Abstract:
The transition period is a pivotal time in the production cycle of the dairy cow. It is estimated that between 30% and 50% of all cows experience metabolic or infectious disease during this time. One of the most common and economically consequential effects of disease during the transition period is a reduction in early lactation milk production. This has led to the utilisation of deviation from expected milk yield in early lactation as a proxy measure for transition health. However, to date, this analysis has been used exclusively for the retrospective assessment of transition cow health. Statistical models capable of predicting deviations from expected milk yield may allow producers to proactively manage animals predicted to suffer negative deviations in early lactation milk production. The objective of this retrospective cohort study was first, to explore the accuracy with which cow-level production and behaviour data collected on automatic milking systems (AMS) from 1-3 days in milk (DIM) can predict deviation from expected 30-day cumulative milk yield in multiparous cows. And second, to assess the accuracy with which predicted yield deviations can classify cows into groups which may facilitate improved transition management. Production, rumination, and physical activity data from 31 commercial AMS were accessed. A 3-step analytical procedure was then conducted. In Step 1, expected cumulative yield for 1-30 DIM for each individual cow-lactation was calculated using a mixed effect linear model. In Step 2, 30-Day Yield Deviation (YD) was calculated as the difference between observed and expected cumulative yield. Lactations were then assigned to one of three groups based on their YD, RED Group (= -15% YD), AMBER Group (-14% ̶ 0% YD), GREEN Group (>0% YD). In Step 3, yield, rumination, and physical activity data from days 1-3 in lactation were used to predict YD using machine learning models. Following external validation, YD was predicted across the test data set with a mean absolute error of 9%. Categorisation of animals suffering large negative deviations (RED group) was achieved with a specificity of 99%, sensitivity of 35%, and balanced accuracy of 67%. Our results suggest that milk yield, rumination and physical activity patterns expressed by dairy cows from 1-3 DIM have utility in the prediction of deviation from expected 30-day cumulative yield. However, these predictions currently lack the sensitivity required to classify cows reliably and completely into groups which may facilitate improved transition cow management.
Related Concept Videos
Variation
When independent and dependent variables are plotted on a scatter plot, the slope of a line is a value that describes the rate of change between the two...
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Regression Toward the Mean
Estimating Population Mean with Unknown Standard Deviation
William S. Gosset (1876–1937) of the...
Mean Absolute Deviation
Let us consider a dataset containing the number of unsold cupcakes in five shops: 10, 15, 8, 7, and 10. Initially, calculate the sample mean. Then calculate the deviation, or the difference, between each data value and the mean. Next, the absolute values of these deviations are added and divided by the sample size to...

