Home · Statistics · Correlation & Regression · Quartic Regression Calculator

Quartic Regression Calculator

Quartic (fourth-degree polynomial) regression of y on x: fits ŷ = a + b·x + c·x² + d·x³ + e·x⁴ by least squares; the headline result is the quartic coefficient e.

Your figures

Example result — edit the figures to make it yours

-0.0606

Coefficients (constant first)-1.714286, 7.949856, -3.916667, 0.858586, -0.060606
Leading coefficient (x^4)-0.060606
R-squared0.954722
Pairs (n)7

What this calculator does

Quartic (fourth-degree polynomial) regression of y on x: fits ŷ = a + b·x + c·x² + d·x³ + e·x⁴ by least squares; the headline result is the quartic coefficient e. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

ŷ = a + b·x + c·x² + d·x³ + e·x⁴, fitted by least squares; headline = e

The fit minimises the sum of squared residuals over the five coefficients.

A quartic can capture three bends, which very few real processes need — treat it as a flexible smoother, not a law.

Never extrapolate a quartic: the x⁴ term dominates immediately outside the fitted range.

Worked example

With the example inputs this page opens with, the result is -0.0606. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — the worked example in full
FigureValue
Result-0.0606
Coefficients (constant first)-1.714286, 7.949856, -3.916667, 0.858586, -0.060606
Leading coefficient (x^4)-0.060606
R-squared0.954722
Pairs (n)7

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Is a quartic fit with seven points trustworthy?

Barely — five coefficients fitted to seven points leaves only two residual degrees of freedom, so the curve mostly interpolates. It is shown here as the mechanical least-squares result; modelling conclusions need far more data.

When would anyone fit a quartic?

For empirical smoothing of a wavy response over a fixed interval — some calibration and spectroscopy curves — where prediction stays strictly inside the measured range and no meaning is attached to individual coefficients.

How does the Quartic Regression Calculator work?

Quartic (fourth-degree polynomial) regression of y on x: fits ŷ = a + b·x + c·x² + d·x³ + e·x⁴ by least squares; the headline result is the quartic coefficient e. X values · y values → Quartic coefficient e. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Quartic Regression Calculator need?

X values · y values → Quartic coefficient e. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.