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
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²
Inputs
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
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.
More General Engineering tools
- General Engineering Engineering Unit Converter Convert length, area, volume, mass, force, pressure, energy, power and temperature between SI and US customary units. Open tool
- General Engineering Section Properties Calculator Area, centroid, second moments of area, elastic and plastic section moduli, radii of gyration and torsion constant for common cross-sections. Open tool
- General Engineering Right Triangle Solver Hypotenuse, angles, area and perimeter of a right triangle from its two legs. Open tool
- General Engineering Plate & Sheet Weight Weight of rectangular plate or sheet in steel, aluminium, copper and other common materials. Open tool