https://github.com/diversen/simple-linear-regression
nodejs module for calculating a simple regression line from bivariate data using the 'linear least squares'
https://github.com/diversen/simple-linear-regression
linear-least-squares linear-regression
Last synced: over 1 year ago
JSON representation
nodejs module for calculating a simple regression line from bivariate data using the 'linear least squares'
- Host: GitHub
- URL: https://github.com/diversen/simple-linear-regression
- Owner: diversen
- Created: 2018-06-27T18:46:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T16:04:52.000Z (about 8 years ago)
- Last Synced: 2025-03-08T13:48:36.250Z (over 1 year ago)
- Topics: linear-least-squares, linear-regression
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://en.wikipedia.org/wiki/Linear_least_squares_(mathematics))
## Install:
npm install --save simple-linear-regression
Usage: see [test.js](test.js)
## License
MIT © [Dennis Iversen](https://github.com/diversen)