Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lucasheight/shewhartcontrols

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lucasheight/shewhartcontrols - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

3

dist/lib/shewhart.js

@@ -36,3 +36,4 @@ "use strict";

const N = this.useSampleStDev ? data.length - 1 : data.length;
return Math.sqrt(sigma / N);
const variance = sigma / N;
return Math.sqrt(variance);
};

@@ -39,0 +40,0 @@ /**

{
"name": "@lucasheight/shewhartcontrols",
"version": "0.0.7",
"version": "0.0.8",
"keywords": [

@@ -5,0 +5,0 @@ "shewhart",

@@ -0,1 +1,2 @@

[![npm version](https://badge.fury.io/js/%40lucasheight%2Fshewhartcontrols.svg)](https://badge.fury.io/js/%40lucasheight%2Fshewhartcontrols)
# Shewhart Controls

@@ -14,3 +15,4 @@ A simple library that applies Shewhart chart rules to an array of numbers.

* Provide a boolean (useSampleStDev) to indicate standard deviation method to use. (defaults to true: Sample Standard Deviation)
* Provide a boolean (useSampleStDev) to indicate standard deviation method to use. (defaults to true: Sample Standard Deviation). Set to false
if you wish to apply population standard deviation.

@@ -17,0 +19,0 @@ **Results**

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc