Giter VIP home page Giter VIP logo

brunnermunzelstat_js's Introduction

BrunnerMunzelStat_js

This function estimates value of statistic used in "Brunner Munzel test" with given two sample arrays.
https://github.com/YujiSODE/BrunnerMunzelStat_js

Copyright (c) 2017 Yuji SODE <[email protected]>
This software is released under the MIT License.
See LICENSE or http://opensource.org/licenses/mit-license.php


According to Brunner and Munzel (2000), a value of estimated statistic in this method follows the standard normal distribution asymptotically; this distribution can be approximated to t-distribution when n1 and n2 are not less than 10,
while whole sample size N =n1+n2.

Script

  • BrunnerMunzelStat_js.js
    Function: BMStat(X,Y); X and Y are numerical arrays.

This function rettuns object with three values: statistic, estP and df.

  • statistic: value of statistic
  • estP: estimated value P = P(X<Y)+P(X=Y)/2
  • df: degrees of freedom for approximation by t-distribution

Example data cited from Brunner and Munzel (2000)

var v1=[1,2,1,1,1,1,1,1,1,1,2,4,1,1],v2=[3,3,4,3,1,2,3,1,1,5,4];
BMStat(v1,v2);
Result: { statistic: 3.1374674823029514, estP: 0.7889610389610391, df: 17.682841979481548 }

References and Library

References cited

  • Brunner, E. and Munzel, U. 2000. The Nonparametric Behrens-Fisher Problem: Asymptotic Theory and a Small-Sample Approximation. Biometrical Jour. vol. 42, p. 17-25.
  • R Documentation brunner.munzel.test derived on [2017-06-19]
  • Brunner-Munzel test (in Japanese) derived on [2017-06-19]

Library

brunnermunzelstat_js's People

Contributors

yujisode avatar

Stargazers

 avatar

Watchers

 avatar  avatar

brunnermunzelstat_js's Issues

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.