You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Christoph Daniel Miksche d3a5de8a72
docs: nicer highlighting
5 months ago
spec feat: format code 5 months ago
src feat: format code 5 months ago
.editorconfig feat: init 5 months ago
.gitignore feat: init 5 months ago
.travis.yml feat: init 5 months ago
LICENSE Initial commit 5 months ago
README.md docs: nicer highlighting 5 months ago
shard.yml feat: init 5 months ago

README.md

chi-squared

Build Status

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