Livia a NPM set of packages related to statistical analysis

Welcome to Livia

Welcome to LiviaI! A free open-source NPM set of packages to support you on statistical analysis, focused on Angular/Typescript.
Here you'll find all the documentation you need to get up and running with the LIVIA API.

Find us online

  • ​NPM​

Getting started with NPM

Just type on your app
npm i liviastatistics

Example for calculating R²

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])
You can play here, on StackBlitz.
Try this as input [1, 2, 3], [0.9, 2.3, 2.2]. Can you guess a priori the result? Remember that the first array are the sample values, targets for say machine learning, whereas the second are the final prediction after training. You want to make sure the model can explain at least a part of the dataset.

Where am I using it?

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

Want to jump right in?

Feeling like an eager beaver? Jump in to the quick start docs and get making your first request:

Want to deep dive?

Dive a little deeper and start exploring our API reference to get an idea of everything that's possible with the API:
Last modified 9mo ago