Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T03:33:26.647Z Has data issue: false hasContentIssue false

A hidden Markov model to predict early mastitis from test-day somatic cell scores

Published online by Cambridge University Press:  17 September 2010

J. C. Detilleux*
Affiliation:
Veterinary Faculty, Department of Quantitative Genetics, University of Liège, 4000 Liège, Belgium
*

Abstract

In many countries, high somatic cell scores (SCS) in milk are used as an indicator for mastitis because they are collected on a routine basis. However, individual test-day SCS are not very accurate in identifying infected cows. Mathematical models may improve the accuracy of the biological marker by making better use of the information contained in the available data. Here, a simple hidden Markov model (HMM) is described mathematically and applied to SCS recorded monthly on cows with or without clinical mastitis to evaluate its accuracy in estimating parameters (mean, variance and transition probabilities) under healthy or diseased states. The SCS means were estimated at 1.96 (s.d. = 0.16) and 4.73 (s.d. = 0.71) for the hidden healthy and infected states, and the common variance at 0.83 (s.d. = 0.11). The probability of remaining uninfected, recovering from infection, getting newly infected and remaining infected between consecutive test days was estimated at 78.84%, 60.49%, 11.70% and 15%, respectively. Three different health-related states were compared: clinical stages observed by farmers, subclinical cases defined for somatic cell counts below or above 250 000 cells/ml and infected stages obtained from the HMM. The results showed that HMM identifies infected cows before the appearance of clinical and subclinical signs, which may critically improve the power of the studies on the genetic determinants of SCS and reduce biases in predicting breeding values for SCS.

Information

Type
Full Paper
Copyright
Copyright © The Animal Consortium 2010
Figure 0

Figure 1 Monthly average somatic cell scores for all lactations (square) and for lactations without clinical mastitis (cross), before (straight line) and after (broken lines) imputation.

Figure 1

Figure 2 Mean number of transitions from one state of mastitis to another across the 10 test days for cows without (a) and with (b) at least one reported clinical case of mastitis. States are designed as CM+ or CM− (plain bar) when a clinical case is reported or not, as SCM+ or SCM− (spotted bar) when SCC are above or below 250 000 cells/ml, and IMI+ or IMI− (stripped bar) when the sample is classified as infected or not by the model.

Figure 2

Figure 3 Average probabilities of transition between IMI states for lactations with (stripped bar) and without (plain bar) a reported clinical case. The hidden states are IMI+ and IMI−, respectively, when the sample is classified as infected or not by the model.

Figure 3

Figure 4 Examples of sequences for the IMI, SCM and CM stages across the 10 test days based on the results shown in Figure 2, for cows without (a) and with (b) at least one reported clinical case of mastitis. The sign is + when the sample is positive for the stage at the test day. The sign is − when the sample is negative for the stage at the test day.