@lucasheight/shewhartcontrols
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22038
318
67