Estimative for the models fixed effects parameters.
The knowledge of accumulated evapotranspiration by seasonal vegetation crops throughout their life cycle can be an important tool in decision-making when considering the economic viability of the crop. This knowledge can help understand how much the plants, subject to specific management, can evapotranspirate at the end of their cycle. This information assists in estimating the quantity of a production variable, for example, the mass of shoot fresh matter, besides indicating a more interesting period for its harvest. The objective of this chapter is, from the daily evapotranspiration estimative throughout the cycle, to model the accumulated evapotranspiration over the entire growth period of the crop. In order to do so, we must understand that the behavior of the response variable, i.e., the accumulated evapotranspiration, over time is not linear and keep in mind that the several observations performed in the same experimental unit have correlations and these correlations are more intense the closer temporally the measurements are. This understanding leads us to the analysis of longitudinal data from the nonlinear mixed effect models perspective.
- longitudinal data
- nonlinear mixed effect model
- growth curve
- correlation structure
With available water in the soil, the water flow through the plants depends only on atmospheric demand. Therefore, physical variables as temperature, relative air humidity, and wind and solar radiation affect directly the evapotranspiration () of a vegetated surface . Besides that, the plants development state may also affect the .
Seasonal vegetation crops present a small demand for water, while their root system is small, reaching maximum rates in full growths and decreasing in the final stages of development. For these species, the accumulated over the plant cycle is directly related to its productivity. In other words, the greater the accumulated amount of evapotranspirated water, the greater the quantity of the production variables as shoot fresh and dry matter masses, number of leaves, and leaf area [2, 3].
The objective of this chapter is to illustrate the use of nonlinear mixed effect models to fit accumulated over time in seasonal vegetation crops.
2. Response profile
Figure 1 presents the accumulated from a single lettuce plant over 23 consecutive days, being the first day equivalent to the day after seeding. Throughout this period, the plant’s daily was measured. Hence, the first day in the graph presents the value from the last 24 h, the second day refers to the last 48 h, and so on. The daily must be understood as the rate at which the accumulated occurs over time. In mathematical terms, the daily can be understood as an approximation of the derivative (rate) of the accumulated with respect to time.
We wish to describe the behavior of our variable of interest or
Observations from the response variable in more than one moment in the same experimental unity constitute what we call as
At the first days of observations (Figure 1), the accumulated is small because the plant is at the beginning of its growth. As the days go by, the daily values increase successively approximately until the day. After the day, the daily , i.e., the rate of change of the accumulated , begins to decrease. This causes the accumulated , which has been growing exponentially, to have a less vigorous growth and, therefore, tending slowly to a maximum value.
3. A model for growth data
In order to describe the behavior of the accumulated over time, we also need an -shaped function. In addition, it is expected that the chosen model will be interpretable and parsimonious in the parameters. An empirical option is the polynomial model, which has linear parameters. This type of model can promote good statistical adjustments and be computationally simpler but does not add any theoretical consideration to the physical and/or biological mechanisms that generated the data. On the other hand, a nonlinear model is associated with some theoretical knowledge regarding the studied phenomenon. Besides the interpretability, these models use few parameters when compared to linear models, thus configuring a more parsimonious description of the data .
Regarding the accumulated over time, we have some physical and biological aspects that we can use to choose a proper model. A function that describes this response variable needs parameters that delimit it between a minimum and a maximum value. In other words, the minimum value should be really close to zero and indicate the beginning of the plant’s growth, and the maximum should be a value to which the accumulated tends asymptotically as the end of the life cycle approaches. Another aspect to highlight is that the model should present an inflection point, which indicates the day that the accumulated rate (daily ) reaches its maximum value.
There are several functions capable of characterizing the accumulated over time in the sense we just described. For example, we will use the four-parameter logistic function () to describe our response variable. This function is widely used to fit growth or decay data. There are some parametrizations for this function in the literature, but we are using the one given by 
with being the accumulated over time and the model parameters (Figure 2). is the inferior horizontal asymptote which gives the accumulated value when . Biologically, this parameter does not have a consistent interpretation, but it is important in the fitting because it ensures the accumulated , in times close to zero, to be very small [2, 3]. is the superior horizontal asymptote and gives the accumulated value when . This parameter can be interpreted as the maximum accumulated estimative that the plant can reach in its final life cycle. is the curve’s inflection point and indicates the day (time) in which the daily reaches a maximum value. The corresponding time to results in an accumulated between and . More precisely, the accumulated until time is the mean value of both asymptotes, i.e., . is the scale parameter. The day (time) corresponding to gives of the accumulated . Therefore, indicates how quickly the accumulated leaves the proximity of until it reaches values close to . The greater the , the slower this occurs.
To better understand what we have said, let’s observe Figure 3. It brings the observed data shown in Figure 1 represented by the black dots and two other curves representing two different fits made from this data. The first is a fifth-degree polynomial model, and the second is given by Eq. (1). The graph in this figure was extended until the day in order to present the behavior of these fittings over time.
Both the fifth-degree polynomial and the nonlinear models have fitted well with the data. However, the polynomial model goes to zero after the day, which physically is impossible. Besides that, this model presents five parameters without any physical and/or biological explanation for the phenomenon in this study. The nonlinear model is a strictly increasing function, being compatible with a variable which is accumulated over time. Nevertheless, this fitting does not allow the infinite growth of the accumulated as time grows larger and larger. It limits the accumulated to a value which can be understood as a maximum amount in which this plant can evapotranspirate throughout its life cycle.
We also see that, from approximately the day, the accumulation of evapotranspiration water is decreasing. This indicates that this day is the inflection point of the nonlinear model. For a practical example of the model’s inflection point regarding seasonal vegetation crops, suppose that the commercial product of a given crop plant is its leaves. It is known that the production variables present a positive correlation with the amount of total evapotranspired water throughout the plants’ life cycle. That is, the larger the total evapotranspiration water, the higher the values of the production variables [2, 3]. Hence, the inflection point can indicate the proximity of the harvest day. From this point, the rates decrease, and therefore, the plants start to accumulate less quantities of shoot fresh matter over time. Thus, this point can be considered when thinking in terms of the economic viability of the crop.
Another important aspect, besides the parameter interpretability, is that the nonlinear model is more parsimonious than the linear model. In general, nonlinear models use a small number of parameters than the linear ones, which grant them more parsimony. Besides that, as can be observed in Figure 3, in regions outside the data interval, the nonlinear model gives a more trustworthy prediction for the response variable .
4. Longitudinal data
Clearly, in order to make sense, an experiment must provide data from more than one experimental unit. In our case, more than one plant should be observed over time, i.e., we must obtain more than one response profile. Studies in which the response variable is observed repeatedly throughout time in the experimental units are called
Measurements performed in the same experimental unit are most likely to be correlated. Suppose two plants which its is registered daily. If all covariables (fertilization, cultivate, planting season, soil water, and so on) were kept constant over time, plants with high rates of in a given day will most likely also have high rates of in the next day, the same for plants with smaller rates. If in a day the rate is small, probably in the next day it will also be small. In other words, measurements performed in the same experimental unit tend to be similar over time. It’s the individual expression of each plant.
Besides the correlation between the observations within the same experimental unit, we must consider that, most likely, these correlations are greater for observations performed between neighboring times than those performed between more distant times.
5. Mixed effect model
In a longitudinal study, the monitoring of the experimental units over time generates correlated dataset. As mentioned, these correlations within the same experimental unit are stronger among neighboring observations. The greater the time distance between two measures, the weaker the correlation between them. Besides that, when we observe experimental units which received the same conditions regarding growth over time and are part of the same treatment, we have a variability among them that we attribute to chance. The treatment effects, the correlations, and the variabilities in a longitudinal study indicate that we need a tool that, in addition to being flexible in specifying a mathematical model, also emphasizes each experimental unit.
In mixed effect models, we select an ordinary function to describe the response variable regarding the studied covariables, that is, the responses of the experimental units in a population. Besides that, specific coefficients of this function can be unique for each experimental unit. In a mixed effect model, we assume that the experimental units of a population have the same functional form, but the function parameters may vary among the units.
To illustrate how to write a nonlinear model with mixed effect, let’s assume that we are studying the accumulated regarding four levels of water in the soil, , , , and (there could be more levels of water in the soil or less, but to exemplify, let’s assume four treatments). We will consider that the response variable, the accumulated , has a normal probability distribution. Consider as the accumulated at the situation, for plant , with e , where is the number of observations for the -th plant and is the total number of plants. The nonlinear mixed effect model can be expressed by [2, 3]
with the parameters , , , representing the fixed effects and the random effects in the model. with are indicative covariables of treatments or groups and may have values zero or one. The parameter is the reference level in the study. When , thus, and the -th plant belongs to the treatment . When and , and the -th plant belongs to the treatment . If and , and the -th plant belongs to the treatment . And lastly, if and , and the -th plant belong to the treatment . The random effects are considered independent among the plants and are normally distributed with mean zero and covariance matrix (). In this case, the covariance matrix is given by
with , , , and being the variances of random effects , , , and , respectively, and , , , , , and are the covariances between them. The variances of the random effects indicate how a model parameter varies between the experimental units. Frequently, we suppose that the errors within the groups are independent between the observations of the same experimental unit and that they are distributed the same way among the experimental units. For a given sample unit , we can describe the error as the time indexed vector, i.e.,
where each vector has observations throughout time and we assume that they follow a normal multivariate distribution with mean zero and covariance matrix , i.e.,
Most of the times, we consider , being a constant variance for all times.
By using nonlinear mixed effect models, we must consider the technical difficulty in the parameter estimation. In a mixed effects linear model, the derivative of the logarithmic of the likelihood function allows, in a simple way, the algorithm implementation, like Newton-Raphson, to obtain the estimative of the models parameters. Nonlinear models can, however, present nonlinear random coefficients which make it impossible to directly explain the parameters from the likelihood function. Methods that depend on linear approximations such as the first-order Taylor approximation can be used to estimate the model.
Nonlinear mixed effect model analysis can be, preferably, made by the R software  with the package name , also, at the SAS software using PROC NLMIXED. An excellent text to learn how to use these skills is given in .
6. Covariance structure of
Mixed effect model allows the dependence between the observations to be specified in the model parameters through random effects. In other words, the experimental unit responses from a population tend to follow a nonlinear growth path; however, each experimental unit has its own growth path, and the mixed effect model allows the inclusion of specific coefficients to obtain fitted growth curves that align better with the individual responses of these experimental units.
Thus, mixed models allow relevant flexibility for the specification of the random effects correlation structure. However, the dependence structure of the observations within the experimental units until now has been considered independent, identically distributed with mean zero and constant variance. Depending on the chosen model, the growth responses can be explained just by including specific coefficients for the experimental units. However, this may not be enough, and, in this case, modeling the residual dependence of the data becomes important.
There are cases where dependence on observations not accommodated by the growth function is not well understood or, sometimes, additional covariables that could explain this dependences are absent from the model. Thus, an important resource to model this dependence is to identify the covariance structure that allows correlation between the residuals in different occasions. Then, let us relax on the assumption that the errors are independent and allow them to have heteroscedasticity and/or are correlated within the experimental units.
There are several covariance structures for the residues available in the software to help model longitudinal data. However, in our text, we will highlight only two that we consider more important for these studies, the covariance structure with heterogeneous variance and the first-order auto-regressive.
6.1 Heterogeneous variance
The first covariance structure we will consider for is the one that admits heterogeneity of the residual variances. In this structure, which has parameters, we assume that the residuals associated with the observed values at the occasions for the -th experimental unit are independent:
Other variables, besides time, can also be considered with heterogeneous variance in the model. For example, there are cases in which it is important to model the heterogeneity of the treatments, and we can do it by using mixed models.
6.2 First-order auto-regressive
Another covariance structure for which is widely used for longitudinal data is the first-order auto-regressive, also called :
This structure has only two parameters, the variance parameter , always positive, and the covariance parameter , which may vary between and . This kind of structure allows the residues associated with the observations in neighboring occasions to be more correlated than those whose observations are further apart. The is preferred for datasets in which the longitudinal observations are equally spaced.
7. Real data example
To exemplify what we have done so far, let’s work with some real data of the from lettuce plants grown in pots. A total of were completely randomized into three levels of water in the soil. At the first treatment, , the water level for the plant were kept between 50.0 and 75.0% of the substrate’s retention capacity. In the other two treatments, and , the water level in the substrate was kept between 50.0 and 87.5% and between 50.0 and 100.0%, respectively. When the retention capacity of the substrate reached 50.0%, the pots were irrigated until their maximum level regarding each treatment.
The profile graphs from the accumulated for all pots in each treatment are shown in Figure 4. Note that the inferior asymptote, when , is apparently the same for all plants, i.e., the individual and treatment effects do not seem to be important for this parameter.
We model this data using Eq. (2) and considering treatment as baseline. The random effects were added to the parameters , , and , and the treatments were important to explain the parameters e . Besides that, we consider the heterogeneity in the treatments and an AR(1) correlation structure for . The parameter estimative of the model is presented in Table 1.
The parameter seems to be influenced by the other treatments, and its value was estimated in for , for , and for . The inflection point, i.e., the day the accumulated rate was maximum, also seems to be influenced by the treatments. and were not statistically different for the parameter , but , with estimative of days, appears to be statistically different from (days).
The first graph presented in Figure 5 brings the accumulated mean in each day of the four plants in each treatment. The solid lines are fitting for the treatments made by Eq. (2). The other graphs present all values observed for the four plants in each treatment, and the solid lines indicate the individual model for each plant.
Novk V. Evapotranspiration in the Soil-Plant-Atmosphere System. New York: Springer Science & Business Media; 2012
Pereira OCN, Pereira PVC, Bertonha A, Previdelli ITS. Longitudinal data analysis of stevia rebaudiana evapotranspiration according to water levels. Revista Brasileira de Biometria. 2018; 36(4):791-801
Pereira OCN, Suguiura TPDS, Pereira AP, Bertonha A, Previdelli I. Analysis of lettuce evapotranspiration across soil water. Natural Resource Modeling. 2019; 32(2):e12197
Pinheiro JC, Bates DM. Mixed-Effects Models in S and S-PLUS. New York: Springer Science & Business Media; 2000
Brouwer R, De Wit C. A Simulation Model of Plant Growth with Special Attention to Root Growth and its Consequences. In: Proceedings of the 15th Easter School in Agricultural Science. University of Nottingham. Technical Report. IBS; 1968. pp. 224-242
Hansen LD, Hopkin MS, Rank DR, Anekonda TS, Breidenbach RW, Criddle RS. The relation between plant growth and respiration: A thermodynamic model. Planta. 1994; 194(1):77-85
Paine CT, Marthews TR, Vogt DR, Purves D, Rees M, Hector A, et al. How to nonlinear plant growth models and calculate growth rates: An update for ecologists. Methods in Ecology and Evolution. 2012; 3(2):245-256
Yan H-P, Kang MZ, De Reffye P, Dingkuhn M. A dynamic, architectural plant model simulating resource-dependent growth. Annals of Botany. 2004; 93(5):591-602
Brown H, Prescott R. Applied Mixed Models in Medicine. New York: John Wiley & Sons; 2014
Demidenko E. Mixed Models: Theory and Applications with R. New York: John Wiley & Sons; 2013
Fitzmaurice G, Davidian M, Verbeke G, Molenberghs G. Longitudinal Data Analysis. London: CRC Press; 2008
West BT, Welch KB, Galecki AT. Linear Mixed Models: A Practical Guide Using Statistical Software. New York: Chapman and Hall/CRC; 2014
R Core Team. R: A language and environment for statistical computing. In: R Foundation for Statistical Computing. Vienna, Austria; 2018
Pinheiro J, Bates D, DebRoy S, Sarkar D, and R Core Team. Nlme: Linear and nonlinear mixed effects models. R Package Version 3. CRAN Repository. 2017:1-131