Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukem512/brown-forsythe-test

Perform the Brown-Forsythe statistical test for equality of group variances.
https://github.com/lukem512/brown-forsythe-test

brown-forsythe-test statistics variance

Last synced: about 8 hours ago
JSON representation

Perform the Brown-Forsythe statistical test for equality of group variances.

Awesome Lists containing this project

README

        

# Brown-Forsythe Test

[![Build Status](https://travis-ci.org/lukem512/brown-forsythe-test.svg?branch=master)](https://travis-ci.org/lukem512/brown-forsythe-test) ![Build Status](https://david-dm.org/lukem512/brown-forsythe-test.svg) [![npm](https://img.shields.io/npm/l/brown-forsythe-test.svg)](https://www.npmjs.com/package/brown-forsythe-test) [![npm](https://img.shields.io/npm/v/brown-forsythe-test.svg)](https://www.npmjs.com/package/brown-forsythe-test) [![npm](https://img.shields.io/npm/dm/brown-forsythe-test.svg)](https://www.npmjs.com/package/brown-forsythe-test)

An NPM module providing the Brown-Forsythe parametric statistical test. The test can be used to compute a p-value when performing [Analysis of Variance](https://www.npmjs.com/package/anova) (ANOVA).

To use it, simply install via NPM and include it in your project file.

```
var bf = require('brown-forsythe-test');
```

To compute the F-test of an array of samples use the `test` function:

```
var samples = [[3,3,5,1], [1,2,3]];

console.log(bf.test(samples));
```