Non-Linear Regression
Fitting and interpreting non-linear regression models
A regression relationship can be nonlinear in the predictor, nonlinear in the parameters, or both. Polynomial regression is nonlinear in x but linear in its coefficients, so it can be fit as a linear regression after constructing predictor columns.
A model such as y = A exp(-kx) is nonlinear in the unknown parameter k and is commonly fit by nonlinear least squares or another iterative optimizer.
A non-linear fit selects parameter values that minimize an objective such as the sum of squared residuals. Starting values, parameter constraints, and identifiability can matter because the objective surface can have flat regions or local minima.
A numerical optimizer reporting successful convergence is evidence that it met a configured stopping condition from its starting point; merely returning parameter values does not establish convergence, global optimality, identifiability, or scientific adequacy.
Assess a fitted model with residual patterns, uncertainty, domain knowledge, and predictions within the observed range. A transformation can sometimes make a relationship easier to fit, but transforming the response can alter the error structure and the quantity being optimized, so it should be a considered modeling choice rather than an automatic cure.
After fitting a saturating non-linear model, residuals are mostly positive at low predictor values, mostly negative in the middle, and mostly positive again at high predictor values. What is the most appropriate first interpretation?
In the model y = A[1 - exp(-kx)] for a response that rises toward a plateau, which interpretation is most appropriate when x is measured in minutes and y is measured in milligrams?