Base.Stats

This document is auto-generated for Owl’s APIs. #38 entries have been extracted. timestamp: 2018-04-16 13:12:54

Github: {Signature} {Implementation}

Randomisation functions

val shuffle : 'a array -> 'a array

Refer to Stats.

source code

val choose : 'a array -> int -> 'a array

Refer to Stats.

source code

val sample : 'a array -> int -> 'a array

Refer to Stats.

source code

Basic statistical functions

val sum : float array -> float

Refer to Stats.

source code

val mean : float array -> float

Refer to Stats.

source code

val var : ?mean:float -> float array -> float

Refer to Stats.

source code

val std : ?mean:float -> float array -> float

Refer to Stats.

source code

val sem : ?mean:float -> float array -> float

Refer to Stats.

source code

val absdev : ?mean:float -> float array -> float

Refer to Stats.

source code

val skew : ?mean:float -> ?sd:float -> float array -> float

Refer to Stats.

source code

val kurtosis : ?mean:float -> ?sd:float -> float array -> float

Refer to Stats.

source code

val central_moment : int -> float array -> float

Refer to Stats.

source code

val cov : ?m0:float -> ?m1:float -> float array -> float array -> float

Refer to Stats.

source code

val concordant : 'a array -> 'b array -> int

Refer to Stats.

source code

val discordant : 'a array -> 'b array -> int

Refer to Stats.

source code

val kendall_tau : float array -> float array -> float

Refer to Stats.

source code

val min : float array -> float

Refer to Stats.

source code

val max : float array -> float

Refer to Stats.

source code

val minmax : float array -> float * float

Refer to Stats.

source code

val min_i : float array -> int

Refer to Stats.

source code

val max_i : float array -> int

Refer to Stats.

source code

val minmax_i : float array -> int * int

Refer to Stats.

source code

val sort : ?inc:bool -> float array -> float array

Refer to Stats.

source code

val argsort : ?inc:bool -> float array -> int array

Refer to Stats.

source code

val rank : ?ties_strategy:[ `Average | `Min | `Max ] -> float array -> float array

Refer to Stats.

source code

val histogram : float array -> int -> int array

Refer to Stats.

source code

Random variables

val uniform_rvs : a:float -> b:float -> float

Refer to Stats.

source code

val bernoulli_rvs : p:float -> float

Refer to Stats.

source code

val gaussian_rvs : mu:float -> sigma:float -> float

Refer to Stats.

source code

val exponential_rvs : lambda:float -> float

Refer to Stats.

source code

val cauchy_rvs : loc:float -> scale:float -> float

Refer to Stats.

source code

val std_gamma_rvs : shape:float -> float

Refer to Stats.

source code

val gamma_rvs : shape:float -> scale:float -> float

Refer to Stats.

source code

val gumbel1_rvs : a:float -> b:float -> float

Refer to Stats.

source code

val gumbel2_rvs : a:float -> b:float -> float

Refer to Stats.

source code