# Linear Regression Calculator

You may change the X and Y labels.
Separate data by Enter or comma, , after each value.
The tool ignores non-numeric cells.

## Information

The linear regression calculator generates the linear regression equation, draws a linear regression line, a histogram, a residuals QQ-plot, a residuals x-plot, and a distribution chart.
It calculates the R square, the R, and the outliers, then it tests the fit of the linear model to the data and checks the residuals' normality assumption and the priori power.

### linear regression formula

Ŷ = b0 +b1X
b0 - the y-intercept, where the line cross the y-axis.
b1 - the slope, describes the line's direction and incline.
 b1 = SPxy = Σ(xi-x̄)(yi-ȳ) SSx Σ(xi-x̄)2
b0 = ȳ - b1

The right-tailed F test checks if the entire regression model is statistically significant. Why only right tail?
For Multiple regression calculator with stepwise method and more validations: multiple regression calculator
Hypotheses
H0: Y = b0
H1: Y = b0+b1X
Test statistic
 F = MS(regression) MS (residulas)
F distribution