{'fraction_non_alphanumeric': 0.018960244648318043, 'fraction_numerical': 0.0, 'mean_word_length': 5.732510288065844, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Comparing Piecewise Regression and Hysteresis Models in Assessing Beef Cattle Heat Stress

Abstract. Climate change may generate more frequent heat waves, resulting in substantial cattle production losses through increased heat stress. Time lags between air temperature and an animal’s body temperature have been recognized as valuable measures of heat stress, and developing methods for detecting time lags is important. Existing hysteresis models are useful for estimating air-body temperature time lags, especially when the air temperature follows a consistent diurnal sinusoidal function, such as when animals are housed in a controlled environment. However, in cattle feedlot or pasture operations, consistent sinusoidal air temperature patterns are not realistic, and a more flexible approach would be useful. In this article, piecewise regression models (linear and quadratic) are developed to estimate time lags under more general temperature trend conditions. Both piecewise regression and hysteresis models were fit to heat stress data of feedlot cattle. Simulations were conducted to compare the estimated time lags using both types of models. In the simulations, the asymmetric harmonic hysteresis model estimated time lags best, followed by the piecewise linear regression model, while the piecewise regression models were generally more efficient for both simulated and actual data. It was concluded that piecewise regression models are more appropriate than hysteresis models when applied to heat-stressed cattle in production environments. Keywords: Air-body temperature time lag, High temperatures, Nonlinear modeling.