IntroductionThese notes have been prompted by the absence in some widely used text books of a discussion of the usefulness of some non-linear regression models. Quinn & Keogh (2002) dismiss non-linear models in just two pages of an otherwise excellent and thorough text. Welham, Gezan, Clark & Mead (2015) state more, but still seem to miss the interpretive value of a suitably-chosen non-linear model. Mead, Curnow & Hasted (2003) discuss a few more useful models but remain rather light on interpretation. Part of the reason for this is that fitting non-linear models is not a simple calculation, but that is no longer the problem. Genstat makes fitting non-linear models very simple with an easy-to-use menu to fit the most common models. |
Simple linear regression revisited
First, a little bit of background revision. Simple linear regression (SLR) is familiar to almost everyone: a straight line fitted through points displayed on an “X-Y” graph. The model is:
𝑦𝑖 = 𝑎 + 𝑏𝑥𝑖 + 𝑒𝑖
is the observation, is the concomitant measurement, is a random variable or deviation from the line and , are parameters which are fitted so that the sum of the squares of is minimised – “least squares fitting”.
𝑦𝑖 = 𝑎 + 𝑏𝑥𝑖 + 𝑐𝑥𝑖2
and varied each of the parameters you would still show
However, if we have a model like;
𝑦𝑖 = 𝑎 + 𝑏𝑒𝑐𝑥𝑖
then this model would not be linear with respect to c. It takes only one non-linear parameter to have the model declared “non-linear” regardless of how many other parameters are linear.
Interpreting the exponential model
I consider this to be the most important curvilinear model in biology – second of importance after the SLR, and more important than the quadratic. And why? Because it can be interpreted.
Let’s look at an example. This is from Welham et al (2015, Statistical Methods in Biology. Design and Analysis of Experiments and Regression) example 17.1A. Olsen phosphorus levels and spring barley yield from 20 plots were measured in 1986.

Note that the response starts at a low value, rises in perhaps a curvilinear fashion to a high and then levels off, or perhaps declines. Welham et al. outline some approaches to analysing these data. They show that transforming either of the axes does not lead to a satisfactory fit with SLR. What if a polynomial were fitted to the original (untransformed) graph? A quadratic also displays an unsatisfactory fit. The cubic fits better, although the significance of the cubic coefficient is greater than 0.05, (and, for that matter, the term for the quadratic!) but the parameters of a cubic are not easy to interpret, for example, what does the fourth coefficient really mean in terms of the relationship between Yield and Olsen P?
𝑌𝑖𝑒𝑙𝑑 = 0.80+0.87 x 𝑂𝑙𝑠𝑒𝑛_𝑃 – 0.071 x (𝑂𝑙𝑠𝑒𝑛 _𝑃)2 + 0.0019 x (𝑂𝑙𝑠𝑒𝑛_𝑃)3


Let’s now consider the exponential regression. This is the expression for this type of graph, where data points for yield start somewhere close to the origin and rise to a plateau (called an asymptote) for high levels of phosphorus.
Now, 𝑒0 = 1; in fact any (non-zero) value “raised to the zero
There are a couple of points we should cover before we go further.
Exploring the exponential model nuances
(1) Sometimes you’ll see the expression as 𝑦𝑖 = 𝑎 − 𝑏 x 𝑟𝑥. To see that this is algebraically the same, we take the 𝑙𝑜𝑔𝑒(𝑟𝑥) = 𝑥𝑙𝑜𝑔𝑒(𝑟). Then we take the exponential of that, so:
𝑟 −𝑐𝑥 = 𝑒 −𝑥𝑙𝑜𝑔𝑒(𝑟)
So we see that 𝑐=𝑙𝑜𝑔𝑒(𝑟). Note that because 𝑐 has a negative sign,
(2) If 𝑎−𝑏 is very close to zero we could fit a model that goes through the origin:
𝑦𝑖 = 𝑎 (1–𝑒−𝑐𝑥)
Now let’s see what happens here (using Genstat FITCURVE):

We see that this routine uses

The fit is very acceptable; 𝑅2 is 84%, which is slightly better than the cubic earlier (81%). The SEs for the parameter estimates are relatively very small whereas those for the polynomial are relatively large. But very importantly, we have a much simpler model with just two parameters – with meaning: B is now the asymptote and R is the proportion by how much the “drop” from the asymptote is reduced for each unit increase in Olsen P. Perhaps dealing with 𝑒 is easier.
𝑐 = 𝑙𝑜𝑔𝑒(𝑅) =
𝑆𝐸(𝑐) = 0.0277
Embracing the slope concept
Right, now the slope of the graph at any point is the “differential”, We won’t worry about the calculus, just the result: Slope = 𝑐(𝑎−𝑦), that is the rate of change at any point is a constant times how much is left between 𝑦 and the maximum, 𝑎. It is important that this is well understood. Anywhere along the curve, take the difference between where you are, 𝑦; calculate how much is left to go, 𝑎–𝑦, and multiply that by 𝑐 and that’s your slope; the change in yield for each unit change in Olsen P at that point.
We could run an experiment with different soils, or perhaps with soils with different histories and the real interest would be in how
Just for completeness, we’ll fit the model using 𝑒−𝑐 instead of


Ironically, in section 17.3 of the same text book, non-linear models are mentioned rather perfunctorily. For the exponential model the authors state, “Interpretation of individual parameters is not straightforward….” I disagree.