package prbnmcn-stats

  1. Overview
  2. Docs
Basic statistics

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=ff808e9b76252f793319b5e222c1587f
sha512=45545e0651b8b165ee1c0c497e5f87b92b30b12af51f6e28dc6a792a0b9ddc2b59f78aefafb3d877defb7fcd7d7895cfe63a5f1efffe1fcb0b416b0809736f70

doc/prbnmcn-stats/Stats/index.html

Module StatsSource

The prbnmcn-stats statistical library.

Introduction

prbnmcn-stats (stats for short) was designed to construct simple probabilistic models and compute basic statistics over empirical data obtained from various experiments.

The core data type is that of a probability distribution. Distributions come under various guises.

  • Empirical distributions are the typical outcome of performing a bunch of measurements or experiments, concretely they are nothing more than a collection of data. The empirical mean, empirical variance and quantiles are typical statistics that can be computed on empirical distributions.
  • Generative distributions a.k.a. samplers are used when constructing probabilistic models, they are typically used to generate synthetic data.
  • Measures are the mathematical representation of a distribution, associating weights to (sets of) data. This is the form we use to compute statistics such as the mean, the variance, etc of a distribution. Typically, we manipulate only finitely supported measures.

stats provides modules dedicated for each case, and maps between the various forms under which probability distributions appear.

Sourcemodule Stats_intf : sig ... end

Type signatures.

Sourcemodule Fin : sig ... end

Finite measures implemented as finitely supported functions.

Sourcemodule Emp : sig ... end

Empirical distributions.

Sourcemodule Gen : sig ... end

Generative distributions.

Sourcemodule Pdfs : sig ... end

Probability density functions.

Sourcemodule Combi : sig ... end

Simple combinatorics.

Sourcemodule Mh : sig ... end

Metropolis-Hastings MCMC

Sourcemodule Finbij : sig ... end

Bijections between finite sets and {0; ...; n-1}.

Sourcemodule Graph : sig ... end

Basic statistics on graphs (experimental)

Sourcemodule Log_space : sig ... end

Log-space computation

Sourcemodule Binning : sig ... end

Binning finitely supported distributions

OCaml

Innovation. Community. Security.

On This Page
  1. Introduction