I am working with a set of biological data drawn from a sample of species, specifically a skeletal measurement and body size, with the intent of calculating a regression line to try to predict the body size of new data given the skeletal measurement. As with many biological data, both variables show a log-normal distribution and so I transformed both using a natural logarithm to normalize them.
However, even after transforming both the x and y variables the data does not form a straight line. Visual inspection shows the data is slightly curved and plotting a linear trendline does not accurately fit the distribution of the data.
However, it turns out a power function of $log(body mass) ∝ log(measurement)^{2/3}$ linearizes it. Similarly, non-linear curve-fitting using the nls
function in R finds the best exponent in a power function is that of 2/3, and the 95% confidence interval for the exponent clearly rules out a linear relationship between the two variables. In addition...
- The AIC and BIC for a non-linear model (either a power model or a quadratic one) is much lower than for a linear model.
- The residuals versus fitted plot for a linear model is distinctly curved
- The 95% confidence intervals for a Box-Cox plot for a log-linear model do not overlap with 1, indicating the data is not linearized. Lambda is approximately 1.2, which doesn't appear to suggest a quadratic model is the optimal solution.
- When fitting a quadratic model to the data the second-order term is recovered as having a statistically important effect.
- Because this is biological data I also tested if this effect could be due to phylogenetic influence in the data. I got the same curvilinear result even under PGLS.
- Plotting best-fit lines for different size classes seem to indicate a larger magnitude of $δy/x$ at larger sizes (specifically, there is a greater-per-unit increase in the measurement at larger sizes).
So the trend definitely seems to be a real pattern and not the result of a statistical artifact.
At first, I mistakenly believed this was a case of negative allometry, specifically that a 2/3 relationship caused by the square-cube law. However, upon looking further into the literature it seems as though a relationship is only considered negatively allometric if the untransformed x variable scales to the y at a fractional exponent, and the regression line between the two log-transformed variables in that case is still assumed to be linear. That is, rather than...
$log(body mass) ∝ log(measurement)^{2/3}$
it should be...
$measurement ∝ body mass^{2/3}$
I looked into this some more and the presence of non-linearity after log-transformation appears to be a more broadly distributed issue in the biological sciences that some have termed non-linear allometry. However, in the biological sciencs despite there being awareness of this issue (i.e., here and here), none of these studies attempt to discuss the mathematical basis for this relationship or what it means in terms of biology (e.g., akin to a 2/3 exponent being related to an area-to-volume relationship).
Additionally, it does not appear as though treating this relationship as close enough to approximating a log-linear model works. Specifically, I've noticed that controversial results in some previous studies are the result of treating this relationship as log-linear rather than non-linear and using it for prediction.
Is there a term for what happens when the relationship between two variables is best modelled by a non-linear power law even after both are log-transformed, or any mathematical basis for this pattern? I am trying to figure out if this pattern and the physical meaning thereof is known in other areas.