Skip to content

Implement KS test for one sample #28

@estebanz01

Description

@estebanz01

The idea is to implement the KS test where we pass a sample and a distribution object, to validate if it belongs or not.

Something like this:

distribution = Distribution::StandardNormal.new
samples = distribution.random(elements: 1_000, seed: 100)
# This should return null hypothesis as true,
# so we assume that the sample belongs to the specified distribution.
StatisticalTest::KSTest.one_group(samples: samples, distribution: distribution)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To-Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions