chi-squared
Version, currently master branch1 version
- master branchlatestJun 12, 2025
github.com/Chapati-Systems/chi-squared
A Crystal shard for making a chi square test
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
chi-squared:
github: Chapati-Systems/chi-squared
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
*- License
- MIT
- Author
- Christoph Daniel Miksche
Dependencies
This version declares no dependencies.
README
chi-squared
A Crystal shard for making a chi square test
Installation
-
Add the dependency to your
shard.yml:dependencies: chi-squared: github: cmiksche/chi-squared -
Run
shards install
Usage
require "chi-squared"
Look at the tests for good examples. E.g.
test = ChiSquared::Test.new([1,2,3], [2,3,3])
test.result.should eq(0.8333333333333333)
Contributing
- Fork it (https://github.com/cmiksche/chi-squared/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Christoph Daniel Miksche - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 12, 2025
- Crystal
*- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Chapati-Systems/chi-squared
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1