lirm

0.0.1 • Public • Published

lirm

build status AppVeyor Build Status


Fitting linear regression models using least square method


Get it!

npm install --save lirm

Usage

var lirm = require('lirm')
var x = [1, 2, 3, 4, 5]
var y = [2, 4, 5, 4, 5]
 
lirm(x, y, 1, function (err, data) {
  if (err) throw err
  return data
})

API

lirm(x, y, predictor)

Enter independent x and dependent y variable plus predictor to calculate response.


License

MIT

Readme

Keywords

Package Sidebar

Install

npm i lirm

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

4.67 kB

Total Files

8

Last publish

Collaborators

  • balou9