{"id":21126726,"url":"https://github.com/lukem512/levene-test","last_synced_at":"2026-04-24T08:31:42.883Z","repository":{"id":143885743,"uuid":"56515941","full_name":"lukem512/levene-test","owner":"lukem512","description":"Perform Levene's statistical test for equality of group variances.","archived":false,"fork":false,"pushed_at":"2017-07-31T11:47:51.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T21:48:34.014Z","etag":null,"topics":["analysis","deviation","levene-test","statistics","variance"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukem512.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-18T14:43:29.000Z","updated_at":"2020-07-21T08:12:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"af2448de-f991-4b19-ac52-9dc8da886b82","html_url":"https://github.com/lukem512/levene-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Flevene-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Flevene-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Flevene-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Flevene-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukem512","download_url":"https://codeload.github.com/lukem512/levene-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573168,"owners_count":20312879,"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":["analysis","deviation","levene-test","statistics","variance"],"created_at":"2024-11-20T04:45:02.931Z","updated_at":"2025-12-29T08:12:01.563Z","avatar_url":"https://github.com/lukem512.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Levene's Test\n\n[![Build Status](https://travis-ci.org/lukem512/levene-test.svg?branch=master)](https://travis-ci.org/lukem512/levene-test) ![Build Status](https://david-dm.org/lukem512/levene-test.svg) [![npm](https://img.shields.io/npm/l/levene-test.svg)](https://www.npmjs.com/package/levene-test) [![npm](https://img.shields.io/npm/v/levene-test.svg)](https://www.npmjs.com/package/levene-test) [![npm](https://img.shields.io/npm/dm/levene-test.svg)](https://www.npmjs.com/package/levene-test)\n\nAn NPM module providing Levene's 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). If the data you are working with is not normally-distributed it is recommended that you use the [Brown-Forsythe test](https://www.npmjs.com/package/brown-forsythe-test) instead, which uses the median rather than the mean to compute the test value.\n\nTo use it, simply install via NPM and include it in your project file.\n\n```js\nvar levene = require('levene-test');\n```\n\nTo compute the W-test of an array of samples use the `test` function:\n\n```js\nvar samples = [[3,3,5,1], [1,2,3]];\nconsole.log(levene.test(samples));\n```\n\nBy default the test uses the absolute deviations from the group means. The quadratic (squared) deviations can also be used by specifying the `quadratic` parameter:\n\n```js\nconsole.log(levene.test(samples), true);\n```\n\n### License \n\nMIT © Luke Mitchell\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukem512%2Flevene-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukem512%2Flevene-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukem512%2Flevene-test/lists"}