package prbnmcn-stats

  1. Overview
  2. Docs

Empirical statistics over floats.

type r = float

r is the type representing real numbers.

val empirical_mean : r t -> r

empirical_mean dist computes the empirical mean (or sample mean) of dist.

val empirical_mean_generic : (module Basic_structures.Basic_intf.Module with type t = 'elt and type R.t = r) -> 'elt t -> 'elt

empirical_mean_generic mod dist computes the empirical mean (or sample mean) of dist. This functions works on empirical distributions over arbitrary r-modules.

val empirical_variance : r t -> r

empirical_variance dist computes the (uncorrected) empirical variance associated to dist.

OCaml

Innovation. Community. Security.