{"id":22354015,"url":"https://github.com/movableink/u-mann-whitney","last_synced_at":"2025-07-30T09:30:49.883Z","repository":{"id":59158523,"uuid":"102879779","full_name":"movableink/u-mann-whitney","owner":"movableink","description":"U Mann-Whitney test extracted from sciruby/statsample","archived":false,"fork":false,"pushed_at":"2018-01-19T19:58:41.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-18T02:51:50.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/movableink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-08T16:04:48.000Z","updated_at":"2023-07-25T14:11:21.000Z","dependencies_parsed_at":"2022-09-13T20:11:33.573Z","dependency_job_id":null,"html_url":"https://github.com/movableink/u-mann-whitney","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Fu-mann-whitney","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Fu-mann-whitney/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Fu-mann-whitney/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/movableink%2Fu-mann-whitney/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/movableink","download_url":"https://codeload.github.com/movableink/u-mann-whitney/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228114882,"owners_count":17871742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T13:10:49.978Z","updated_at":"2024-12-04T13:10:50.527Z","avatar_url":"https://github.com/movableink.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UMannWhitney\n\nThis gem is extracted from [statsample](https://github.com/sciruby/statsample) to reduce the number of dependencies.\n\nThe U Mann-Whitney test is a non-parametric test for assessing whether two independent samples of observations come from the same distribution.\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'u-mann-whitney'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install u-mann-whitney\n\n## Usage\n\n```\nleader_values = Daru::Vector.new([1,2,3,4,5,6])\nchallenger_values = Daru::Vector.new([7,8,9,10,11,12])\nmann_whitney_test = UMannWhitney.new(leader_values, challenger_values)\n\nmann_whitney_test.probability_z\n=\u003e 0.0039477518569035475\nmann_whitney_test.probability_exact\n=\u003e (1/462)\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/movableink/u-mann-whitney.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovableink%2Fu-mann-whitney","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmovableink%2Fu-mann-whitney","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovableink%2Fu-mann-whitney/lists"}