# Linear Regression Calculator

Instructions: Perform a regression analysis, where the regression equation will be found and a detailed report of the calculations will be provided, along with a scatter plot. All you have to do is type your X and Y data. Optionally, you can add a title and add the name of the variables.

X data (comma or space separated)
Y data (comma or space separated)
Type the title (optional)
Name of X variable (optional)
Name of Y variable (optional)

A linear regression model corresponds to a linear regression model that minimizes the sum of squared errors for a set of pairs $$(X_i, Y_i)$$.

The linear regression equation, also known as least squares equation has the following form: $$\hat Y = a + b X$$, where the regression coefficients $$a$$ and $$b$$ are computed as follows:

$b = \frac{SS_{XY}}{SS_{XX}}$ $a = \bar Y - \bar X \cdot b$

The coefficient $$b$$ is known as the slope coefficient, and the coefficient $$a$$ is known as the y-intercept.

You may also be interested in computing the correlation coefficient, or to construct a scatter plot with the data provided.

In case you have any suggestion, or if you would like to report a broken solver/calculator, please do not hesitate to contact us.