Fit curves to data points using various regression models. Linear, polynomial, exponential, logarithmic and power regression with visualization.
Choose a method to import your data points
Manual Entry: Enter data points directly in the table below. You can add, remove, or edit points as needed.
or click to browse
| Point | x | y | Actions |
|---|
Curve fitting is the process of constructing a curve (mathematical function) that has the best fit to a series of data points. It's used in statistics, machine learning, and data analysis to model relationships between variables.
Common Regression Types:
Least Squares Method: The most common approach to curve fitting. It minimizes the sum of the squares of the residuals (differences between observed and predicted values).
Minimize: Σ(yᵢ - ŷᵢ)²
| Metric | Formula | Interpretation |
|---|---|---|
| R-squared (R²) | 1 - (SS_res / SS_tot) | Proportion of variance explained by the model (0 to 1, higher is better) |
| Adjusted R² | 1 - [(1-R²)(n-1)/(n-p-1)] | R² adjusted for the number of predictors |
| Mean Squared Error (MSE) | Σ(yᵢ - ŷᵢ)² / n | Average squared difference (lower is better) |
| Root Mean Squared Error (RMSE) | √(MSE) | Standard deviation of residuals (lower is better) |
Upload data from spreadsheets, lab instruments, or other analysis tools. The tool will automatically detect the format and parse the data.