Preprint
Article

This version is not peer-reviewed.

Comparison of Growth Curve and Machine Learning Models for Imputing Missing Body Weights in Simulated Hanwoo Steer Data

Submitted:

11 November 2026

Posted:

24 November 2026

You are already at the latest version

Abstract
Incomplete longitudinal body weight records can reduce the reliability of growth analyses in beef cattle. This study compared nonlinear growth curve and tree-based machine learning models for retrospective imputation of missing body weights in simulated Hanwoo steer data. Monthly body weights from birth to 36 months were simulated for 2,000 steers using Korean reference weights. Nine missing-data scenarios represented random missingness at 10%, 20%, and 30%, growth-stage-specific missingness, and continuous gaps at 3–6, 12–18, and 24–30 months; each scenario was repeated 10 times. Gompertz, von Bertalanffy, logistic, random forest, and gradient boosting models were evaluated using root mean squared error (RMSE) and mean absolute error (MAE). Gradient boosting and random forest showed the lowest overall errors, with RMSE values of 16.314 and 16.330 kg and MAE values of 12.365 and 12.414 kg, respectively. Among nonlinear growth curves, von Bertalanffy performed best, while logistic performed worst. Errors increased most for continuous gaps during later growth. Tree-based machine learning models therefore show promise for retrospective imputation of incomplete Hanwoo body weight records, although validation using observed field data is required before practical application.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

Body weight records provide important information for evaluating growth performance, management efficiency, and breeding potential in beef cattle. In Hanwoo cattle, repeated body weight measurements are commonly used to describe growth patterns, estimate growth curve parameters, and inform selection and management decisions [1,2]. Because cattle growth generally follows a nonlinear, sigmoidal pattern, mathematical growth curve models, such as the Gompertz, von Bertalanffy, and logistic models, have been widely used to characterize age-related changes in body weight [3,4]. These models summarize longitudinal growth trajectories using a small number of biologically interpretable parameters.
However, longitudinal body weight records are often incomplete in livestock production systems. Missing observations may result from irregular recording schedules, animal movements, measurement errors, health problems, or management limitations. Incomplete records may compromise the reliability of growth analyses by affecting model fit and prediction accuracy, with implications for subsequent genetic or management evaluations [5]. Missing observations during specific growth stages or over consecutive age intervals may be particularly problematic because they limit the information available to reconstruct growth trajectories during those periods.
Conventional approaches to handling missing body weight records include deleting incomplete records, interpolating between observed measurements, and predicting missing values using growth curve equations. Although growth curve models yield biologically meaningful estimates, their imputation performance depends on how well the assumed mathematical function represents the underlying growth pattern and whether the available observations are sufficient for stable parameter estimation. Alternative approaches that capture complex relationships among body weight measurements at different ages may therefore be useful for imputing missing longitudinal data.
Tree-based machine learning models, including random forest and gradient boosting, can capture nonlinear relationships without requiring a predefined growth function [6,7]. These methods have demonstrated strong predictive performance in various biological and livestock applications and may be suitable for imputing missing body weight records based on correlations among measurements taken at different ages. However, few studies have directly compared conventional nonlinear growth curve models with tree-based machine learning models for body weight imputation in Hanwoo cattle. Furthermore, the effects of different patterns of missing data, including randomly missing observations, observations missing at specific growth stages, and observations missing over consecutive age intervals, have not been fully evaluated.
Therefore, in this study, we compared the performance of nonlinear growth curve models and tree-based machine learning models for imputing missing body weight records in simulated data representing Hanwoo steers. We hypothesized that tree-based machine learning models would yield lower imputation errors than conventional growth curve models, particularly when the assumptions underlying predefined growth functions or the limited availability of observations constrain prediction accuracy. This comparison provides methodological insight into the selection of imputation strategies for incomplete longitudinal body weight records in Hanwoo cattle.

2. Materials and Methods

2.1. Simulation of Body Weight Data

A simulated longitudinal body weight dataset was generated using age-specific reference body weights for Hanwoo steers published in the 2025 livestock improvement materials issued by the National Institute of Animal Science, Rural Development Administration, Korea [8]. These reference weights, based on the 2024 revised standard body weight data, covered birth to 36 months of age and were used to represent monthly growth patterns.
For each month of age, body weights were independently generated for 2,000 animals from a normal distribution with a mean equal to the corresponding age-specific reference weight. The standard deviation was set to 5% of the reference weight. To avoid unrealistically extreme values, simulated observations below 85% or above 115% of the corresponding reference weight were discarded and resampled. Before the subsequent adjustment, the simulated body weights therefore followed age-specific truncated normal distributions bounded at 85% and 115% of the reference weights.
A cumulative maximum procedure was then applied separately to each animal’s monthly body weight records to ensure a nondecreasing growth trajectory. Any simulated weight lower than the adjusted weight for the preceding month was replaced with that preceding value. The adjusted weights were rounded to one decimal place. This procedure yielded a complete dataset comprising 2,000 simulated Hanwoo steers with monthly body weight records from birth to 36 months of age. This complete dataset served as the reference for subsequent artificial masking and imputation evaluation.

2.2. Missing-Data Scenarios

Artificial missing values were introduced to evaluate imputation performance under different patterns of missing data. Nine scenarios were defined and grouped into three categories: randomly missing observations, observations missing at specific growth stages, and observations missing over consecutive age intervals.
For the randomly missing scenarios, 10%, 20%, and 30% of all body weight records from birth to 36 months of age were randomly masked; these scenarios were designated R10, R20, and R30, respectively. For the growth-stage-specific scenarios, 20% of the body weight records within a designated growth period were randomly masked. The early, middle, and late growth periods were defined as birth to 6 months, 7–18 months, and 19–36 months of age, respectively. The corresponding scenarios were designated E20, M20, and L20.
For the continuous-gap scenarios, all body weight records within a designated age interval were masked for 20% of randomly selected animals. The intervals were 3–6, 12–18, and 24–30 months of age, corresponding to scenarios G3_6, G12_18, and G24_30, respectively. Each of the nine missing-data scenarios was repeated 10 times to account for variability arising from random masking. The artificially masked records were used to evaluate imputation performance, and their original, unmasked body weight values were retained as the true values for calculating imputation errors.
Table 1. Missing-data scenarios used to evaluate body weight imputation in simulated Hanwoo steer data.
Table 1. Missing-data scenarios used to evaluate body weight imputation in simulated Hanwoo steer data.
Scenario Missing-data pattern Target age range Missing proportion
R10 Random missing Birth-36 months 10% of all body weight records
R20 Random missing Birth-36 months 20% of all body weight records
R30 Random missing Birth-36 months 30% of all body weight records
E20 Growth-stage-specific random missing Birth-6 months 20% of records within the target age range
M20 Growth-stage-specific random missing 7-18 months 20% of records within the target age range
L20 Growth-stage-specific random missing 19-36 months 20% of records within the target age range
G3_6 Continuous gap missing 3-6 months All records within the target age range masked for 20% of animals
G12_18 Continuous gap missing 12-18 months All records within the target age range masked for 20% of animals
G24_30 Continuous gap missing 24-30 months All records within the target age range masked for 20% of animals

2.3. Imputation Models

Five models were compared for imputing missing body weight records: three conventional nonlinear growth curve models (Gompertz, von Bertalanffy, and logistic) and two tree-based machine learning models (random forest and gradient boosting).
Each nonlinear growth curve model was fitted separately to the observed body weight records of each animal after artificial masking. The fitted curves were then used to estimate the masked body weights. These models were selected because they have been widely used to describe nonlinear relationships between body weight and age in cattle and other livestock species [3,4]. Model parameters were estimated by nonlinear least squares using the minpack.lm package in R [9]. The Gompertz, von Bertalanffy, and logistic models are defined in Equations (1), (2), and (3), respectively:
W t = A e x p { − B e x p ( − k t ) } + ε t
W t = A { 1 − B e x p ( − k t ) } 3 + ε t
W t = A 1 + B e x p ( − k t ) + ε t
where Wt is the body weight at age t, A is the asymptotic mature weight, B is an integration constant related to the initial body weight, k is the maturation rate parameter, and εt is the residual error. Parameters were estimated using only observed body weight records; artificially masked values were excluded.
Before the machine learning models were fitted, missing predictor values were provisionally imputed to obtain a complete predictor matrix. Missing values within each animal’s longitudinal record were filled using linear interpolation, whereas missing values at the beginning or end of the record were replaced with the nearest available observation. Any remaining missing values were replaced with the corresponding age-specific means. These provisional imputations were used only as predictor values. Body weight at the target age was excluded from the predictor set.
Random forest regression was implemented using the randomForest package in R [10]. Models were fitted using 200 regression trees, with the number of candidate predictors considered at each split set to the square root of the total number of predictors. For each target age, body weight was predicted using measurements at all other ages as predictors. Body weight at the target age was excluded to prevent its direct use as a predictor. The random forest prediction was calculated as the mean of the individual tree predictions, as shown in Equation (4):
W ^ i = 1 B ∑ b = 1 B   T b x i
where W ~ i is the predicted body weight of animal i at the target age, B is the number of regression trees, Tb(xi) is the prediction from the b-th tree, and xi is the predictor vector containing body weight measurements at other ages.
Gradient boosting regression was implemented using the gbm package in R [11]. Models were fitted using 500 trees, an interaction depth of 2, a learning rate of 0.01, and a bag fraction of 0.8. Whereas random forest averages predictions from separately constructed trees, gradient boosting builds an additive model sequentially, adding trees to reduce the prediction loss of the current ensemble. The gradient boosting model is expressed in Equation (5):
F M ( x ) = F 0 ( x ) + ∑ m = 1 M   v γ m h m ( x )
where FM(x) is the final prediction after M boosting iterations, F0(x) is the initial prediction, hm(x) is the regression tree fitted at iteration m, γm is the step size for the m-th tree, and v is the learning rate. As with random forest, body weight at the target age was excluded from the predictor set, and measurements at all other ages were used as predictors. Because these predictors could include measurements taken both before and after the target age, the machine learning procedure was intended for retrospective imputation within an existing longitudinal dataset rather than prospective prediction of future body weight.

2.4. Evaluation of Imputation Performance

Imputation performance was evaluated by comparing the imputed body weights with the original values of the artificially masked records. The primary evaluation metrics were root mean squared error (RMSE) and mean absolute error (MAE), which are commonly used to assess prediction accuracy [12]. RMSE and MAE were calculated using Equations (6) and (7), respectively:
R M S E = 1 n ∑ j = 1 n   W j − W ^ j 2
M A E = 1 n ∑ j = 1 n   W j − W ^ j
where W j is the true body weight of the j-th masked record, W ^ j is the corresponding imputed body weight, and n the number of masked records included in the evaluation. RMSE and MAE were calculated separately for each combination of model, missing-data scenario, and repetition, using only artificially masked records. Overall performance for each model was summarized by averaging the metric values across all nine scenarios and 10 repetitions. All data processing, artificial masking, model fitting, imputation, performance evaluation, and visualization were performed in R version 4.5.1 [13].

3. Results

3.1. Imputation Performance Under Different Missing-Data Scenarios

RMSE varied across imputation models and missing-data scenarios (Figure 1). Under the randomly missing scenarios, RMSE increased slightly as the proportion of missing records increased from 10% to 30%. However, differences among R10, R20, and R30 were relatively small compared with differences among models. Gradient boosting and random forest consistently yielded the lowest RMSE values across these scenarios, whereas the logistic model yielded the highest. Among the nonlinear growth curve models, the von Bertalanffy model generally yielded lower RMSE values than the Gompertz and logistic models.
Under the growth-stage-specific scenarios, imputation performance varied with the growth period in which records were missing. For most models, RMSE was lowest in the early-stage scenario and higher in the middle- and late-stage scenarios. Thus, imputation errors were generally larger for records missing during later growth periods than for those missing during the early growth period. Gradient boosting and random forest maintained relatively low RMSE values across these scenarios, whereas the logistic model yielded the largest errors.
Under the continuous-gap scenarios, RMSE increased markedly as the missing interval shifted to later growth periods. Across all models, RMSE was lowest in G3_6 and highest in G24_30, indicating that the late-growth interval had the largest imputation errors among the three intervals evaluated. Although gradient boosting and random forest generally yielded lower RMSE values than the nonlinear growth curve models, differences among models narrowed in G24_30. All models nevertheless showed reduced imputation accuracy, as measured by RMSE, for this late-growth interval.

3.2. Overall Model Performance

Overall imputation performance is summarized in Table 2 and Figure 2. Gradient boosting yielded the lowest overall errors, with an RMSE of 16.314 kg and an MAE of 12.365 kg. Random forest performed similarly, with an RMSE of 16.330 kg and an MAE of 12.414 kg. These two tree-based machine learning models therefore achieved the lowest overall RMSE and MAE values among the five models evaluated.
Among the nonlinear growth curve models, the von Bertalanffy model yielded the lowest overall errors, with an RMSE of 18.797 kg and an MAE of 14.681 kg. Errors were higher for the Gompertz model, which had an RMSE of 20.649 kg and an MAE of 16.454 kg. The logistic model yielded the highest overall errors, with an RMSE of 31.962 kg and an MAE of 26.890 kg. Both machine learning models achieved lower overall RMSE and MAE values than all three nonlinear growth curve models, of which the von Bertalanffy model performed best.

3.3. Relationship Between True and Imputed Body Weights

Agreement between true and imputed body weights was examined using the continuous-gap scenario G12_18 as a representative example (Figure 3). For visualization, up to 500 observations per model were randomly selected from predictions pooled across the 10 repetitions. Gradient boosting and random forest showed closer agreement between true and imputed body weights than the nonlinear growth curve models. Some clustering of imputed values was nevertheless evident for the machine learning models, suggesting that these models partially smoothed individual-level variation.
The von Bertalanffy and Gompertz models also showed positive relationships between true and imputed body weights, but their predictions were more widely dispersed around the 1:1 reference line than those of the machine learning models. The logistic model showed the largest deviations from this line, particularly at higher body weights. These visual patterns were consistent with the overall RMSE and MAE comparisons, in which tree-based machine learning models achieved lower imputation errors than conventional nonlinear growth curve models in the simulated Hanwoo steer dataset.

4. Discussion

In this study, we compared conventional nonlinear growth curve models and tree-based machine learning models for imputing missing body weight records in simulated Hanwoo steer growth data. Overall, gradient boosting and random forest yielded the lowest imputation errors, whereas the logistic model yielded the highest. These findings suggest that tree-based machine learning models can use relationships among body weight measurements at different ages to impute missing longitudinal data. Imputation accuracy also varied with the pattern and timing of missing observations.
The lower errors achieved by gradient boosting and random forest may reflect their ability to capture nonlinear relationships among age-specific body weight measurements without requiring a predefined growth function. Measurements at ages other than the target age were used as predictors, allowing these models to draw on information across the growth trajectory. This approach may have been particularly advantageous when sufficient measurements were available near the target age. Similar predictive advantages of tree-based approaches have been reported in livestock body weight prediction studies using multiple explanatory variables [14,15]. However, the present findings reflect the performance of the combined preprocessing and machine learning procedure, because missing predictor values were provisionally imputed before model fitting.
Among the nonlinear growth curve models, the von Bertalanffy model yielded the lowest overall imputation errors, followed by the Gompertz model, whereas the logistic model yielded the highest. This ranking suggests that the von Bertalanffy model better represented the simulated Hanwoo steer growth trajectories under the missing-data conditions evaluated. Nonlinear growth curve models also provide biologically interpretable parameters, including mature weight and maturation rate. Although these models were less accurate overall than the tree-based machine learning models in this study, they remain useful for characterizing general growth patterns. Their performance nevertheless depends on how well the assumed mathematical function represents the underlying growth pattern and whether sufficient observations are available for stable parameter estimation.
Imputation performance varied with the proportion, timing, and continuity of missing observations. Under the randomly missing scenarios, RMSE increased only slightly as the proportion of missing records increased from 10% to 30%. This limited increase may reflect the distribution of missing observations throughout the growth period, which left measurements at neighboring or other informative ages available for prediction. In the growth-stage-specific and continuous-gap scenarios, differences in imputation error were more pronounced across the affected age intervals. These findings highlight the importance of considering where missing observations occur within the growth trajectory when evaluating imputation methods for longitudinal body weight data.
The continuous-gap scenarios imposed extended periods without observed body weights for a subset of animals. In these scenarios, imputation errors increased as the missing interval shifted to later growth periods. The larger errors in G24_30 may partly reflect the higher body weights at older ages. Because the standard deviation used to generate the initial simulated weights was proportional to the age-specific reference weight, the absolute variation introduced at later ages was larger in kilograms. Consecutive gaps also reduce the amount of directly observed information near the target ages, potentially limiting the accuracy with which all models can impute the missing values.
The plots of true versus imputed body weights for G12_18 were consistent with the quantitative RMSE and MAE results. Gradient boosting and random forest showed closer agreement between true and imputed weights than the nonlinear growth curve models. Some clustering of imputed values was nevertheless evident for the machine learning models, suggesting partial smoothing of individual-level variation. This observation warrants attention because low average prediction errors do not necessarily imply that an imputation method preserves individual variation or the variance structure of a dataset. Previous studies have also noted that imputation methods may distort associations or downstream inferences when imputed values are treated as fully observed data [16,17]. Imputed body weight records should therefore be used cautiously in subsequent genetic evaluations, rankings of individual animals, and estimates of individual growth characteristics.
The findings also illustrate the complementary roles of machine learning and nonlinear growth curve models. Machine learning models may be useful when the primary objective is accurate imputation, whereas nonlinear growth curve models provide interpretable parameters for characterizing growth. The two approaches may therefore serve complementary analytical purposes. Future studies could explore hybrid approaches that incorporate growth curve parameters as additional predictors in machine learning models or use machine learning to predict and correct residual errors from nonlinear growth curve models. Such approaches may improve imputation accuracy while retaining biologically interpretable components.
Several limitations should be considered. First, the body weight records were simulated using age-specific reference weights and random variation. Although this design enabled controlled comparisons under specified missing-data scenarios, it may not fully capture the complexity of Hanwoo field data. Production records may reflect irregular measurement intervals, herd effects, nutritional differences, disease events, management changes, measurement errors, and nonrandom missingness. Second, artificial masking allowed imputation errors to be calculated directly against known values, but the masking procedures may not represent the mechanisms responsible for missing observations in production settings, including missing-at-random and missing-not-at-random mechanisms. Third, only body weight records were used as predictors. In practical applications, additional information on birth weight, farm, feeding system, pedigree, genomic characteristics, and carcass traits may improve imputation accuracy. Finally, the evaluation focused primarily on RMSE and MAE. Future studies should also assess bias, preservation of variance, consistency of animal rankings, and the effects of imputation on subsequent genetic evaluations and growth curve analyses.

5. Conclusions

In conclusion, tree-based machine learning models, particularly gradient boosting and random forest, achieved the lowest overall imputation errors in the simulated Hanwoo steer dataset. The von Bertalanffy model performed best among the nonlinear growth curve models, whereas the logistic model yielded the highest overall errors. Performance varied across missing-data scenarios, with consecutive missing observations during later growth periods associated with the largest errors in kilograms. These findings suggest that tree-based machine learning models may be useful for imputing missing Hanwoo body weight records. Validation using observed longitudinal field data is required before practical application.

Supplementary Materials

Not applicable.

Author Contributions

Conceptualization, J.M.K.; data curation, J.M.K. and J.I.W.; formal analysis, J.M.K.; methodology, J.M.K., Y.K. and H.D.; software, J.M.K.; validation, J.M.K.; investigation, J.M.K.; writing—original draft preparation, J.M.K.; writing—review and editing, S.J., J.K.S. and S.-S.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Institute of Animal Science, Rural Development Administration, Republic of Korea, grant number PJ01502801.

Institutional Review Board Statement

Not applicable. This study used simulated body weight data generated from publicly available reference body weights for Hanwoo steers and did not involve live animals or animal experiments.

Data Availability Statement

The datasets generated and analyzed during the current study are available from the corresponding author upon reasonable request.

Acknowledgments

This study was conducted with the support of the 2026 RDA Fellowship Program of the National Institute of Animal Science, Rural Development Administration, and the research project “Establishment of Line Populations for Future Demand, Study of the Genetic Characteristics and Development of Application Technology for Hanwoo (PJ01502801).”.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lee, C.W.; Choi, J.G.; Jeon, K.J.; et al. Estimation of growth curve for evaluation of growth characteristics for Hanwoo cows. J. Anim. Sci. Technol. 2003, 45, 509–516. [Google Scholar] [CrossRef]
  2. Yun, J.W.; Park, S.Y.; Park, H.R.; et al. Estimation of growth curve in Hanwoo steers using progeny test records. Korean J. Agric. Sci. 2016, 43, 623–633. [Google Scholar] [CrossRef]
  3. Brown, J.E.; Fitzhugh, H.A., Jr.; Cartwright, T.C. A comparison of nonlinear models for describing weight-age relationships in cattle. J. Anim. Sci. 1976, 42, 810–818. [Google Scholar] [CrossRef]
  4. Fitzhugh, H.A., Jr. Analysis of growth curves and strategies for altering their shape. J. Anim. Sci. 1976, 42, 1036–1051. [Google Scholar] [CrossRef]
  5. Little, R.J.A.; Rubin, D.B. Statistical Analysis with Missing Data, 2nd ed.; Wiley: Hoboken, NJ, USA, 2002. [Google Scholar] [CrossRef]
  6. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
  7. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
  8. National Institute of Animal Science. 2025 Livestock Improvement-Related Materials; Rural Development Administration: Wanju, Republic of Korea, 2025; Available online: https://www.nias.go.kr/front/yrLvstckImprvData.do?cmCode=M231130170809462 (accessed on 23 September 2026).
  9. Elzhov, T.V.; Mullen, K.M.; Spiess, A.N.; Bolker, B. minpack.lm: R Interface to the Levenberg-Marquardt Nonlinear Least-Squares Algorithm Found in MINPACK, Plus Support for Bounds; R package version 1.2-4, 2023. Available online: https://CRAN.R-project.org/package=minpack.lm (accessed on 23 September 2026). [CrossRef]
  10. Liaw, A.; Wiener, M. Classification and regression by randomForest. R News 2002, 2, 18–22. Available online: https://journal.r-project.org/articles/RN-2002-022/ (accessed on 23 September 2026).
  11. Ridgeway, G. Generalized Boosted Models: A Guide to the gbm Package, 2007. Available online: https://www.saedsayad.com/docs/gbm2.pdf (accessed on 23 September 2026).
  12. Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef]
  13. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2025; Available online: https://www.R-project.org/ (accessed on 23 September 2026).
  14. Gebreyesus, G.; Milkevych, V.; Lassen, J.; Sahana, G. Supervised learning techniques for dairy cattle body weight prediction from 3D digital images. Front. Genet. 2023, 13, 947176. [Google Scholar] [CrossRef]
  15. Gomez-Vazquez, A.; Tırınk, C.; Cruz-Tamayo, A.A.; et al. Prediction of body weight by using PCA-supported gradient boosting and random forest algorithms in water buffaloes (Bubalus bubalis) reared in south-eastern Mexico. Animals 2024, 14, 293. [Google Scholar] [CrossRef]
  16. Hong, S.; Lynn, H.S. Accuracy of random-forest-based imputation of missing data in the presence of non-normality, non-linearity, and interaction. BMC Med. Res. Methodol. 2020, 20, 199. [Google Scholar] [CrossRef]
  17. van Buuren, S. Flexible Imputation of Missing Data, 2nd ed.; Chapman & Hall/CRC: Boca Raton, FL, USA, 2018. [Google Scholar] [CrossRef]
Figure 1. Root mean squared error (RMSE) of body weight imputation by model and missing-data scenario in simulated Hanwoo steer data. (A) Randomly missing scenarios in which 10%, 20%, or 30% of all records were masked (R10, R20, and R30, respectively). (B) Growth-stage-specific scenarios in which 20% of records within the early (birth to 6 months), middle (7–18 months), or late (19–36 months) growth period were masked (E20, M20, and L20, respectively). (C) Continuous-gap scenarios in which all records within 3–6, 12–18, or 24–30 months of age were masked for 20% of animals (G3_6, G12_18, and G24_30, respectively). Points represent mean RMSE values, and error bars indicate ±1 standard deviation across 10 repetitions within each scenario.
Figure 1. Root mean squared error (RMSE) of body weight imputation by model and missing-data scenario in simulated Hanwoo steer data. (A) Randomly missing scenarios in which 10%, 20%, or 30% of all records were masked (R10, R20, and R30, respectively). (B) Growth-stage-specific scenarios in which 20% of records within the early (birth to 6 months), middle (7–18 months), or late (19–36 months) growth period were masked (E20, M20, and L20, respectively). (C) Continuous-gap scenarios in which all records within 3–6, 12–18, or 24–30 months of age were masked for 20% of animals (G3_6, G12_18, and G24_30, respectively). Points represent mean RMSE values, and error bars indicate ±1 standard deviation across 10 repetitions within each scenario.
Preprints 243693 g001
Figure 2. Overall imputation performance of five models in simulated Hanwoo steer data, assessed using (A) root mean squared error (RMSE) and (B) mean absolute error (MAE). Points represent mean metric values across the 90 combinations of nine missing-data scenarios and 10 repetitions per scenario. Error bars indicate ±1 standard deviation across these combinations.
Figure 2. Overall imputation performance of five models in simulated Hanwoo steer data, assessed using (A) root mean squared error (RMSE) and (B) mean absolute error (MAE). Points represent mean metric values across the 90 combinations of nine missing-data scenarios and 10 repetitions per scenario. Error bars indicate ±1 standard deviation across these combinations.
Preprints 243693 g002
Figure 3. Agreement between true and imputed body weights for five models under the G12_18 continuous-gap scenario in simulated Hanwoo steer data. In this scenario, all body weight records from 12 to 18 months of age were masked for 20% of animals. Each point represents a paired true and imputed body weight. For visualization, up to 500 observations per model were randomly selected from predictions pooled across 10 repetitions. The dashed line is the 1:1 reference line, representing perfect agreement between true and imputed body weights.
Figure 3. Agreement between true and imputed body weights for five models under the G12_18 continuous-gap scenario in simulated Hanwoo steer data. In this scenario, all body weight records from 12 to 18 months of age were masked for 20% of animals. Each point represents a paired true and imputed body weight. For visualization, up to 500 observations per model were randomly selected from predictions pooled across 10 repetitions. The dashed line is the 1:1 reference line, representing perfect agreement between true and imputed body weights.
Preprints 243693 g003

Model RMSE, kg RMSE SD MAE, kg MAE SD
Gradient Boosting 16.314 6.539 12.365 5.252
Random Forest 16.330 6.479 12.414 5.203
von Bertalanffy 18.797 6.266 14.681 4.997
Gompertz 20.649 5.152 16.454 4.044
Logistic 31.962 4.149 26.890 3.898
Table 2. Overall imputation performance of nonlinear growth curve and tree-based machine learning models in simulated Hanwoo steer data.
Table 2. Overall imputation performance of nonlinear growth curve and tree-based machine learning models in simulated Hanwoo steer data.
Model RMSE, kg RMSE SD MAE, kg MAE SD
Gradient Boosting 16.314 6.539 12.365 5.252
Random Forest 16.330 6.479 12.414 5.203
von Bertalanffy 18.797 6.266 14.681 4.997
Gompertz 20.649 5.152 16.454 4.044
Logistic 31.962 4.149 26.890 3.898
Values are means and standard deviations across the 90 combinations of nine missing-data scenarios and 10 repetitions per scenario. RMSE, root mean squared error; MAE, mean absolute error; SD, standard deviation.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.