Giter VIP home page Giter VIP logo

manatee's Introduction

Manatee

Manatee checks whether the expected values (means) of two samples are significantly different.

In order to decide whether the null hypothesis that the two samples came from the same unknown distribution should be accepted or rejected, Manatee uses the combined data sets to bootstrap (i.e. select random) samples of the same sizes as the original samples, and measures the difference between their means.

It outputs the ratio of these experiments where the measured difference is larger than the difference between the means of the original samples. If this ratio is less than 5%, then it is unlikely that the original samples came from the same distribution.

As Manatee actually selects random samples to measure the distribution of this difference, it does not rely on any assumption about the unknown distribution.

Compilation

Use gcc -O3 -lm -o manatee manatee.c to compile the source.

Usage

manatee reads data from STDIN, one number per line:

  • size of set 1 (integer)
  • size of set 2 (integer)
  • number of experiments (integer)
  • data points of set 1 (float)
  • ...
  • data points of set 2 (float)
  • ...

Author

Copyright (c) 2016 Elod Csirmaz

manatee's People

Contributors

csirmaz avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.