Beta version#
BETA TEST VERSION OF THIS ITEM
This online calculator is currently under heavy development. It may or it may NOT work correctly.
You CAN try to use it. You CAN even get the proper results.
However, please VERIFY all results on your own, as the level of completion of this item is NOT CONFIRMED.
Feel free to send any ideas and comments !
This online calculator is currently under heavy development. It may or it may NOT work correctly.
You CAN try to use it. You CAN even get the proper results.
However, please VERIFY all results on your own, as the level of completion of this item is NOT CONFIRMED.
Feel free to send any ideas and comments !
Calculation data - measurement points#
Format of input data | ||
x-values | ||
y-values |
Results - approximation of your dataset#
Regression type | Approximation formula | Coefficient of determination R2 |
Linear regression | Show source | 1 |
Summary - function best fitting to your data#
Measurement points | ||
Number of points | 4 | |
Points you entered | (1, 3), (2, 5), (3, 7), (4, 9) | |
Approximation | ||
Regression type | Linear regression | |
Function formula | Show source | |
Coefficient of determination R2 | 1 | |
Line slope a | 2 | |
Free term b | 1 | |
Helper values | ||
Sum of x-values | 10 | |
Sum of y-values | 24 | |
Sum of x squares | 30 | |
Sum of multiplies | 70 |
Some facts#
- ⓘ Hint: If you're not sure what type of regression this is, let us do the hard work for you and visit another calculator: Regression types.
- Approximation of a function consists in finding a function formula that best matches to a set of points e.g. obtained as measurement data.
- The least squares method is one of the methods for finding such a function.
- The least squares method is the optimization method. As a result we get function that the sum of squares of deviations from the measured data is the smallest. Mathematically, we can write it as follows:
where:
- - coordinations of the i-th measurement point, these are points that we know,
- - the function we are searching for, we want this function to best match to the measurement points,
- - number of measurement points.
- - coordinations of the i-th measurement point, these are points that we know,
- If we limit the search to linear function only, then we say about linear regression or linear approximation.
- If we set a condition that we are only looking for a linear function:
we get following solution:
where:
- - sum of x-values ,
- - sum of y-values ,
- - sum of squares ,
- - sum of multiplies .
- - sum of x-values ,
Tags and links to this website#
Tags:
Tags to Polish version:
What tags this calculator has#
Permalink#
This is permalink. Permalink is the link containing your input data. Just copy it and share your work with friends: