Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 570 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 570 Bytes

simple-regression-line

In statistics, a regression line is a line that best describes the behavior of a set of data. In other words, it’s a line that best fits the trend of a given data.

Calculate a very simple regression line from bivariate data.

This function uses the 'equation of the least-squares line'

See: Linear least squares

Install:

npm install --save simple-linear-regression

Usage: see test.js

License

MIT © Dennis Iversen