Statistics & Linear Regression

Mean, standard deviation, confidence interval and other statistics of a data set, or a least-squares line with R² for x–y data.

How it works — Statistics & Linear Regression

R² x y

Inputs

x
Values (or x values)
y
y values (optional, for regression)

Formula

  • x̄ ± t·s/√n
  • b = Sxy/Sxx

Results

x̄
Mean
s
Standard deviation (sample)
R²
Coefficient of determination R²

Separate with spaces, commas or new lines

Reset

Results

Enter your values and press Calculate. The defaults are a worked example.

Formula

x̄ ± t·s/√n · b = Sxy/Sxx · R² = 1 − SSE/SST

Formulas are evaluated in SI units; inputs and results are converted.

Show the math

Worked solution

Press Calculate to see every step with your values substituted.

Assumptions

  • Independent observations; confidence intervals assume a normal population (Student t).
  • Regression: ordinary least squares with errors in y only.

References

  • D. C. Montgomery, G. C. Runger, Applied Statistics and Probability for Engineers
  • NIST/SEMATECH e-Handbook of Statistical Methods

Results are for preliminary design and education. Verify against the governing code and have critical work checked by a licensed professional engineer.

Sign in

or with email

Forgot password?