0.0.6 • Published 2 years ago

liviastatistics v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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!