liviastatistics
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Livia

Livia a project by Jorge Guerra Pires, PhD. The goal is making as NPM packages some tools for statistical analysis!

R^2

This is a very important measure of linear correlation. use it to have an idea if your linear model is explaining well the data

API

In Angular/Typescript, what I have designed it mainly to

//Import the package, after installing
import { Statistics } from 'liviastatistics';
//Create an instance
statistics = new Statistics();
//first is the real data, the second is the prediction
this.statistics.calculateR2([1 2 3], [0.9 2.3 2])

Where am I using it?

Miyagi Do Lab for accessing the adequacy of neural networks against linear models. Soon we shall have more!

Package Sidebar

Install

npm i liviastatistics

Weekly Downloads

5

Version

0.0.6

License

MIT

Unpacked Size

14.4 kB

Total Files

15

Last publish

Collaborators

  • jorgeguerrapires