When to use it
Use when a scatterplot of y against a single x shows a smooth bend or curve that a straight line misses, and you want to test how many polynomial degrees (quadratic, cubic, …) are actually justified.
When not to: You need to predict OUTSIDE the observed range of the predictor (polynomials explode near and beyond the edges of the data; use a mechanistic model instead), the true relationship is not well described by any low polynomial degree (splines or a GAM handle local flexibility with far less instability), or more than one predictor is involved (this function fits exactly one predictor's curve).
Step by step
Open it from the menu
Click Regression in the menu bar; under Essentials choose Polynomial Regression.
Fill in the form
Choose the columns: What you want to predict or explain, Column it may depend on. The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Polynomial degree, Alpha, Confidence level. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| What you want to predict or explain Response required | One numeric column. Numeric outcome (y). |
|---|---|
| Column it may depend on Predictor required | One numeric column. Numeric predictor (x) to expand into polynomial terms. |
| Polynomial degree | Highest power of x to fit (1 = line, 2 = quadratic, 3 = cubic, …). Capped at 5. Default: 3. |
| Alpha | Significance threshold for the per-degree ANOVA and per-term tests. Default: 0.05. |
| Confidence level | Confidence level for the mean-response band and coefficient intervals. Default: 0.95. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
A worked example
Fitting body mass as a function of flipper length with a maximum degree of 3, testing whether a cubic term is justified.
Result: The per-degree ANOVA shows degree 2 improves over degree 1 (F = 24.6, p < .001) and degree 3 improves over degree 2 (F = 7.0, p = .009), so recommended_degree = 3; but R-squared only moves from 0.759 (line) to 0.775 (quadratic) to 0.780 (cubic).
With 342 birds, even a two-point gain in R-squared is statistically detectable, so every added degree 'earns its place' by the F-test while changing the practical picture very little. The bends are also likely to reflect the three species being pooled rather than a biological curve; modeling species directly, or staying with the straight line for description, is the more defensible reading than reporting a cubic.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Does body mass rise with flipper length along a curve rather than a straight line, and is a cubic term justified?
- Explain the polynomial regression in plain words.
- What does overfitting mean?
Last reviewed November 16, 2026.
