Next Article in Journal
Alternative Agents to Colcemid for Obtaining High-Quality Metaphase Spreads
Previous Article in Journal
A Meta-Analysis of Global Prevalence of Psittacine Beak and Feather Disease Virus Infection and Associated Risk Factors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Statistical Optimization and Analysis of Factors Maximizing Milk Productivity

1
Department of Industrial Engineering, Graduate School of Education, Bursa Technical University, Bursa 16310, Türkiye
2
Department of Industrial Engineering, Faculty of Engineering and Natural Sciences, Bursa Technical University, Bursa 16310, Türkiye
3
Department of Industrial Engineering, Faculty of Engineering, Çanakkale Onsekiz Mart University, Çanakkale 17020, Türkiye
*
Author to whom correspondence should be addressed.
Animals 2025, 15(10), 1475; https://doi.org/10.3390/ani15101475
Submission received: 16 March 2025 / Revised: 16 May 2025 / Accepted: 17 May 2025 / Published: 20 May 2025
(This article belongs to the Special Issue Sustainable Animal Production and Product Quality)

Simple Summary

This study investigated the effects of biological, environmental, and nutritional factors on increasing milk yield and making feed use more efficient in dairy cows. The study examined the role of animal age, birth period, air temperature, feed rate, and lactation period on milk production. Data were collected from a large-scale farm in Turkey and analyzed using statistical optimization methods. According to the results, milk production is significantly affected by the animal’s physical characteristics and external conditions such as air temperature. Given this information, the model developed determined the ideal conditions to maximize milk production while minimizing feed consumption. This study provides concrete and applicable recommendations that will help farmers increase productivity, reduce costs, and protect animal welfare. The results also have significant social importance regarding sustainable animal husbandry and food security.

Abstract

This study was conducted to determine the biological and environmental factors affecting milk yield and dry matter consumption and to analyze the effects of these factors on animal production. The study determined the variables affecting milk yield as input factors, such as lactation period, number of days of gestation, age, TMR dry matter ratio, and environmental factors. As a result of regression analyses, it was determined that each 1% increase in the TMR dry matter ratio decreased the milk yield by 0.9148 L, and each increase in the number of lactations increased the daily milk yield by 3.753 L. However, it was observed that the increase in the number of lactation days caused a decrease in milk production, and milk yield decreased as the gestation period extended. The most appropriate independent variable values were determined using statistical optimization analyses to maximize milk yield and optimize dry matter consumption. As a result of the analyses, the optimum value for the TMR dry matter ratio was calculated as 46.77%, 5 for lactation number, 6 for lactation day number, 230 days for gestation period, 55.8 months for cow age, and 20 °C for air temperature. The optimum values of the dependent variables were determined to be 61.145 L for daily milk yield and 19.033 units for dry matter consumption. The prediction intervals provided by the model served as reference points for future observations and showed that milk production was strongly affected by certain environmental and biological factors.

1. Introduction

Milk production is strategically important today to meet the increasing global food demand [1]. Especially in developing countries, increasing population and changing dietary habits increase the demand for animal foods and necessitate the development of sustainable production methods [2]. Improving milk production efficiency is critical to economic sustainability and food security [3]. Various studies have been conducted on genetic improvement, feeding strategies, and management techniques to increase productivity, and most of the studies consider the factors independently and use multivariate optimization methods [4,5].
Generally, there are three main cattle breeds regarding milk yield: native, cultured crossbreed, and cultured [6]. Occasionally, large-scale individual and government-supported farms have been established, where thousands of milking cattle are kept [7]. Studies on selection and environmental temperature conditions that have lasted for years have increased dairy cattle productivity [8,9]. Still, despite all these studies, the same increase in milk yield has not been observed [10,11]. Milk productivity is critical to increasing and optimizing farm performance in modern cattle farming [12]. With the modernization of agriculture and animal husbandry, data analytics and statistical methods in production processes are becoming widespread [13]. Statistical analyses play an important role in determining the factors affecting milk productivity and integrating these factors into management strategies [14]. Statistical methods allow us to understand the relationships between multiple variables using detailed analyses performed on large datasets [15].
Linear regression analysis, where variables are usually evaluated, is an effective tool for determining the relationship between milk productivity and the feeding program [16]. These analyses evaluate which nutrients or feeding strategies are effective in increasing milk productivity, as well as the effects of other factors such as the genetic characteristics of cattle, environmental factors, and farm management on milk productivity, and make the necessary adjustments for optimum productivity [17]. Ensuring consistently high milk yield from dairy cattle depends on genetic characteristics, housing conditions, climate, and other environmental factors [18]. Statistical analyses and optimization methods have great potential to determine the most efficient production conditions by considering the different stages of the milk production process using a holistic approach [19,20]. Compared to traditional management approaches, such data-based methods make it possible to make scientific and systematic decisions in farm management [21].
Many studies in the literature examine the factors affecting productivity in dairy farming [22,23,24]. However, these studies generally focus on areas such as genetic selection, nutritional strategies, improvement of environmental factors, and management techniques, and most of these studies lack a combined consideration of the factors and their statistical optimization [5]. The basic hypothesis of this study is that milk yield is significantly affected by biological, environmental, and nutritional variables and that milk yield can be increased by optimizing these variables. The study aims to determine whether these variables affect milk yield positively or negatively.
While the breed, age, and yield of the animal have an essential effect on the milk performance of the animal in the success of dairy cattle farms, factors such as the capacity of the farm, the number of animals raised, the quality of the shelters, the experience and education level of the breeders, the qualified labor force used, and the amount and composition of concentrated feed in the ration determine the organizational quality of dairy cattle farms [25,26]. In dairy cattle, just as in the lives of all other living things, environmental conditions create a complex equation [27]. The components of this complex equation are mainly counted as feeding, sheltering, care, and climate factors [28]. Birth date, insemination date, calving date, lactation start date, dry-off date, first calving date, calving interval, lactation order, various farm factors, and climatic factors directly affect the milk yield of animals [29]. For effective breeding selection, the effects of environmental factors should be eliminated, and only the variation resulting from the genotypic effects of animals should be determined [30].
In many studies on milk productivity, data have been processed by considering seasonal effects, such as air temperature, relative humidity, and wind [31,32,33]. These factors are critical environmental variables that can affect the milk yield of animals [34]. High temperatures negatively affect milk productivity and can cause animals to experience heat stress, which can negatively affect milk production [35]. Similarly, one study emphasized that high relative humidity can also reduce the comfort level of animals and, therefore, milk yield [36]. In addition, the effects of wind on milk productivity should not be ignored [32]. Cold winds mainly affect the metabolism of animals and reduce milk yield [37].
This study aims to determine the most suitable conditions by considering biological, environmental, and nutritional factors affecting milk productivity, together with multivariate statistical optimization methods. In this respect, the study aims to increase milk yield, optimize dry matter consumption, and make resource use more efficient.
This article consists of six main sections. The introduction section of the study emphasizes that the factors affecting milk productivity are generally considered independently in the literature and that optimization methods are not used sufficiently. The second section explains that the variables affecting milk production are analyzed using linear regression and statistical optimization techniques, and the most suitable input variable values are determined. In the third section of the study, the results section, the statistical data obtained are presented, and the effects of factors such as TMR dry matter ratio, lactation period, gestation period, and air temperature on milk yield are detailed. The study’s findings are compared with the literature in the discussion section, and practical applications to increase milk production are discussed. Finally, in the conclusions section, it is stated that the optimization model contributes to increasing milk yield by determining the most suitable independent variable values, and suggestions for future research are presented.

2. Materials and Methods

This study aims to statistically analyze and optimize the biological, environmental, and nutritional factors that maximize milk productivity. In this context, the factors affecting milk productivity were examined using linear regression and other statistical optimization methods, and these factors’ optimum values were determined. The developed model will be used to make decisions to ensure higher efficiency in milk production processes. The method part of this study consists of three stages. The stages of the study method are shown in Figure 1. The preliminary stage of this study includes the process of collecting and sorting data. The first stage involves introducing datasets by obtaining descriptive statistical data on the factors that provide the data for the study. The second part of the method consists of calculating the factors’ statistical significance levels and magnitudes using linear regression analysis. Finally, creating an optimization model that will maximize milk productivity constitutes the third stage of the method part of this study.
The dataset used in our study belongs to a large-scale dairy farm located in western Türkiye. Environmental data, such as average temperature, humidity, and the temperature–humidity index (THI) in the region during the study period, were obtained from local meteorological stations and considered in the analysis. The barns on the farm are open systems with natural ventilation; fans and sprinklers are used for cooling in the summer months. The animals are kept in a free-range system and fed thrice daily. Rations are prepared using the total mixed ration (TMR) method and contain roughages, such as corn silage, alfalfa silage, and wheat straw, and concentrated feeds, such as corn, barley, sunflower meal, and factory feed. The roughage–concentrate ratio is adjusted according to the lactation period, with 55% roughage and 45% concentrate on average. Feeding management is optimized daily according to feed residue, and clean water is constantly provided to the animals.
Independent variables include total mixed ration (TMR), dry matter ratio, lactation number, lactation day number, pregnancy day number, cow age, and air temperature. These variables have numerical data types and are measured in percentages, numbers, and time units. In particular, the TMR dry matter ratio is expressed as a percentage, while lactation number and lactation and pregnancy day numbers are considered numerical values. The age variable represents the monthly age of the cows. Air temperature, an independent variable measured in degrees, was used to evaluate the effect of environmental factors (humidity, wind speed, etc.). On the other hand, dependent variables were determined as milk yield and dry matter (DM). Milk yield represents a numerical value measured in 24 h, while dry matter was calculated as unit/cow. In general, it shows that many factors that can affect the milk productivity of cows are being examined, and the relationships between these factors will be evaluated based on statistical analysis.
Scatter plot images of the dependent variables, daily milk yield, and dry matter (DM) are shown in Figure 2 and Figure 3.
Figure 2 shows the distribution of daily milk yield during the period examined within the scope of the research. When the graph is reviewed, it is observed that milk yield is concentrated in a particular range, but there are also some extreme values. The average daily milk yield is determined to be 51.856 L, and when the data distribution is examined, it is seen that most observations are concentrated around this value. However, the extreme values determined as a minimum of 24.5 L and a maximum of 70.4 L indicate that some animals are more affected by environmental or biological factors. In addition, the slight negative skewness of the distribution shows that the milk yield of some cows is above average, but most animals remain at lower levels. This situation emphasizes the importance of optimization studies on milk yield and reveals the necessity of considering individual factors in farm management.
Figure 3 shows the distribution of the daily dry matter consumption of cows. The average dry matter consumption was calculated as 24.233 units, and it was observed that most observations were close to this value. However, the consumption values varying between a minimum of 14.51 and a maximum of 34.4 units indicate that individual differences play an important role. These differences may vary depending on the cows’ age, lactation stage, and metabolic requirements, as well as environmental factors. When the graph is examined, it is seen that the data have a slightly negative skew, and some cows have lower dry matter consumption than the average. In addition, the existence of individuals with high dry matter consumption reveals the importance of how energy needs are met with different feeding strategies. This analysis contributes to a better understanding of the relationship between milk yield and nutrient consumption and emphasizes the necessity of balanced feeding programs in farm management.
Using statistical optimization, this study analyzed the effects of various biological, environmental, and nutritional factors on the productivity of raw milk obtained from a dairy farm. All 50 animals analyzed in the study were Holstein breeds. The age range of the animals was between 3 and 6 years, and it was ensured that they had similar daily milk yield (DIM) during the lactation period in which they were included in the study. The average DIM value was 90 days, and the fact that all animals were between the first and fourth lactation ensured the homogeneity of the sample. The dataset was collected for two years, and the environmental conditions were similar throughout the study. The same management practices were maintained on the same farm, and there were no changes in feeding management and infrastructure conditions. Environmental data, such as air temperature, relative humidity, and wind speed, were obtained from local meteorological stations in both years, and temperature–humidity index (THI) calculations were made. In addition, the shelters are open systems, and fan and sprinkler systems are used for natural ventilation and cooling during the summer months. This study used a statistical optimization method to analyze the actual milk yield and the costs incurred for milk yield and to obtain optimum data with the optimization model.
Statistical optimization representation is an approach in which simplified methods are combined with distribution techniques to provide a process or system flow. The statistical calculation method is frequently applied in regular transitions by analyzing complex systems and optimizing these systems to the most efficient balance. This process is carried out by analyzing the variables in the system; appropriate models are created in line with the obtained data, processes are organized based on the system’s requirements, and the relevant parameters are adjusted most appropriately so that the targeted functions reach the optimum level. Statistical optimization is a critical approach offering a comprehensive and wide range of services, from industrial processes to production activities, sales and marketing methods, and other operational activities [38]. Finally, all statistical analyses were performed using MINITAB software 21.1.0. The relevant subheadings explain the statistical methods and analysis steps used in detail.
The second step of the study methodology is regression analysis, which aims to estimate the relationship between the dependent and independent variables [39]. In the regression analysis, the observation values of the dependent and independent variables are first analyzed, and a regression curve expressing this relationship is created. Then, parameter estimation is made based on certain assumptions, and hypothesis tests are performed on the model parameters. In linear regression analysis, a regression equation is established that expresses the relationship between the dependent variable and one or more independent variables. This equation is usually written in the following form [40]:
y i j k = δ 0 + δ j x j + δ i j x i x j + ϵ i j k
where y i j k is the dependent variable (e.g., milk productivity), x j and x i are independent variables, δ j and δ i j are expressed as regression coefficients, and δ 0 represents the regression constant term. The coefficients show the effects of the independent variables on y . ϵ i j k is the error term; it represents the random errors resulting from other unobservable model factors.
The optimization model is included in the last section of the study’s methodology. It is considered a valuable method for measuring the effects of these factors on milk productivity by using it to determine the factors affecting milk productivity. Optimization modeling is a mathematical method that guides the effective reaching of the determined target; this type of modeling is mainly used to increase or decrease the targets with limited data and certain constraints to the maximum level [41].
The objective function equation for the statistical optimization model is derived from the regression equation. Constraints are defined as the input parameters used in the regression analysis. In the optimization model, two different objective functions (maximum and minimum) are run for the same constraints. For this reason, this mathematical modeling, which has a two-way objective function, acts as a nonlinear optimization model [42]. The following formulas are used as examples of two-objective optimization models [43]:
M i n   y = δ 0 + δ j x j + δ i j x i x j + ϵ M a x   y = δ 0 + δ j x j + δ i j x i x j + ϵ   s . t . l b   x j u b x j 0
where the terms represent the lower and upper limits of constraints l b and u b , and the symbol x i and x j represents the type of constraints.

3. Results

Determining and analyzing the factors affecting milk productivity is essential for the sustainability of milk production. Milk production is a complex process that is shaped by the interaction of biological, environmental, and nutritional factors. In particular, variables such as total mixed ration (TMR) dry matter ratio, lactation period, gestation period, cow age, and environmental factors are among the determining factors in milk production. This study analyzed biological and ecological variables to maximize milk yield and optimize dry matter consumption. The statistical and optimization data obtained in this section provide important clues for increasing efficiency in farm management.

3.1. Descriptive Statistics

The data obtained for the dependent and independent variables were considered for a certain period. Seventeen thousand and five hundred data for each variable were analyzed. Understanding the distributions and basic statistical properties of the independent variables affecting milk yield and dry matter intake is of critical importance for the reliability of the analyses. Therefore, descriptive statistics were calculated for the independent and dependent variables used in the study, and the mean, standard deviation, variance, quartile values, and minimum and maximum values of the variables were determined. These analyses help us understand which factors show more variability in the milk production process and how these variables are related to milk yield. It was observed that factors such as lactation number, pregnancy period, and environmental temperature showed a wide distribution, and the effects of these variables on milk yield were examined in more detail (Figure 4).
The data collected during this period were analyzed using descriptive statistics, and some basic statistical results are shared in Table 1. These statistics reveal essential features of each variable, such as mean, standard error mean, standard deviation, variance, minimum, quartiles (Q1, median, Q3), maximum values, skewness, and kurtosis. First, the 24 h milk yield was determined to be 51.856 L. The standard deviation showed a significant variety with 8.99 L, while the variance was 80.979. The given milk yield’s lowest value was 24.5 L, and the highest value was 70.4 L. The lowest first quartile (Q1) among the quartiles was 46 L, while the median (Q2) was 52.3 L. The third quartile (Q3) represents the upper limits of milk yield, with 58.2 L. When these data are examined, it is seen that the distribution of milk yield is generally concentrated at medium and high levels, but there are also some exceptionally high values. The skewness value was calculated as −0.30, indicating a negative distribution.
The TMR dry matter (DM) ratio is another important variable that can directly affect milk yield, and it was determined to be 51.379% on average. The standard deviation around this value is 1.963, meaning that the TMR dry matter ratio generally varies between 50% and 56%. While the minimum value is 46.770%, the maximum value is 56.490%. With a Q1 value of 50.190%, a median of 50.790%, and a Q3 value of 51.740%, this variable’s distribution is relatively narrow, meaning that the dry matter ratio in most cows is concentrated in a particular range. The skewness value of 1.18 shows a positive trend; this indicates that there are mostly higher dry matter ratios and that this variable exhibits a right-skewed distribution. The kurtosis value is 0.54, indicating less intense extreme values around the mean of this variable.
For the dry matter intake/cow variable, the mean was calculated as 24.233 units, and the standard deviation was 2.776 units. This shows that the average dry matter intake per cow was around 24 units, but some cows may have higher or lower values. The minimum value was determined as 14.510 units, and the maximum as 34.4. The quartiles were 23.050, 24.750, and 25.870 units, respectively. This distribution shows that dry matter intake for most cows was in the range of 20–30 units. The skewness was determined as −0.75, indicating a negative trend and more low-value observations. The kurtosis value was 1.33, indicating a high density, meaning that most observations were close to the mean value.
The lactation number, one of the other independent variables, was calculated with a mean of 2.2520 and a standard deviation of 12.998. The lactation number indicates how long cows give milk, and these values are observed to spread over a wide range. The minimum value is 1, and the maximum value is 8. This wide distribution shows that the lactation number reflects the diversity of cows’ ages and production cycles. The average number of lactation days was calculated as 166.20, and the number of gestation days was 66.454. The standard deviations in these variables are 90.87 and 71.433, respectively. While the number of gestation days varies between 1 and 230, it is observed that the number of lactation days is also quite variable, and some cows have very long lactation periods. The average age was 44.174 months, and the average air temperature was 22.781 °C. The skewness and kurtosis values show that the distribution in these variables is quite balanced and that the extreme values are limited.
Descriptive statistics of other variables according to 5 frequency groups of each age group of the animals subject to the study are given in Table 2. In the evaluation made according to cow age groups, it is seen that the average milk yield (55.98 L/day) of animals between 62.4 and 82.3 months is at the highest level. The TMR dry matter ratio is also at the lowest level in this group (50.68%), which supports the positive effect of low TMR dry matter ratios on milk yield. However, it was observed that milk yield decreased significantly (45.96 L/day), and lactation number was the highest (7.20) in the oldest group, between 102.3 and 110 months. This shows that increasing lactation number with age decreases milk yield after a certain level. The number of lactation days also fluctuates with age, and the most extended period was observed in the 42.4–62.3 age group, with an average of 175.68 days. The pregnancy duration increases with age, reaching its highest value of 133.82 days in the 82.4–102.3 age range.
Depending on other variables, DM (dry matter) consumption is relatively stable among age groups; the highest consumption was observed in the 82.4–102.3-month group (24.65 units). The TMR dry matter ratio is also high in this age group (52.92%), suggesting that TMR content is directly related to dry matter consumption. When the temperature variable is examined, the average temperature is 23.06 °C in the younger age groups (22.3–42.3 months), while the temperature level decreases relatively in the older groups. This reveals no direct relationship between temperature and age group, but environmental effects may produce different results according to age group. The data show that age, lactation number, and TMR dry matter ratio, in particular, have a complex interaction with milk yield and dry matter consumption.

3.2. Regression Analysis

There are two different dependent variables in this study. For this reason, regression analysis was performed for these variables, and variance analysis results were calculated. The regression analysis for daily milk yield is given in Table 3.
Table 3 presents the ANOVA (analysis of variance) results on the daily milk yield variables. ANOVA tests the effect of independent variables (TMR dry matter ratio, lactation number, lactation days, gestation days, cow age, and temperature) on milk yield. F-value and p-value calculations were calculated for each independent variable. Here, it is seen that all independent variables are statistically significant because the p-values are less than 0.05 for each, indicating that each variable has a significant effect on the daily milk yield. Contents such as TMR dry matter ratio (%), gestation days, and lactation days have very high F-values, indicating that these variables strongly affect milk yield. The F-value of the TMR dry matter ratio is relatively high, at 978.26, and its p-value is 0.001. This indicates that this variable has a powerful effect on milk yield.
Similarly, lactation number, gestation number, cow age, and temperature significantly affected daily milk yield. The effect of lactation number reached a high value with an F-value of 190.63, and the impact of gestation number reached a high value of 591.09. The p-values of these variables ranged between 0.001 and 0.002, indicating that each significantly affected the daily milk yield. In addition, it was observed that the temperature variable also affected milk yield, but this effect was not as strong as the other variables (F-value 123.15). These findings reveal that milk yield is related to environmental and biological factors and that the effects of these factors on production should be evaluated carefully. The Pareto chart showing the impact of the independent factors on the dependent variable is given in Figure 5.
The regression analysis of dry matter, another dependent variable, to measure the effect of the independent variables is given in Table 4. It was designed to examine whether each independent variable affecting the amount of dry matter is statistically significant. All independent variables were observed to affect the dry matter amount in total, but some variables showed this effect more strongly. First, the general regression analysis results show that a model explains 100% of the total variance, and the p-value is 0.001. This reveals that the model is generally significant and that the independent variables affect dry matter. The F-values and p-values for each independent variable are important data showing how effective certain variables are on dry matter.
The TMR dry matter ratio (%) strongly affects dry matter amount, indicating a high value with an F-value of 256.97. In addition, the p-value was calculated as 0.001, confirming that this variable significantly affects the amount of dry matter. The number of lactations is a variable with less effect on dry matter because the F-value was only 2.10, and the p-value was not statistically significant at 0.148. This shows that the number of lactations does not significantly affect the amount of dry matter. The number of lactation days has a powerful effect, reaching a very high value of 1523.69 and a p-value of 0.001. This shows that as the lactation period increases, the amount of dry matter also increases, and this variable plays an important role.
The number of pregnancy days and air temperature also significantly affect dry matter. The F-value of the number of pregnancy days was 655.94, and the air temperature was 659.34, both showing a strong effect. The p-values of each of these variables were calculated as 0.001, meaning that both factors significantly affect dry matter. On the other hand, the effect of the cows’ age on dry matter remains weaker. The F-value of the age variable is 1.51, and the p-value is 0.220, which indicates that age does not significantly affect the amount of dry matter. In general, it is possible to say that factors such as the TMR dry matter ratio, number of lactation days, number of pregnancy days, and air temperature are the most important variables affecting the amount of dry matter. The Pareto chart showing the effect of the independent factors on the dependent variable is given in Figure 6.
The regression equations for both dependent variables, which include independent variables with different coefficients, are given below as Equations (3) and (4).
Daily Milk yield = 109.87 0.9148   T M R   D r y   M a t t e r   % + 3.753   L a c t a t i o n   N u m b e r 0.02229   L a c t a t i o n   D a y   N u m b e r 0.03834   G e s t a t i o n   D a y   N u m b e r 0.2440   A g e 0.10651   T e m p e r a t u r e
D r y   M a t t e r = 16.202 + 0.15626 T M R   D r y   M a t t e r   % + 0.1311   L a c t a t i o n   N u m b e r + 0.017244   L a c t a t i o n   D a y   N u m b e r 0.013458   G e s t a t i o n   D a y   N u m b e r 0.00891   A g e + 0.08213   T e m p e r a t u r e
Equation (3) explains how daily milk yield (24 h yield) is affected by various factors. According to this equation, each 1% increase in the TMR dry matter ratio leads to a decrease in daily milk yield of 0.9148 L. This negative relationship shows that a high TMR dry matter ratio can negatively affect milk yield. The number of lactations positively affects milk yield; each lactation number increases the daily milk yield by 3.753 L. The number of lactation days appears to have a negative effect on daily milk yield, as each increase in lactation day leads to a decrease in milk yield by 0.02229 L. Factors such as the number of days of gestation, age, and air temperature also negatively affect the daily milk yield. Each increase in the number of days of gestation leads to a decrease in milk yield by 0.03834 L, while cow age leads to a reduction of 0.2440 L. In addition, each degree increase in air temperature is associated with a decrease in milk yield of 0.10651 L. This regression equation shows that milk yield is greatly affected by environmental and biological factors and that yield increases significantly as the number of lactations increases. Still, other factors, especially the dry matter ratio and environmental conditions (temperature), can negatively affect yield.
Equation (4) examines which factors affect the dry matter intake per cow. Each 1% increase in the TMR dry matter ratio increases the amount of dry matter intake per cow by 0.15626 units. This positive relationship shows that cows consume more dry matter as the dry matter ratio rises. Each increase in the number of lactations increases the amount of dry matter intake by 0.1311 units, which indicates that cows consume more dry matter during the lactation period. The number of lactation days also increases dry matter intake, but its effect is less (0.017244 units increase). On the other hand, the number of days of gestation, age, and air temperature decreases the effects of dry matter intake. Each increase in the number of days of gestation decreases dry matter intake by 0.013458 units and age by 0.00891 units. Air temperature decreases dry matter intake by 0.08213 units, indicating that high temperatures reduce the dry matter consumption of cows. In general, these equations show that the dry matter intake of cows is shaped by various factors, especially environmental conditions such as dry matter rate, lactation number, and temperature, which have significant effects.

3.3. Statistical Optimization Analysis

Equations (1) and (2) constitute the objective functions of the statistical optimization model. Both objective functions have the same constraints and limits depending on the criteria. The equation obtained with the is a nonlinear optimization model. The optimization model created for this study is given in Equation (5):
M a x   E q   ( 1 ) D a i l y   M i l k   Y i e l d M i n   E q   2 D r y   M a t t e r   s . t . 17.51 T M R   D r y   M a t t e r   % 56.49 1689 L a c t a t i o n   N u m b e r 8 6 L a c t a t i o n   D a y   N u m b e r 350 1 G e s t a t i o n   D a y   N u m b e r 230 22.30 A g e 110 2.2 T e m p e r a t u r e 38.8
Equations (3) and (4) represent the objective functions of the statistical optimization model used in this study. Equation (3) aims to maximize the daily milk yield, while Equation (4) seeks to minimize the dry matter intake of cows. These two equations are solved under the same constraints and limitations, while each tries to achieve a different goal. Maximizing daily milk yield aims to increase milk production while minimizing dry matter intake, which ensures that cows are fed more efficiently and resources are used more effectively. Such a model is crucial for developing optimal nutrition and productivity strategies in farm management. Optimizing two different goals together is of great value, especially in terms of balancing milk yield and nutrition costs.
The equation obtained emerges as a nonlinear optimization model. This shows that the model has a structure with complex and nonlinear interactions between variables rather than simple linear relationships. Such models provide more appropriate solutions for situations where many variables and interactions are considered, which are commonly encountered in real-world problems. The optimization model helps establish a more efficient and sustainable production system by considering two goals: increasing milk yield and reducing dry matter intake. Thus, farmers can obtain higher yields from milk yield and use nutritional resources more effectively. This approach offers an essential strategy for efficient food production and resource management.
Finally, the optimization model created with Equation (5) is solved under certain limitations (constraints). These constraints require each independent variable (such as the TMR dry matter ratio, lactation number, lactation days, pregnancy days, age, and temperature) to be within a specific range. The TMR dry matter ratio was between 46.77% and 56.49%, and the lactation number was between 1 and 8. In addition, physical limits and environmental conditions were considered, such as the age of the cows being between 22.30 months and 110 months and the temperature being between 2.2 °C and 38.8 °C. These constraints ensure that the model is realistic and applicable. This optimization model aims for the best results while considering physical and biological limitations, creating a solid foundation for real-world applicability. Such constraints make it possible to develop an optimized and sustainable solution for farm management. The optimum data of constraints and objective functions for the optimization model are shared in Table 5 and Table 6.
Table 5 shows the optimum values of the independent variables (constraints) obtained according to a specific optimization model. These values indicate that each factor is adjusted at the most appropriate level to provide maximum efficiency and sustainability. First, the TMR dry matter ratio is determined to be 46.77%. This refers to the increase in the dry matter ratio used in the cows’ nutrition to the optimum level. The dry matter ratio is a factor that directly affects nutritional efficiency; this ratio is adjusted to this level to provide an ideal balance for the cows’ health and milk yield. This optimum ratio aims to keep milk production at the highest level by considering feeding costs and resource efficiency.
Another constraint is the number of lactations; the optimum value is 5. This value means that the number of lactations in which the cows are most productive is 5. The number of lactations is an essential factor determining cows’ effect on milk production. A higher number of lactations allows the cows to produce milk for a more extended period. Still, the improvements and maintenance made after each lactation are also significant. Calculating the lactation number as five indicates that this number is ideal for reaching the optimum production level. Increasing the lactation number to this value indicates that the cows are adjusted to provide maximum efficiency.
Other independent variables included in the optimum values are the number of lactation days, the number of gestation days, the age of the cow, and the air temperature. The number of lactation days was determined to be 6, which indicates the time required for each lactation process to be carried out efficiently. The number of gestation days was selected as 230 days; this value is compatible with the standard gestation period of the cows and is a period that will not have a negative effect on milk production and health. The optimum value of cow age was calculated as 55.8 months, indicating the period when the cows are productive and most productive. Finally, the air temperature was determined to be 22 °C, suggesting the environmental temperature limit at which the cows perform best. Each constraint was carefully selected to maximize efficiency in farm management, and these optimum values are critical to ensuring sustainability in milk production.
Table 6 presents the statistical results of the optimum data obtained for the dependent variables (objective functions). The optimum milk yield was determined to be 61.145 L; this value’s margin of error (standard error) was 1.33. This is an essential measure of the reliability of the milk yield estimate. In addition, the milk yield’s 95% confidence interval (CI) is between 60.79 and 73.01 L. This interval represents the highest and lowest estimated values, compatible with the actual value of the optimum milk yield obtained. The 95% prediction interval (PI) is between 55.82 and 84.98 L, indicating a 95% probability that a future observation will be within this interval. This wide prediction interval implies more uncertainty in the future values of milk yield, meaning that external factors can affect milk yield more.
The optimum dry matter intake was determined as 19.033 units; this value’s standard error value is 0.443. This also expresses the reliability of the estimates of dry matter intake. The 95% confidence interval (CI) of dry matter intake is between 17.014 and 19.752 units, which indicates how much the actual value of dry matter intake could be. This confidence interval shows that the model estimates dry matter intake quite reliably. In addition, the 95% prediction interval (PI) is between 13.026 and 22.741 units, which indicates the probability that future observations will be within this interval. This wider prediction interval suggests that there is more uncertainty in dry matter intake due to the effect of some variables and that individual cows may have different levels of dry matter intake.
Table 6 provides essential information showing the accuracy and reliability of the statistical calculations made for daily milk yield and dry matter intake. These statistical measurements help understand how robust and consistent the model is. Since optimizing the relationship between milk yield and dry matter intake is an essential goal in terms of productivity and resource management, such analyses allow for more informed and effective decisions to be made in farm management. At the same time, the wide range of prediction intervals will enable farmers to act in a way that considers uncertainty in developing strategies for future milk production and nutrition planning.
As a result, the optimum data presented in Table 5 and Table 6 allow for meaningful inferences regarding farm management and livestock productivity. The optimum values of the independent variables in Table 5 form the basis of a strategy aimed at increasing milk yield, while also demonstrating an approach aimed at optimizing dry matter intake. In particular, the TMR dry matter ratio was determined to be 46.77%, which is an ideal level for increasing the nutritional efficiency of cows. Increasing the lactation number to 8 indicates when cows achieve maximum productivity. At the same time, other constraints (age, temperature, number of days of gestation) were adjusted to the optimum level considering environmental and biological factors. These data show that the conditions required for sustainable and efficient milk production are provided and that farm management can achieve higher yields with these levels.
The statistical analysis results of the dependent variables in Table 6 confirm the reliability and effectiveness of this optimization model. The 24 h milk yield was calculated to be 61.1448 L, with a confidence interval between 60.79 and 73.01 L. At the same time, the dry matter intake was determined to be 19.033 units and offered a confidence interval between 19.014 and 18.752 units. These results show that both objective functions can be optimized with high accuracy based on the model’s estimates. However, the width of the estimated interval for milk yield contains a particular uncertainty about future productivity due to environmental factors. This situation emphasizes that farmers should consider possible variability in future production plans. In general, both tables provide data that will contribute to the establishment of an efficient production system by optimizing the balance between milk yield and dry matter intake. A visual representation of the optimization model that considers both objective functions and constraints is given in Figure 7.
Figure 7 visually presents the optimum values of the objective functions and constraints of the optimization model. The independent variables determined during the optimization process included the TMR dry matter ratio, lactation number, lactation day number, pregnancy day number, cow age, and air temperature. These variables were analyzed to balance their effects on dependent variables, such as milk yield and dry matter consumption. The model mainly aims to maximize milk yield while keeping dry matter consumption within certain limits. The optimization graph shows the ideal conditions for farm management by determining the optimum points of different independent variables. While the optimum TMR dry matter ratio for milk yield was determined to be 46.77%, the most efficient value for the lactation number was calculated as 5. These points are the recommended values to obtain maximum milk production while preserving the health and productivity of cows.
In this study, the limits of the independent variables were determined during the optimization process, and the best levels compatible with biological factors were calculated. Considering the effects of air temperature on milk yield, the optimum temperature value was determined to be 20.0 °C. This shows that appropriate environmental conditions should be provided to minimize heat stress. Similarly, when the number of lactation days is adjusted to the optimum level, milk yield and animal health are protected by balancing the metabolic load of cows. All these optimum data provide practical information to farmers and researchers, helping them make data-driven animal nutrition and management decisions. In this context, the balance between milk yield and feed consumption is best established thanks to the optimization model, providing a strong basis for sustainable and efficient production strategies in farm management.

4. Discussion

This study provides a comprehensive analysis of the factors affecting milk yield and dry matter intake. The findings revealed that various independent variables significantly affected milk yield and dry matter intake. The discussion section discusses the compatibility of these findings with the literature, their practical applications, and their potential implications for milk production. According to the data obtained, milk yield was calculated as an average of 51.856 L, with a minimum of 24.5 L and a maximum of 70.4 L. This wide range demonstrates the variable effects of different factors on milk yield.
This study determined that the average TMR dry matter ratio was 51.379%, with values ranging from 46.770% to 56.490%. According to the regression analysis results, each 1% increase in the TMR dry matter ratio causes a decrease of 0.9148 L in the daily milk yield. This study calculated the average lactation number as 2.252, and it varied from 1 to 8. According to the regression analysis, each increase in the number of lactations increases the daily milk yield by 3.753 L. However, productivity is thought to decrease in the later lactation periods, and the lactation number that reaches the optimum level is 8. This situation shows that milk production increases up to a certain point but decreases after a certain point due to the physiological limits of the cows. The study determined that the average number of lactation days was 166.20 days. According to the regression analysis, each increase in lactation days leads to a decrease of 0.02229 L in milk yield.
In the study, the number of days of pregnancy was determined to be 66,455 days, and it was seen that it varied from a minimum of 1 day to a maximum of 230 days. According to the regression analysis, each increase in the number of days of pregnancy leads to a decrease in milk yield of 0.03834 L. It was found that increasing air temperature reduces milk yield. In the study, the average air temperature was calculated as 22.781 °C and was determined to vary from a minimum of 2.2 °C to a maximum of 38.8 °C. According to the regression analysis, each degree increase in air temperature causes a decrease in milk yield of 0.10651 L.
The study determined that the average dry matter intake was 24.233 units, which varied from a minimum of 14.510 to a maximum of 34.400 units. According to the regression analysis, each 1% DM dry matter ratio increased the TMR dry matter intake by 0.15626 units. It was determined that an increase in lactation days increased dry matter consumption. According to the regression analysis, each increase in lactation days caused an increase of 0.017244 units in dry matter intake. The increase in the number of pregnancy days decreased the dry matter intake. In this study, it was determined that the number of days of pregnancy varied from 1 to 230 days. According to the regression analysis, each increase in the number of days of pregnancy decreased the dry matter intake by 0.013458 units.
The optimization model determined the most suitable levels of certain variables for maximum milk yield and optimum dry matter intake. The optimum independent variable values defined in the study are as follows: TMR dry matter ratio 46.77%, lactation number 5, lactation number 6, pregnancy number 230, age 55.8 months, and air temperature 20.0°C. The optimum values of the dependent variables were calculated as 61.145 L for milk yield and 19.033 units for DM dry matter intake.
This study has several limitations. First, the data for this study were collected from a single farm, which limits the generalizability of the findings. Differences in climate, farm management practices, housing systems, and herd genetics on other farms are likely to affect the applicability of the results. Future studies that include multiple farms under various environmental and management conditions are needed to confirm and extend these findings. Second, while the statistical optimization approach provides valuable insights, it assumes linear relationships among variables and simplifies complex biological interactions. Finally, the dataset included only Holstein cows with relatively homogeneous traits, and data from other breeds or mixed herds were not considered.

5. Conclusions

This study evaluated the effects of biological, nutritional, and environmental factors on milk yield using regression analysis and optimization modeling. The results revealed that the TMR dry matter ratio, lactation number and duration, pregnancy days, and ambient temperature significantly influenced milk production. While higher TMR dry matter ratios increased feed intake, they negatively affected milk yield, emphasizing the importance of balanced feeding strategies.
This study investigated the impact of various factors on milk yield and dry matter intake in dairy cows and developed an optimization model to enhance production efficiency. The average TMR dry matter ratio was 51.38%, and each 1% increase resulted in a 0.91 L decrease in milk yield, while increasing dry matter intake by 0.16 units. Although higher TMR dry matter ratios promoted feed consumption, they adversely affected milk production, highlighting the need for optimized feeding strategies. The lactation number averaged 2.25 and positively influenced milk yield by 3.75 L per additional lactation. However, excessive lactation numbers eventually reduced productivity. The average lactation period was 166.2 days, and each additional day reduced milk yield by 0.022 L while increasing dry matter intake by 0.017 units. Pregnancy duration showed a similar trend, where each added day decreased milk yield by 0.038 L. The ambient temperature ranged from 2.2 °C to 38.8 °C, with an average of 22.78 °C. Each 1 °C increase caused a 0.11 L reduction in daily milk yield, underlining the importance of mitigating heat stress.
Based on the optimization model, the ideal conditions for maximizing milk yield (61.15 L/day) and maintaining efficient dry matter intake (19.03 units/day) were as follows: 46.77% TMR dry matter ratio, five lactations, six lactation days, 230 days of pregnancy, 55.8 months of age, and 20 °C ambient temperature. These findings provide a quantitative basis for improving dairy farm management through balanced nutrition and environmental control. Environmental factors such as temperature also played a critical role, with rising temperatures associated with reduced milk yield, likely due to heat stress. The developed optimization model identified ideal conditions for maximizing milk yield and managing dry matter intake, offering a practical framework for enhancing dairy farm productivity through data-driven management. This study provides valuable insights into milk yield, although its results are based on data from only one farm. Therefore, caution should be exercised when generalizing the results to other farms with different management practices or environmental conditions.

Author Contributions

Conceptualization, H.Ş. and Y.K.; methodology, H.Ş.; software, Y.K.; validation, Y.K., H.Ş., and A.A.; formal analysis, Y.K.; investigation, Y.K.; resources, Y.K.; data curation, A.A.; writing—original draft preparation, A.A. and Y.K.; writing—review and editing, H.Ş.; visualization, H.Ş.; supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Timofeeva, G.; Akmaeva, R.; Aitpaeva, A. Strategic directions of development of dairy cattle breeding in the region in the conditions of modern challenges. In Proceedings of the Volgograd State University International Scientific Conference “Competitive, Sustainable and Safe Development of the Regional Economy” (CSSDRE 2019); Atlantis Press: Dordrecht, The Netherlands, 2019; pp. 82–87. [Google Scholar]
  2. Reisch, L.; Eberle, U.; Lorek, S. Sustainable food consumption: An overview of contemporary issues and policies. Sustain. Sci. Pract. Policy 2013, 9, 7–25. [Google Scholar] [CrossRef]
  3. Michalk, D.L.; Kemp, D.R.; Badgery, W.B.; Wu, J.; Zhang, Y.; Thomassin, P.J. Sustainability and future food security—A global perspective for livestock production. Land Degrad. Dev. 2019, 30, 561–573. [Google Scholar] [CrossRef]
  4. Akdemir, D.; Beavis, W.; Fritsche-Neto, R.; Singh, A.K.; Isidro-Sánchez, J. Multi-objective optimized genomic breeding strategies for sustainable food improvement. Heredity 2019, 122, 672–683. [Google Scholar] [CrossRef]
  5. Cobb, J.N.; DeClerck, G.; Greenberg, A.; Clark, R.; McCouch, S. Next-generation phenotyping: Requirements and strategies for enhancing our understanding of genotype–phenotype relationships and its relevance to crop improvement. Theor. Appl. Genet. 2013, 126, 867–887. [Google Scholar] [CrossRef]
  6. Yamamoto, W.; Ap Dewi, I.; Ibrahim, M. Effects of silvopastoral areas on milk production at dual-purpose cattle farms at the semi-humid old agricultural frontier in central Nicaragua. Agric. Syst. 2007, 94, 368–375. [Google Scholar] [CrossRef]
  7. George, A.S. Camel milk production as an adaptation to climate change induced drought in East Africa. Partners Univers. Multidiscip. Res. J. 2024, 1, 109–126. [Google Scholar]
  8. Collier, R.J.; Dahl, G.E.; VanBaale, M.J. Major advances associated with environmental effects on dairy cattle. J. Dairy Sci. 2006, 89, 1244–1253. [Google Scholar] [CrossRef]
  9. Berman, A. Invited review: Are adaptations present to support dairy cattle productivity in warm climates? J. Dairy Sci. 2011, 94, 2147–2158. [Google Scholar] [CrossRef]
  10. Taye, T. On-Farm Phenotypic Characterization of Sheko Breed of Cattle and Their Habitat in Bench Maji Zone, Ethiopia. Master’s Thesis, Haramaya University, Haramaya, Ethiopia, 2005. [Google Scholar]
  11. Gura, S. Industrial Livestock Production and Its Impact on Smallholders in Developing Countries; Consultancy Report to the League for Pastoral Peoples and Endogenous Livestock Development, Germany. 2008. Available online: http://re.indiaenvironmentportal.org.in/files/gura_ind_livestock_prod.pdf (accessed on 15 March 2025).
  12. Simitzis, P.; Tzanidakis, C.; Tzamaloukas, O.; Sossidou, E. Contribution of Precision Livestock Farming systems to the improvement of welfare status and productivity of dairy animals. Dairy 2021, 3, 12–28. [Google Scholar] [CrossRef]
  13. Sassenrath, G.F.; Heilman, P.; Luschei, E.; Bennett, G.L.; Fitzgerald, G.; Klesius, P.; Tracy, W.; Williford, J.R.; Zimba, P.V. Technology, complexity and change in agricultural production systems. Renew. Agric. Food Syst. 2008, 23, 285–295. [Google Scholar] [CrossRef]
  14. Martínez-García, C.G.; Dorward, P.; Rehman, T. Factors influencing adoption of improved grassland management by small-scale dairy farmers in central Mexico and the implications for future research on smallholder adoption in developing countries. Livest. Sci. 2013, 152, 228–238. [Google Scholar] [CrossRef]
  15. Mertler, C.A.; Vannatta, R.A.; LaVenia, K.N. Advanced and Multivariate Statistical Methods; Routledge: New York, NY, USA, 2021. [Google Scholar] [CrossRef]
  16. Mu, F.; Gu, Y.; Zhang, J.; Zhang, L. Milk Source Identification and Milk Quality Estimation Using an Electronic Nose and Machine Learning Techniques. Sensors 2020, 20, 4238. [Google Scholar] [CrossRef] [PubMed]
  17. Bello, N.M.; Stevenson, J.S.; Tempelman, R.J. Invited review: Milk production and reproductive performance: Modern interdisciplinary insights into an enduring axiom. J. Dairy Sci. 2012, 95, 5461–5475. [Google Scholar] [CrossRef]
  18. Phithakkitnukooon, S.; Patanukhom, K.; Demissie, M.G. Predicting Spatiotemporal Demand of Dockless E-Scooter Sharing Services with a Masked Fully Convolutional Network. ISPRS Int. J. Geo-Inf. 2021, 10, 773. [Google Scholar] [CrossRef]
  19. Habtegebriel, H.; Admassu, S. Optimization of the production process of soft cheese from camel milk using linear programming technique. Optimization 2016, 49, 35–41. [Google Scholar]
  20. Atalan, A. Forecasting drinking milk price based on economic, social, and environmental factors using machine learning algorithms. Agribusiness 2023, 39, 214–241. [Google Scholar] [CrossRef]
  21. Saiz-Rubio, V.; Rovira-Más, F. From smart farming towards agriculture 5.0: A review on crop data management. Agronomy 2020, 10, 207. [Google Scholar] [CrossRef]
  22. Hristov, A.N.; Price, W.J.; Shafii, B. A meta-analysis examining the relationship among dietary factors, dry matter intake, and milk and milk protein yield in dairy cows. J. Dairy Sci. 2004, 87, 2184–2196. [Google Scholar] [CrossRef]
  23. Zimmermann, A. Optimization of sustainable dairy-cow feeding systems with an economic-ecological LP farm model using various optimization processes. J. Sustain. Agric. 2008, 32, 77–94. [Google Scholar] [CrossRef]
  24. Ngongoni, N.T.; Mapiye, C.; Mwale, M.; Mupeta, B. Factors affecting milk production in the smallholder dairy sector of Zimbabwe. Livest. Res. Rural Dev. 2006, 18, 2006. [Google Scholar]
  25. Oltenacu, P.A.; Broom, D.M. The impact of genetic selection for increased milk yield on the welfare of dairy cows. Anim. Welf. 2010, 19, 39–49. [Google Scholar] [CrossRef]
  26. Dekebo, D.; Kebede, I.A. Review on Dairy Cattle Production in Ethiopia. Mathews J. Vet. Sci. 2023, 7, 28. [Google Scholar] [CrossRef]
  27. Van Horn, H.H.; Newton, G.L.; Kunkle, W.E. Ruminant nutrition from an environmental perspective: Factors affecting whole-farm nutrient balance. J. Anim. Sci. 1996, 74, 3082–3102. [Google Scholar] [CrossRef] [PubMed]
  28. Nyachoti, C.M.; Zijlstra, R.T.; De Lange, C.F.M.; Patience, J.F. Voluntary feed intake in growing-finishing pigs: A review of the main determining factors and potential approaches for accurate predictions. Can. J. Anim. Sci. 2004, 84, 549–566. [Google Scholar] [CrossRef]
  29. Verma, R.; Vijayalakshmy, K.; Virmani, M.; Kumar, S.; Verma, A. Seasonal influence of age at first calving on genetic variation and subsequent reproductive performances in Murrah buffaloes. Biol. Rhythm. Res. 2021, 52, 622–635. [Google Scholar] [CrossRef]
  30. Mrode, R.A. Linear Models for the Prediction of Animal Breeding Values; CABI: Wallingford, UK, 2005. [Google Scholar]
  31. Bokharaeian, M.; Toghdory, A.; Ghoorchi, T.; Ghassemi Nejad, J.; Esfahani, I.J. Quantitative associations between season, month, and temperature-humidity index with milk yield, composition, somatic cell counts, and microbial load: A comprehensive study across ten dairy farms over an annual cycle. Animals 2023, 13, 3205. [Google Scholar] [CrossRef]
  32. West, J.W.; Mullinix, B.G.; Bernard, J.K. Effects of hot, humid weather on milk temperature, dry matter intake, and milk yield of lactating dairy cows. J. Dairy Sci. 2003, 86, 232–242. [Google Scholar] [CrossRef]
  33. Mylostyvyi, R.; Chernenko, O. Correlations between Environmental Factors and Milk Production of Holstein Cows. Data 2019, 4, 103. [Google Scholar] [CrossRef]
  34. Tančin, V.; Mikláš, Š.; Mačuhová, L. Possible physiological and environmental factors affecting milk production and udder health of dairy cows: A review. Slovak. J. Anim. Sci. 2018, 51, 32–40. [Google Scholar]
  35. Das, R.; Sailo, L.; Verma, N.; Bharti, P.; Saikia, J.; Kumar, R. Impact of heat stress on health and performance of dairy animals: A review. Vet. World 2016, 9, 260. [Google Scholar] [CrossRef]
  36. Bovo, M.; Agrusti, M.; Benni, S.; Torreggiani, D.; Tassinari, P. Random Forest Modelling of Milk Yield of Dairy Cows under Heat Stress Conditions. Animals 2021, 11, 1305. [Google Scholar] [CrossRef] [PubMed]
  37. Hill, D.L.; Wall, E. Dairy cattle in a temperate climate: The effects of weather on milk yield and composition depend on management. Animal 2015, 9, 138–149. [Google Scholar] [CrossRef]
  38. Quist, M.A.; LeBlanc, S.J.; Hand, K.J.; Lazenby, D.; Miglior, F.; Kelton, D.F. Milking-to-milking variability for milk yield, fat and protein percentage, and somatic cell count. J. Dairy Sci. 2008, 91, 3412–3423. [Google Scholar] [CrossRef]
  39. Li, M.; Reed, K.F.; Cabrera, V.E. A time series analysis of milk productivity in US dairy states. J. Dairy Sci. 2023, 106, 6232–6248. [Google Scholar] [CrossRef]
  40. Ramirez-Soto, A.N.; Ríos, J.E.S.; Vite, I.P.Y.; Castaneda, P.E.R. Optimizing sales processes with artificial intelligence and machine learning: A scientometric analysis. Sapienza Int. J. Interdiscip. Stud. 2024, 5, e24081. [Google Scholar] [CrossRef]
  41. Dhhan, W.; Rana, S.; Midi, H. A high breakdown, high efficiency and bounded influence modified GM estimator based on support vector regression. J. Appl. Stat. 2017, 44, 700–714. [Google Scholar] [CrossRef]
  42. Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis, 5th ed.; Wiley: Hoboken, NJ, USA, 2012. [Google Scholar]
  43. Galván, I.M.; Valls, J.M.; Cervantes, A.; Aler, R. Multi-objective evolutionary optimization of prediction intervals for solar energy forecasting with neural networks. Inf. Sci. 2017, 418–419, 363–382. [Google Scholar] [CrossRef]
Figure 1. Stages of the study method.
Figure 1. Stages of the study method.
Animals 15 01475 g001
Figure 2. Daily milk yield during the period considered.
Figure 2. Daily milk yield during the period considered.
Animals 15 01475 g002
Figure 3. Dry matter (DM) intake/cow during the period considered.
Figure 3. Dry matter (DM) intake/cow during the period considered.
Animals 15 01475 g003
Figure 4. Minimum–mean–maximum values of the defined dependent and independent variables.
Figure 4. Minimum–mean–maximum values of the defined dependent and independent variables.
Animals 15 01475 g004
Figure 5. Pareto chart of standardized effects on daily milk yield.
Figure 5. Pareto chart of standardized effects on daily milk yield.
Animals 15 01475 g005
Figure 6. Pareto chart of the standardized effects of dry matter.
Figure 6. Pareto chart of the standardized effects of dry matter.
Animals 15 01475 g006
Figure 7. Optimum values of objective functions and constraints of the optimization model.
Figure 7. Optimum values of objective functions and constraints of the optimization model.
Animals 15 01475 g007
Table 1. Descriptive statistics of variables.
Table 1. Descriptive statistics of variables.
VariableMilk YieldTMR
Dry Matter %
Dry
Matter (DM)
Lactation NumberLactation Day
Number
Gestation Day NumberAgeTemperature
Mean51.85651.37924.2332.25200166.20066.454044.17422.781
SE Mean0.06800.01480.02100.009830.687000.540000.12200.0588
StDev8.99901.96302.776012.998090.870071.433016.1397.7750
Variance80.9793.85407.705016.89408258.185.10200260.4560.456
Minimum24.50046.77014.5101.000006.000001.0000022.3002.2000
Q146.00050.19023.05010.000092.00001.0000031.10017.200
Median52.30050.79024.75020.0000162.00047.000041.00022.200
Q358.20051.74025.87030.0000241.000124.00052.60030.000
Maximum70.40056.49034.4008.00000350.000230.000110.0038.800
Skewness−0.30001.1800−0.75001.400000.100000.640001.2500−0.1500
Kurtosis−0.19000.54001.33002.38000−1.04000−0.980001.9500−0.9200
Table 2. Descriptive statistics of other variables depending on cow age groups.
Table 2. Descriptive statistics of other variables depending on cow age groups.
VariableAge FrequencyMeanStDevMinimumMaximumSkewnessKurtosis
Milk Yield[22.3–42.3)52.0517.10835.78665.318−0.2690.013
[42.4–62.3)51.2408.99034.57266.107−0.191−0.619
[62.4–82.3)55.9825.06048.37162.450−0.285−0.375
[82.4–102.3)52.2892.67949.70554.710−0.052−0.013
[102.3–110]45.9631.85544.33247.7430.152−0.895
TMR Dry Matter (%)[22.3–42.3)51.7941.87349.20255.9330.9740.813
[42.4–62.3)51.1561.67348.98355.0721.1361.443
[62.4–82.3)50.6790.82549.74052.1200.3930.778
[82.4–102.3)52.9160.50352.44253.326−0.050−2.086
[102.3–110]50.3460.29250.08650.613−0.0690.765
Dry Matter (DM)[22.3–42.3)24.2292.44617.79529.593−0.4771.664
[42.4–62.3)23.9732.87117.62729.351−0.4671.318
[62.4–82.3)24.2931.93521.40627.171−0.0570.805
[82.4–102.3)24.6481.23123.50525.7810.0070.901
[102.3–110]24.3981.58622.81825.627−0.2940.735
Lactation Number[22.3–42.3)3.2690.3002.8853.513−0.8454.522
[42.4–62.3)2.8290.2232.4953.030−0.8192.316
[62.4–82.3)4.4550.1794.1484.571−1.3110.932
[82.4–102.3)6.4000.0006.4006.400**
[102.3–110]7.1960.0007.1967.196**
Lactation Day Number[22.3–42.3)147.48056.49836.940237.637−0.5331.312
[42.4–62.3)175.67873.71561.635282.650−0.247−0.636
[62.4–82.3)4.4550.1794.1484.571−1.3110.932
[82.4–102.3)133.8192.265131.600135.739−0.050−2.269
[102.3–110]7.1960.0007.1967.196**
Gestation Day Number[22.3–42.3)50.56946.3931.139138.8510.7180.331
[42.4–62.3)85.11952.43424.290167.4300.296−0.791
[62.4–82.3)4.4550.1794.1484.571−1.3110.932
[82.4–102.3)133.8192.265131.600135.739−0.050−2.269
[102.3–110]7.1960.0007.1967.196**
Temperature[22.3–42.3)23.0625.69611.05333.204−0.224−0.139
[42.4–62.3)21.4446.23810.02931.432−0.129−0.594
[62.4–82.3)4.4550.1794.1484.571−1.3110.932
[82.4–102.3)133.8192.265131.600135.739−0.050−2.269
[102.3–110]7.1960.0007.1967.196**
* Not available.
Table 3. ANOVA data for daily milk yield.
Table 3. ANOVA data for daily milk yield.
VariableDFAdj SSAdj MSF-Valuep-Value
TMR Dry Matter (DM) %1523,62052,362.3978.260.001
Lactation Number110,204.010,203.6190.630.001
Lactation Day Number115,140.015,139.9282.850.002
Gestation Day Number131,638.031,638.3591.090.001
Age16717.006716.60125.480.001
Temperature16592.006591.80123.150.002
Table 4. ANOVA data for dry matter.
Table 4. ANOVA data for dry matter.
VariableDFAdj SSAdj MSF-Valuep-Value
TMR Dry Matter (DM) %11528.01527.69256.9700.001
Lactation Number112.00012.46002.100000.148
Lactation Day Number19058.09058.191523.690.001
Gestation Day Number13899.03899.49655.9400.001
Age19.00008.950001.510000.220
Temperature13920.03919.72659.3400.001
Table 5. Optimum data for independent variables (constraints).
Table 5. Optimum data for independent variables (constraints).
Independent Variables (Constraints)Optimum Data
TMR Dry Matter (DM) %46.77
Lactation Number5.000
Lactation Day Number6.000
Gestation Day Number230.0
Age55.80
Temperature22.00
Table 6. Statistical-based optimum data for dependent variables (objective functions).
Table 6. Statistical-based optimum data for dependent variables (objective functions).
ResponseFitSE Fit95% CI95% PI
Milk Yield61.1451.33(60.79; 73.01)(55.82; 84.98)
Dry Matter (DM)19.0330.443(19.014; 18.752)(13.026; 22.741)
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.

Share and Cite

MDPI and ACS Style

Kurtuluş, Y.; Şahin, H.; Atalan, A. Statistical Optimization and Analysis of Factors Maximizing Milk Productivity. Animals 2025, 15, 1475. https://doi.org/10.3390/ani15101475

AMA Style

Kurtuluş Y, Şahin H, Atalan A. Statistical Optimization and Analysis of Factors Maximizing Milk Productivity. Animals. 2025; 15(10):1475. https://doi.org/10.3390/ani15101475

Chicago/Turabian Style

Kurtuluş, Yücel, Hasan Şahin, and Abdulkadir Atalan. 2025. "Statistical Optimization and Analysis of Factors Maximizing Milk Productivity" Animals 15, no. 10: 1475. https://doi.org/10.3390/ani15101475

APA Style

Kurtuluş, Y., Şahin, H., & Atalan, A. (2025). Statistical Optimization and Analysis of Factors Maximizing Milk Productivity. Animals, 15(10), 1475. https://doi.org/10.3390/ani15101475

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop