Statistics
The Statistics toolbox has one node today: Sample Normal Matrix. It draws random numbers from normal (bell-curve) distributions: one column for each mean and standard deviation you give, and as many rows as you ask for.
Use it to make test data, simulate measurements with noise, or try a method on data whose answer you know.
Looking for mean, median, standard deviation or correlation? Those are in the Statistics category of the Data Analytics toolbox for tables, and in Vector Routines of Linear Algebra for lists of numbers.
- Included in: Divooka Explore and Divooka Compute Standard. In Compute, start a document from the Data Analytics workload, or add the Numerics reference with Add reference (
Ctrl+Shift+L). The Numerics reference holds Linear Algebra and Statistics. - Maturity: Experimental · Support: Tier 2 (proposed) · what these mean
- Open it: node library (
Ctrl+Shift+Space) → Statistics, or search for a node withCtrl+Space. - Reference: Statistics node reference
New to graphs? Start with Your first program.
Example: two noisy measurements
- Sample Normal Matrix, Means
10, 50, Sigmas1, 5, Row Count1000.
The result is an array of 1,000 rows, each holding two numbers. The first number in each row comes from a distribution centered on 10 with a standard deviation of 1, the second from one centered on 50 with a standard deviation of 5.
Tips and limits
- Means and Sigmas must have the same length: one pair per column.
- Different every run. The samples change on every run.
- For one list you can chart, use Normal Sample. It is in the Sample Data category of Plotting, returns one list of numbers ready for a Histogram, and takes a Seed, so the same seed gives the same numbers.
What is in the toolbox
| Category | Some of its nodes |
|---|---|
| Distribution Sampling | Sample Normal Matrix |
See also
- Statistics node reference
- Data Analytics - statistics of tables.
- Toolboxes - every other toolbox.