statistics.noiseFloor
The noise floor of a measure: k sample standard deviations of its value over independent seeds or folds. When the margin of practical effect is larger, the floor is the margin. A difference smaller than the floor is not a result.
CLI- Package
- @procedures/statistics · README
- Path
["statistics","noiseFloor"]- CLI
mark statistics noiseFloor --values <number[]>- As data
{"$proc":["statistics","noiseFloor"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/statistics/register"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["statistics","noiseFloor"], { values: [] });
console.log(JSON.stringify(result));From the command line
$ mark statistics noiseFloor --values <number[]>
As data, in a program
{ "$proc": ["statistics", "noiseFloor"], "input": { "values": [] } }Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
values | number[] | yes | ||
options | object | no |
Output
The schema does not list fields (number).
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"values": {
"type": "array",
"items": {
"type": "number"
}
},
"options": {
"type": "object",
"properties": {
"k": {
"type": "number",
"description": "The number of standard deviations. The default is 2."
},
"minimum": {
"type": "number",
"description": "The fewest values (seeds or folds) that give a floor. The default is 5, the 5-seed rule."
},
"margin": {
"type": "number",
"description": "The margin of practical effect, in the units of the values. A difference that is real but smaller than the margin is too small to matter, so it is not a result. Give the reason of the margin from the problem of the user. The default is 0: no margin."
}
},
"additionalProperties": {}
}
},
"required": [
"values"
],
"additionalProperties": false
},
"output": {
"type": "number"
}
}