| Literature DB >> 35456148 |
Lauren Wisnieski1,2, David E Amrine2,3, David G Renter2,3.
Abstract
Feedlot mortality negatively affects animal welfare and profitability. To the best of our knowledge, there are no publications on predictive models for weekly all-cause mortality in feedlot cattle. In this study, random forest models to predict weekly mortality for cattle purchase groups (n = 14,217 purchase groups; 860,545 animals) from arrival at the feeding location (Day 1) to Day 42 and cumulative mortality from Day 43 until slaughter were built using records, weather, and transport data available at the time of purchase. Models were evaluated by calculating the root mean squared error (RMSE) and accuracy (as defined as the percent of purchase groups that had predictions within 0.25% and 0.50% of actual mortality). The models had high accuracy (>90%), but the RMSE estimates were high (range = 1.0% to 4.1%). The best predictors were maximum temperature and purchase weight, although this varied by week. The models performed well among purchase groups with low weekly mortality but performed poorly in high mortality purchase groups. Although high mortality purchase groups were not accurately predicted utilizing the models in this study, the models may potentially have utility as a screening tool for very low mortality purchase groups after arrival. Future studies should consider building iterative models that utilize the strongest predictors identified in this study.Entities:
Keywords: beef cattle; feedlot health; mortality; predictive modeling; random forests
Year: 2022 PMID: 35456148 PMCID: PMC9024862 DOI: 10.3390/pathogens11040473
Source DB: PubMed Journal: Pathogens ISSN: 2076-0817
Descriptive statistics of categorical variables in purchase-group level data from a large commercial beef feeding operation in the Midwestern United States (n = 14,217 purchase groups).
| Variable | Category | |
|---|---|---|
| Sex | Female | 285 (2.0) |
| Male | 13,932 (98.0) | |
| Age | Calf and mixed | 11,173 (78.6) |
| Yearling | 3044 (21.4) | |
| Weaned status | Unweaned and mixed | 2082 (14.6) |
| Weaned | 12,135 (85.4) | |
| Purchase season | Spring | 4476 (31.5) |
| Summer | 2091 (14.7) | |
| Fall | 2973 (20.9) | |
| Winter | 4677 (32.9) | |
| Geographic origin | Canada or North US | 227 (1.6) |
| South US or mixed | 13,990 (98.4) | |
| Source | Auction and mixed | 13,588 (95.6) |
| Contracted | 629 (4.4) | |
| Purchase year | 2015 | 992 (7.0) |
| 2016 | 4441 (31.2) | |
| 2017 | 5273 (37.1) | |
| 2018 | 3508 (24.7) | |
| 2019 | 3 (0.02) | |
| Day of week purchased | Monday | 1777 (12.5) |
| Tuesday | 2936 (20.7) | |
| Wednesday | 3486 (24.5) | |
| Thursday | 3176 (22.3) | |
| Friday | 1962 (13.8) | |
| Saturday/Sunday | 880 (6.2) | |
| Week of month purchased | Days 1–7 | 3376 (23.8) |
| Days 8–14 | 3624 (25.5) | |
| Days 15–21 | 3503 (24.6) | |
| Day 22 until EOM | 3714 (26.1) | |
| Precipitation | Yes | 573 (4.0) |
| No | 13,644 (96.0) | |
| Mortality | 0% | 4131 (29.1) |
| 0% to ≤2% | 3007 (21.2) | |
| 2% to <5% | 3532 (24.8) | |
| ≥5% | 3547 (25.0) |
Descriptive statistics of numerical variables in purchase-group level data from a large commercial beef feeding operation in the Midwestern United States (n = 14,217 purchase groups).
| Variable | Mean (SD) |
|---|---|
| Average purchase weight (kg) | 307.8 (57.2) |
| Head (Number of cattle per purchase group) | 60.6 (49.2) |
| Shipping distance (km) | 510.5 (302.6) |
| Relative humidity | 0.69 (0.14) |
| Windspeed (km/h) | 10.6 (6.1) |
| Maximum temperature (Celsius) | 15.1 (12.5) |
Description of predictors used in random forest models predicting all-cause mortality among purchase groups of feedlot cattle.
| Predictor | Description | Coding 1 |
|---|---|---|
| Age | Age of purchase group | 1 = Calf and mixed, 2 = Yearling |
| Weaned status | Weaning status of purchase group | 1 = Mixed and unweaned, 2 = Weaned |
| Sex | Sex of purchase group | 1 = Heifer, 2 = Steer |
| Origin | Geographic region where purchased | 1 = Canada or north US, 2 = South or mixed |
| Average purchase weight | Average purchase weight of purchase group | Continuous |
| Month | Month purchased | 1 = January, 2 = February, … 12 = December |
| Day of week | Day of week purchased | 1 = Monday, 2 = Tuesday, … 6 = Saturday/Sunday |
| Week of month | Week of month purchased | 1 = Days 1–7, 2 = Days 8–14, 3 = 15–21, 4 = Day 22 until end of month |
| Season | Season when purchased | 1 = Spring (March, April, May), 2 = Summer (June, July, August), 3 = Fall (September, October, November), 4 = Winter (December, January, February) |
| State | State where purchased, states with small sample size grouped together based on location and form regions | 1 = CO, 2 = FL, GA, AL, MS, SC, 3 = ID, NV, OR, UT, CA, WY, MT, 4 = IL, OH, WI, 5 = IA, 6= KS, 7 = KY, 8 = MN, 9 = MS, AR, 10 = NE, 11 = ND, 12 = OK, TX, 13 = SD, 14 = TN, 15 = N/A (Canada) |
| Source | Purchase source | 1 = Auction and mixed, 2 = contracted |
| Shipping distance | Distance from purchase location to backgrounding/feedlot location | Continuous |
| Head | Number of cattle in purchase group | Continuous |
| Relative humidity | Humidity on purchase day | Continuous |
| Windspeed | Windspeed on purchase day | Continuous |
| Maximum temperature | Maximum temperature on purchase day | Continuous |
| Precipitation | Precipitation on purchase day | 0 = There was no precipitation, 1 = There was precipitation |
1 Variables inputted in the final models in the format presented in this table.
Description of root mean squared error (RMSE), accuracy, and variable importance of random forest models predicting all-cause mortality among purchase groups of feedlot cattle in weeks after arrival at a feeding location (n = 4250 purchase groups).
| Model | RMSE 1 | Accuracy within 0.25% | Accuracy within 0.5% | Most Important Variable | 2nd Most Important Variable | 3rd Most Important Variable |
|---|---|---|---|---|---|---|
| Week 1 | 0.009 | 96.16% | 96.38% | Max temperature | Windspeed | Shipping distance |
| Week 2 | 0.011 | 93.86% | 94.26% | Max temperature | Purchase weight | Season (Winter) |
| Week 3 | 0.013 | 92.66% | 93.06% | Purchase weight | Region (Southern US) | Region (NW US) |
| Week 4 | 0.01 | 92.00% | 92.56% | Number of cattle | Purchase weight | Windspeed |
| Week 5 | 0.009 | 91.46% | 92.21% | Weaned status | Purchase weight | Region (Midwestern US) |
| Week 6 | 0.01 | 91.76% | 92.14% | Purchase weight | Age | Month (September) |
| Day 43 to slaughter | 0.041 | 63.51% | 66.96% | Purchase weight | Max temperature | Age |
1 RMSE reported in decimals. To convert to % mortality, multiply by 100. Max = Maximum; NW = Northwestern.
Mean RMSE 1 of random forest models predicting all-cause mortality among purchase groups of feedlot cattle in weeks after arrival at a feeding location in test dataset stratified by purchase group characteristics (n = 4250 purchase groups).
| Variable | Category | Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Day 43 to Slaughter | Average |
|---|---|---|---|---|---|---|---|---|---|
| Sex | Female ( | 0.027 | 0.030 | 0.009 | 0.007 | 0.007 | 0.005 | 0.041 | 0.018 |
| Male ( | 0.008 | 0.010 | 0.013 | 0.010 | 0.009 | 0.010 | 0.041 | 0.014 | |
| Age | Calf and mixed ( | 0.010 | 0.011 | 0.013 | 0.010 | 0.010 | 0.011 | 0.044 | 0.016 |
| Yearling ( | 0.007 | 0.008 | 0.013 | 0.006 | 0.008 | 0.007 | 0.027 | 0.011 | |
| Weaned status | Unweaned 2 ( | 0.013 | 0.018 | 0.023 | 0.018 | 0.015 | 0.019 | 0.068 | 0.025 |
| Weaned ( | 0.008 | 0.009 | 0.010 | 0.007 | 0.008 | 0.008 | 0.035 | 0.012 | |
| Purchase weight 3 | ≤255.8 ( | 0.013 | 0.015 | 0.015 | 0.013 | 0.010 | 0.009 | 0.050 | 0.018 |
| 255.8 to ≤302.1 ( | 0.004 | 0.010 | 0.011 | 0.008 | 0.008 | 0.013 | 0.043 | 0.014 | |
| 302.1 to ≤346.5 ( | 0.008 | 0.008 | 0.012 | 0.010 | 0.010 | 0.010 | 0.040 | 0.014 | |
| >346.5 ( | 0.009 | 0.009 | 0.013 | 0.006 | 0.009 | 0.007 | 0.029 | 0.012 | |
| Purchase season | Spring ( | 0.100 | 0.013 | 0.012 | 0.009 | 0.007 | 0.006 | 0.039 | 0.027 |
| Summer ( | 0.007 | 0.004 | 0.009 | 0.009 | 0.010 | 0.008 | 0.032 | 0.011 | |
| Fall ( | 0.012 | 0.013 | 0.015 | 0.012 | 0.013 | 0.016 | 0.044 | 0.018 | |
| Winter ( | 0.006 | 0.009 | 0.013 | 0.009 | 0.008 | 0.008 | 0.055 | 0.015 | |
| Geographic origin | Canada or North US ( | 0.002 | 0.002 | 0.006 | 0.003 | 0.005 | 0.003 | 0.027 | 0.007 |
| South US or mixed ( | 0.009 | 0.011 | 0.013 | 0.010 | 0.009 | 0.010 | 0.041 | 0.015 | |
| Source | Auction and mixed ( | 0.009 | 0.011 | 0.013 | 0.01 | 0.010 | 0.010 | 0.042 | 0.015 |
| Contracted ( | 0.002 | 0.002 | 0.004 | 0.005 | 0.004 | 0.003 | 0.016 | 0.005 | |
| Head | ≤27 ( | 0.015 | 0.017 | 0.021 | 0.014 | 0.015 | 0.017 | 0.070 | 0.024 |
| 27 to ≤53 ( | 0.007 | 0.011 | 0.010 | 0.009 | 0.008 | 0.008 | 0.030 | 0.012 | |
| 53 to ≤77 ( | 0.004 | 0.005 | 0.007 | 0.009 | 0.005 | 0.005 | 0.023 | 0.008 | |
| >77 ( | 0.004 | 0.004 | 0.007 | 0.005 | 0.004 | 0.005 | 0.021 | 0.007 | |
| Purchase year 4 | 2015 ( | 0.014 | 0.011 | 0.014 | 0.014 | 0.016 | 0.014 | 0.054 | 0.020 |
| 2016 ( | 0.009 | 0.011 | 0.013 | 0.011 | 0.010 | 0.012 | 0.047 | 0.016 | |
| 2017 ( | 0.010 | 0.011 | 0.011 | 0.007 | 0.008 | 0.008 | 0.034 | 0.013 | |
| 2018 ( | 0.004 | 0.010 | 0.014 | 0.009 | 0.008 | 0.008 | 0.037 | 0.013 | |
| Weekly mortality | 0% | 0.001 | 0.003 | 0.003 | 0.003 | 0.003 | 0.002 | 0.026 | 0.006 |
| 0% to ≤2% | 0.012 | 0.011 | 0.011 | 0.010 | 0.010 | 0.011 | 0.013 | 0.011 | |
| 2% to <5% | 0.031 | 0.027 | 0.030 | 0.028 | 0.027 | 0.029 | 0.012 | 0.026 | |
| ≥5% | 0.122 | 0.109 | 0.119 | 0.083 | 0.081 | 0.098 | 0.086 | 0.100 |
1 RMSE reported in decimals. To convert to % mortality, multiply by 100. 2 Unweaned and mixed purchase groups. 3 Average purchase weight (kg). 4 The year 2019 was omitted from table due to small sample size (n = 2 purchase groups).
Accuracy within 0.25% of weekly mortality from random forest models predicting all-cause mortality among purchase groups of feedlot cattle in weeks after arrival at a feeding location in a test dataset stratified by purchase group characteristics (n = 4250 purchase groups).
| Variable | Category | Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Day 43 to Slaughter | Average |
|---|---|---|---|---|---|---|---|---|---|
| Sex | Female ( | 92.7% | 89.0% | 92.7% | 89.0% | 96.3% | 93.9% | 78.1% | 90.2% |
| Male ( | 96.2% | 94.0% | 92.7% | 92.1% | 91.4% | 91.7% | 63.2% | 88.8% | |
| Age | Calf and mixed ( | 96.3% | 93.8% | 92.0% | 91.3% | 90.5% | 90.6% | 61.9% | 88.1% |
| Yearling ( | 95.6% | 94.0% | 95.1% | 94.7% | 94.9% | 95.9% | 69.5% | 91.4% | |
| Weaned status | Unweaned 1 ( | 94.3% | 91.2% | 86.8% | 86.3% | 83.9% | 85.5% | 57.3% | 83.6% |
| Weaned ( | 96.5% | 94.3% | 93.7% | 93.0% | 92.8% | 92.9% | 64.5% | 89.7% | |
| Purchase weight 2 | ≤255.8 ( | 95.2% | 93.1% | 90.1% | 89.5% | 88.6% | 89.6% | 56.8% | 86.1% |
| 255.8 to ≤302.1 ( | 96.6% | 93.7% | 92.9% | 92.6% | 91.1% | 91.1% | 61.4% | 88.5% | |
| 302.1 to ≤346.5 ( | 96.9% | 94.2% | 92.7% | 91.0% | 91.2% | 90.8% | 65.5% | 88.9% | |
| >346.5 ( | 95.9% | 94.5% | 95.0% | 95.0% | 95.0% | 95.7% | 70.4% | 91.6% | |
| Purchase season | Spring ( | 96.9% | 95.2% | 94.7% | 94.8% | 93.8% | 93.6% | 62.1% | 90.2% |
| Summer ( | 96.9% | 95.6% | 92.3% | 91.1% | 87.2% | 90.5% | 63.5% | 88.2% | |
| Fall ( | 94.7% | 91.0% | 89.6% | 88.7% | 88.9% | 87.8% | 65.6% | 86.6% | |
| Winter ( | 96.1% | 93.7% | 93.0% | 91.9% | 92.8% | 93.2% | 63.5% | 89.2% | |
| Geographic origin | Canada or North US ( | 98.3% | 96.6% | 89.7% | 93.1% | 93.1% | 96.6% | 70.7% | 91.2% |
| South US or mixed ( | 96.1% | 93.8% | 92.7% | 92.0% | 91.4% | 91.7% | 63.4% | 88.7% | |
| Source | Auction and mixed ( | 96.2% | 93.8% | 92.5% | 91.9% | 91.3% | 91.7% | 62.9% | 88.6% |
| Contracted ( | 95.2% | 95.8% | 96.8% | 94.7% | 94.7% | 94.2% | 77.3% | 92.7% | |
| Head 3 | ≤27 ( | 98.3% | 97.3% | 96.0% | 96.9% | 95.7% | 96.3% | 65.8% | 92.3% |
| 27 to ≤53 ( | 96.2% | 94.8% | 93.2% | 92.2% | 91.9% | 92.2% | 61.0% | 88.8% | |
| 53 to ≤77 ( | 96.0% | 92.6% | 92.1% | 91.3% | 91.5% | 91.9% | 64.5% | 88.6% | |
| >77 ( | 94.0% | 90.6% | 89.3% | 87.5% | 87.7% | 86.7% | 62.8% | 85.5% | |
| Purchase year 4 | 2015 ( | 94.0% | 90.6% | 89.9% | 85.9% | 86.2% | 87.4% | 60.1% | 84.9% |
| 2016 ( | 95.8% | 93.4% | 92.6% | 91.8% | 91.8% | 92.3% | 68.0% | 89.4% | |
| 2017 ( | 96.9% | 94.4% | 92.5% | 93.1% | 91.8% | 91.0% | 64.4% | 89.2% | |
| 2018 ( | 96.2% | 94.8% | 93.9% | 92.6% | 92.0% | 93.6% | 57.4% | 88.6% | |
| Weekly mortality | 0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% |
| 0% to ≤2% | 2.9% | 0.6% | 7.4% | 5.2% | 5.8% | 2.7% | 95.0% | 17.1% | |
| 2% to <5% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 38.8% | 5.5% | |
| ≥5% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.1% | 0.0% |
1 Unweaned and mixed purchase groups. 2 Average purchase weight (kg). 3 Head is the number of cattle in the purchase group at time of purchase. 4 The year 2019 was omitted from table due to small sample size (n = 2 purchase groups).
Sensitivity and specificity 1 of detecting low mortality (0% to 0.25% mortality or 0% to 0.50% mortality) purchase groups of feedlot cattle in weeks after arrival at a feeding location (n = 4250 purchase groups) 2.
| Ability to Detect Purchase Groups with 0–0.25% Mortality | |||||||
|---|---|---|---|---|---|---|---|
| Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Day 43 to slaughter | |
| Sensitivity | 98.3% | 83.2% | 69.1% | 69.6% | 71.6% | 82.8% | 0.0% |
| Specificity | 9.8% | 33.6% | 51.7% | 51.2% | 56.8% | 30.1% | 100.0% |
|
| |||||||
| Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Day 43 to slaughter | |
| Sensitivity | 98.3% | 83.2% | 69.2% | 69.7% | 71.7% | 82.8% | 0.0% |
| Specificity | 10.1% | 34.5% | 53.6% | 53.0% | 58.7% | 30.6% | 100.0% |
1 Sensitivity was calculated as the percent of low mortality (0% to 0.25% mortality or 0% to 0.50% mortality) in purchase groups that were accurately predicted to have low mortality. Specificity was calculated as the percent of purchase groups that did not have low mortality that was accurately identified as not having low mortality. 2 Additional details of the models are presented in Table 4, Table 5 and Table 6.