Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms

Research output: Contribution to journalJournal articleResearchpeer-review

Standard

Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms. / Skjølstrup, Nanna K.; Lastein, Dorte B.; de Knegt, Leonardo V.; Kristensen, Anders R.

In: Journal of Dairy Science, Vol. 105, No. 7, 2022, p. 5870-5892.

Research output: Contribution to journalJournal articleResearchpeer-review

Harvard

Skjølstrup, NK, Lastein, DB, de Knegt, LV & Kristensen, AR 2022, 'Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms', Journal of Dairy Science, vol. 105, no. 7, pp. 5870-5892. https://doi.org/10.3168/jds.2021-21408

APA

Skjølstrup, N. K., Lastein, D. B., de Knegt, L. V., & Kristensen, A. R. (2022). Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms. Journal of Dairy Science, 105(7), 5870-5892. https://doi.org/10.3168/jds.2021-21408

Vancouver

Skjølstrup NK, Lastein DB, de Knegt LV, Kristensen AR. Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms. Journal of Dairy Science. 2022;105(7):5870-5892. https://doi.org/10.3168/jds.2021-21408

Author

Skjølstrup, Nanna K. ; Lastein, Dorte B. ; de Knegt, Leonardo V. ; Kristensen, Anders R. / Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms. In: Journal of Dairy Science. 2022 ; Vol. 105, No. 7. pp. 5870-5892.

Bibtex

@article{e4a0489252834caeb4703ede2f78fcc7,
title = "Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms",
abstract = "Fast, flexible, and internally valid analytical tools are needed to evaluate the effects of management interventions made on dairy farms to support decisions about which interventions to continue or discontinue. The objective of this observational study was to demonstrate the use of state space models (SSM) to monitor and estimate the effect of interventions on 2 specific outcomes: a dynamic linear model (DLM) evaluating herd-level milk yield and a dynamic generalized linear model evaluating treatment risk in a pragmatic pretest/posttest design under field conditions. This demonstration study is part of a Danish common learning project that ran from March 2020 to May 2021 within the framework of veterinary herd health consultancy in relation to reducing antimicrobial use and improving herd health. Specific interventions for 2 commercial herds were suggested by 4 visiting farmers and were implemented during the project period. The intervention for herd 1 was the application of teat sealers, implemented in August 2020. For herd 2, the intervention was an adjustment of cubicles for cows of parity 2 and above, implemented from November 2020. A shift to an automatic milking system in October 2020 was also modeled as an intervention for herd 1 because the 2 interventions coincided. Data available from the Danish Cattle Database on obligatory registrations for individual cow movements and treatments, as well as test day information on milk yield, were used for model building and testing. Data from a 3-yr period before the project were used to calibrate the SSM to herd conditions, and data from the study period (March 2020 to May 2021) were used for monitoring and intervention testing based on application of the SSM. Herd bulk tank milk recordings were added to the data set during the study period to increase the precision of the estimates in the DLM. The developed SSM monitored herd-level milk yield and the overall probability of treatment throughout the study period in both herds. Furthermore, at the time of intervention, the SSM estimated the effect on herd-level milk yield and treatment risk associated with the implemented intervention in each herd. The SSM were used because they can be calibrated to herd conditions and they take into account herd dynamics and autocorrelation and provide standard deviations of estimates. For herd 1, the intervention effect of applying teat sealers was inconclusive with the current SSM application. For herd 2, no statistically significant changes in cow treatment risk or milk production were identified following the adjustment of cubicles. The use of SSM on observational data under field conditions shows that in this case, the interventions had a nonspecific onset of effect, were implemented during unstable times, and had varying coherence with the measured outcomes, making fully automated SSM analysis difficult. However, similar or expanded SSM with both monitoring and effect estimation functions could, if applied under the right conditions, serve as improved data-based decision support tools for farmers (and veterinarians) to minimize the risk of misinterpreting data due to confounding bias related to dynamics in dairy herds.",
keywords = "dairy farms, effect estimation and monitoring, milk yield, state space models, treatment risk",
author = "Skj{\o}lstrup, {Nanna K.} and Lastein, {Dorte B.} and {de Knegt}, {Leonardo V.} and Kristensen, {Anders R.}",
note = "Publisher Copyright: {\textcopyright} 2022 American Dairy Science Association",
year = "2022",
doi = "10.3168/jds.2021-21408",
language = "English",
volume = "105",
pages = "5870--5892",
journal = "Journal of Dairy Science",
issn = "0022-0302",
publisher = "Elsevier",
number = "7",

}

RIS

TY - JOUR

T1 - Using state space models to monitor and estimate the effects of interventions on treatment risk and milk yield in dairy farms

AU - Skjølstrup, Nanna K.

AU - Lastein, Dorte B.

AU - de Knegt, Leonardo V.

AU - Kristensen, Anders R.

N1 - Publisher Copyright: © 2022 American Dairy Science Association

PY - 2022

Y1 - 2022

N2 - Fast, flexible, and internally valid analytical tools are needed to evaluate the effects of management interventions made on dairy farms to support decisions about which interventions to continue or discontinue. The objective of this observational study was to demonstrate the use of state space models (SSM) to monitor and estimate the effect of interventions on 2 specific outcomes: a dynamic linear model (DLM) evaluating herd-level milk yield and a dynamic generalized linear model evaluating treatment risk in a pragmatic pretest/posttest design under field conditions. This demonstration study is part of a Danish common learning project that ran from March 2020 to May 2021 within the framework of veterinary herd health consultancy in relation to reducing antimicrobial use and improving herd health. Specific interventions for 2 commercial herds were suggested by 4 visiting farmers and were implemented during the project period. The intervention for herd 1 was the application of teat sealers, implemented in August 2020. For herd 2, the intervention was an adjustment of cubicles for cows of parity 2 and above, implemented from November 2020. A shift to an automatic milking system in October 2020 was also modeled as an intervention for herd 1 because the 2 interventions coincided. Data available from the Danish Cattle Database on obligatory registrations for individual cow movements and treatments, as well as test day information on milk yield, were used for model building and testing. Data from a 3-yr period before the project were used to calibrate the SSM to herd conditions, and data from the study period (March 2020 to May 2021) were used for monitoring and intervention testing based on application of the SSM. Herd bulk tank milk recordings were added to the data set during the study period to increase the precision of the estimates in the DLM. The developed SSM monitored herd-level milk yield and the overall probability of treatment throughout the study period in both herds. Furthermore, at the time of intervention, the SSM estimated the effect on herd-level milk yield and treatment risk associated with the implemented intervention in each herd. The SSM were used because they can be calibrated to herd conditions and they take into account herd dynamics and autocorrelation and provide standard deviations of estimates. For herd 1, the intervention effect of applying teat sealers was inconclusive with the current SSM application. For herd 2, no statistically significant changes in cow treatment risk or milk production were identified following the adjustment of cubicles. The use of SSM on observational data under field conditions shows that in this case, the interventions had a nonspecific onset of effect, were implemented during unstable times, and had varying coherence with the measured outcomes, making fully automated SSM analysis difficult. However, similar or expanded SSM with both monitoring and effect estimation functions could, if applied under the right conditions, serve as improved data-based decision support tools for farmers (and veterinarians) to minimize the risk of misinterpreting data due to confounding bias related to dynamics in dairy herds.

AB - Fast, flexible, and internally valid analytical tools are needed to evaluate the effects of management interventions made on dairy farms to support decisions about which interventions to continue or discontinue. The objective of this observational study was to demonstrate the use of state space models (SSM) to monitor and estimate the effect of interventions on 2 specific outcomes: a dynamic linear model (DLM) evaluating herd-level milk yield and a dynamic generalized linear model evaluating treatment risk in a pragmatic pretest/posttest design under field conditions. This demonstration study is part of a Danish common learning project that ran from March 2020 to May 2021 within the framework of veterinary herd health consultancy in relation to reducing antimicrobial use and improving herd health. Specific interventions for 2 commercial herds were suggested by 4 visiting farmers and were implemented during the project period. The intervention for herd 1 was the application of teat sealers, implemented in August 2020. For herd 2, the intervention was an adjustment of cubicles for cows of parity 2 and above, implemented from November 2020. A shift to an automatic milking system in October 2020 was also modeled as an intervention for herd 1 because the 2 interventions coincided. Data available from the Danish Cattle Database on obligatory registrations for individual cow movements and treatments, as well as test day information on milk yield, were used for model building and testing. Data from a 3-yr period before the project were used to calibrate the SSM to herd conditions, and data from the study period (March 2020 to May 2021) were used for monitoring and intervention testing based on application of the SSM. Herd bulk tank milk recordings were added to the data set during the study period to increase the precision of the estimates in the DLM. The developed SSM monitored herd-level milk yield and the overall probability of treatment throughout the study period in both herds. Furthermore, at the time of intervention, the SSM estimated the effect on herd-level milk yield and treatment risk associated with the implemented intervention in each herd. The SSM were used because they can be calibrated to herd conditions and they take into account herd dynamics and autocorrelation and provide standard deviations of estimates. For herd 1, the intervention effect of applying teat sealers was inconclusive with the current SSM application. For herd 2, no statistically significant changes in cow treatment risk or milk production were identified following the adjustment of cubicles. The use of SSM on observational data under field conditions shows that in this case, the interventions had a nonspecific onset of effect, were implemented during unstable times, and had varying coherence with the measured outcomes, making fully automated SSM analysis difficult. However, similar or expanded SSM with both monitoring and effect estimation functions could, if applied under the right conditions, serve as improved data-based decision support tools for farmers (and veterinarians) to minimize the risk of misinterpreting data due to confounding bias related to dynamics in dairy herds.

KW - dairy farms

KW - effect estimation and monitoring

KW - milk yield

KW - state space models

KW - treatment risk

U2 - 10.3168/jds.2021-21408

DO - 10.3168/jds.2021-21408

M3 - Journal article

C2 - 35534271

AN - SCOPUS:85129943799

VL - 105

SP - 5870

EP - 5892

JO - Journal of Dairy Science

JF - Journal of Dairy Science

SN - 0022-0302

IS - 7

ER -

ID: 307374754