All Tools

Regression Suite

LivePhysics

Scatter Plot with Fitted Curves

linear (R²=0.9992)quadratic (R²=0.9993)cubic (R²=0.9994)exponential (R²=0.8820)logarithmic (R²=0.9151)power (R²=0.9992)

Data Input

Model Comparison

linearR² = 0.9992
y = -0.02143 + 2.013x
quadraticR² = 0.9993
y = 0.1125 + 1.933x + 0.008929x^2
cubic (best)R² = 0.9994
y = -0.1 + 2.154x + -0.04903x^2 + 0.004293x^3
exponentialR² = 0.8820
y = 2.191e^{0.2752x}
logarithmicR² = 0.9151
y = 0.1446 + 6.709ln(x)
powerR² = 0.9992
y = 2.01x^{0.9992}
Predictions at x = 10
linear20.11
quadratic20.33
cubic20.83
exponential34.34
logarithmic15.59
power20.07

Step-by-Step

1. Linear regression (least squares)

y^=a+bx\hat{y} = a + bx

2. Slope and intercept

b=2.013,a=0.02143b = 2.013, \quad a = -0.02143

3. Linear equation

y^=0.02143+2.013x\hat{y} = -0.02143 + 2.013x

4. Best fit model

cubic with R2=0.9994\text{cubic with } R^2 = 0.9994

Reference Guide

Free regression calculator. Fit linear, quadratic, cubic, exponential, logarithmic, and power models to data. Compare R-squared values and predict new values.

Least Squares

primary

R-Squared

secondary

Model Selection

tertiary

Prediction