Skip to content

Chapati-Systems/chi-squared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chi-squared

A Crystal shard for making a chi square test

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      chi-squared:
        github: cmiksche/chi-squared
  2. 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

  1. Fork it (https://github.com/cmiksche/chi-squared/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A Crystal shard for making a chi square test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published