项目作者: diversen

项目描述 :
nodejs module for calculating a simple regression line from bivariate data using the 'linear least squares'
高级语言: JavaScript
项目地址: git://github.com/diversen/simple-linear-regression.git
创建时间: 2018-06-27T18:46:31Z
项目社区:https://github.com/diversen/simple-linear-regression

开源协议:

下载


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:

  1. npm install --save simple-linear-regression

Usage: see test.js

License

MIT © Dennis Iversen