Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement KS test for one sample #28

Open
estebanz01 opened this issue Dec 31, 2018 · 0 comments
Open

Implement KS test for one sample #28

estebanz01 opened this issue Dec 31, 2018 · 0 comments

Comments

@estebanz01
Copy link
Owner

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To-Do
Development

No branches or pull requests

1 participant