Module OCamlR_stats

Runtime R statistics library.

module Formula : sig ... end
module Ecdf : sig ... end

Random number generation

val rnorm : ?⁠mean:float -> ?⁠sd:float -> int -> OCamlR_base.Numeric.t

Random generation for the normal distribution. mean and sd default to 0. and 1. respectively.

Tests

module type Test = sig ... end

Common interface for test results

module T'test : sig ... end

Student's T test

module Fisher'test : sig ... end

Fisher's exact test for independence

module Chisq'test : sig ... end

Chi-squared test for independence

module Ks'test : sig ... end

Kolmogorov-Smirnov test

val p'adjust : ?⁠method_:[ `holm | `hochberg | `hommel | `bonferroni | `BH | `BY | `fdr ] -> OCamlR_base.Numeric.t -> OCamlR_base.Numeric.t