\(y = 2x\) has no acceleration (\(f''(x) = 0\)), it increases slowly as a line.
\(y = x^2\) has constant positive acceleration meaning the slope changes fast, so it has a curve shape. For \(x < 0\), the slope is negative, so \(y\) is decreasing. For \(x > 0\), the slope is positive, so \(y\) is increasing. So there is a bend at \(x = 0\) (a change from decreasing to increasing).
Limitations:
Limited flexibility: polynomials can only produce curves of a fixed algebraic form, so they may struggle to fit patterns that aren’t “smoothly curving” in that specific way.
Uncontrolled behavior at\(\pm \infty\): For large \(|x|\), polynomial will grow without bound (see \(x^3\) as an example), which can be unrealistic.
Intrinsic (built-in) non-monotonicity: every polynomial of degree \(\ge 2\) must bend up and down at least once, so you cannot force it to be entirely increasing or decreasing if that’s what you need.
28.2 Fractional polynomial models
Fractional polynomials extend ordinary polynomials by allowing non-integer (and zero or negative) exponents like \(x^{0.5}\), \(x^{-1}\), \(log(x)\) (which is \(x^0\) in the FP framework)
Splines are a versatile tool for modelling non-linear functions when the exact form of the function is unknown. However, underlying assumptions can lead to either over- or under-fitting. Penalised splines (P-splines) (Eilers and Marx, 1996) seek to avoid over-fitting through the inclusion of discrete penalties on the basis coefficients, though this penalty has no exact interpretation in terms of the function’s shape. Their Bayesian counterpart however (Lang and Brezger, 2004) offers a statistically robust method of capturing variation in the data whilst also preventing over-fitting through the inclusion of appropriate prior distributions that act on the functional form of the spline (Eales et al., 2022).
Eales, O., Ainslie, K. E. C., Walters, C. E., Wang, H., Atchison, C., Ashby, D., Donnelly, C. A., Cooke, G., Barclay, W., Ward, H., Darzi, A., Elliott, P., & Riley, S. (2022). Appropriately smoothing prevalence data to inform estimates of growth rate and reproduction number. Epidemics, 40, 100604. https://doi.org/10.1016/j.epidem.2022.100604