Quadratic Regression Calculator

Fit a quadratic least-squares polynomial, see its coefficients and R², and predict a value at any X.

Result
—

How to calculate

Fit the polynomial that minimizes the sum of squared residuals. Use the resulting coefficients to predict Y and compare the fitted and observed values.

Worked example

Use X values -2, -1, 0, 1, 2 · Matched Y values 6, 3, 2, 3, 6. The result is ŷ = x^2 + 2.

Input and result notes

Enter matched X and Y lists in the same order. The fit needs at least one more distinct X value than its degree.

Omni's statistics reference

Related calculators