Quick answers
- What is a dose-response curve?
- A curve describing how a response (yield, growth, survival) changes with the amount of an input. In agriculture it usually rises, then levels off or falls at high doses.
- What is quadratic regression?
- Regression with a squared term, y = a + bx + cx², which fits a curve with one bend. A negative c gives a hump with a maximum at x = −b / (2c).
- How do you find the optimum fertilizer rate?
- Fit the response curve. The agronomic optimum is where yield peaks; the economic optimum is where the extra yield from one more kg just pays for that kg, which is always lower.
- What are orthogonal polynomial contrasts?
- Contrasts that split the treatment sum of squares for equally spaced levels into independent linear, quadratic and cubic trends, so you can test the shape of the response.
- Why not use Tukey's test for fertilizer rates?
- Pairwise tests treat rates as unrelated categories, ignore their order and spacing, and cannot estimate a response at rates you did not test. Regression or trend contrasts answer the real question.
On this page
Quantitative treatments need a different question
Diets A, B and C are categories; nitrogen rates of 0, 40, 80, 120 and 160 kg/ha are points on a scale. For a scale, the useful questions are: does the response rise with the dose, does it bend, where is the best dose, and what yield would 100 kg/ha give? Pairwise comparisons cannot answer any of these. Kaps and Lamberson call this the analysis of numerical treatment levels.
Orthogonal polynomial contrasts
With equally spaced levels and equal replication, the treatment sum of squares splits into independent trend components using standard coefficients:
| Trend (5 levels) | Coefficients |
|---|---|
| Linear | −2, −1, 0, 1, 2 |
| Quadratic | 2, −1, −2, −1, 2 |
| Cubic | −1, 2, 0, −2, 1 |
| Quartic | 1, −4, 6, −4, 1 |
For unequally spaced levels (0, 50, 100, 200), the coefficients must be computed for the actual spacing; software does this, or fit the regression directly.
Fitting the quadratic curve and finding the optimum
yield = 3.038 + 0.02780 N − 0.0000942 N² (R² = 0.88)
- Adding the N² term is justified: R² rises from 0.79 for a straight line to 0.88, and the improvement is significant (F = 14.0, p = 0.002).
- Agronomic optimum, where the curve peaks: N = −b / (2c) = 0.02780 / (2 × 0.0000942) = 148 kg N/ha, predicted yield 5.09 t/ha.
- Economic optimum, where the slope equals the price ratio. With nitrogen at $1.00/kg and wheat at $200/t, one kg of N must return 0.005 t of grain: N = (0.005 − b) / (2c) = 121 kg N/ha.
The last 27 kg of nitrogen before the agronomic optimum add only about 0.07 t/ha, worth less than the fertilizer. Recommendations should use the economic optimum, and should come from trials across sites and years, not one field.
Beyond the quadratic: plateau and nonlinear models
A quadratic forces a symmetric hump, so it can place the optimum too high when the true response flattens out rather than falling. Alternatives:
| Model | Shape | Typical use |
|---|---|---|
| Linear-plateau (broken line) | Rises linearly, then flat beyond a breakpoint | Nutrient requirements (lysine, phosphorus); soil test calibration |
| Quadratic-plateau | Curved rise, then flat | Fertilizer response |
| Mitscherlich (exponential rise) | Rises toward an asymptote | Yield response to nutrients |
| Logistic, Gompertz | S-shaped | Growth curves, dose-mortality |
| Probit or logit of a proportion | S-shaped in probability | Toxicology: LD50, insecticide dose |
These are fitted by nonlinear regression (R nls, SAS PROC NLIN or NLMIXED). Compare models by fit (AIC, residual plots) and biology, and report the confidence interval of the estimated optimum or requirement; it is often wide.
Designing a dose-response trial
- Use at least 4 or 5 levels to see curvature and choose between models; 3 levels can only fit a straight line or a quadratic exactly.
- Include a zero (or minimum) level and a level clearly beyond the expected optimum.
- Equal spacing simplifies contrasts, but extra levels near the expected optimum improve its estimate.
- Replicate enough to estimate the curve, not to separate every pair of rates; the power question is about the slope and curvature.
Dose-response in R and SAS
In R
v1 <- subset(wheat, variety == "Variety 1")
v1$N <- factor(v1$n_rate); contrasts(v1$N) <- contr.poly(5)
summary(aov(yield ~ factor(block) + N, data = v1),
split = list(N = list(linear = 1, quadratic = 2, cubic = 3, quartic = 4)))
q <- lm(yield ~ n_rate + I(n_rate^2), data = v1)
b <- coef(q)
-b[2] / (2 * b[3]) # agronomic optimum
(0.005 - b[2]) / (2 * b[3]) # economic optimum, price ratio 0.005In SAS
proc glm data=wheat;
where variety = "Variety 1";
class block n_rate;
model yield = block n_rate;
contrast "linear" n_rate -2 -1 0 1 2;
contrast "quadratic" n_rate 2 -1 -2 -1 2;
run;
proc reg data=wheat;
where variety = "Variety 1";
model yield = n_rate n_rate2; /* n_rate2 = n_rate**2 in a data step */
run;Key takeaways
- Treat rates and doses as numbers: model the response curve instead of comparing pairs.
- Orthogonal polynomial contrasts test linear, quadratic and higher trends for equally spaced levels.
- The agronomic optimum is the peak of the curve; the economic optimum, where extra yield pays for extra input, is lower.
- Quadratics can overestimate optima; plateau and nonlinear models often fit better.
- Use 4 or more levels, spanning below and above the expected optimum.
Questions people ask
Should I include block in the regression?
Yes, in a designed trial. The simple quadratic above, fitted to plot yields without blocks, is for illustration; a model with blocks (or random blocks) gives the same curve and better standard errors.
What is the maximum return to nitrogen (MRTN)?
An approach used in the US Corn Belt that pools many site-years and picks the rate that maximizes the average net return across them, rather than the optimum of one trial.
Can I use regression with only three rates?
You can fit a line or a quadratic, but a quadratic through three points fits them exactly, leaving no way to check whether the shape is right.
How do I compare dose-response curves between varieties?
Fit one model with variety, dose, dose² and their interactions with variety. Significant interaction terms mean the curves differ in slope or curvature.
Sources
- Kaps, M., and Lamberson, W. R. (2017). Biostatistics for Animal Science (3rd ed.), chapters on curvilinear regression and analysis of numerical treatment levels. CABI.
- Cerrato, M. E., and Blackmer, A. M. (1990). Comparison of models for describing corn yield response to nitrogen fertilizer. Agronomy Journal, 82(1), 138–143.
- Robbins, K. R., Saxton, A. M., and Southern, L. L. (2006). Estimation of nutrient requirements using broken-line regression analysis. Journal of Animal Science, 84(E. Suppl.), E155–E165.