Data parameters can now support frequency tables.
$p=data(10:1, 11:3, 12:5, 13:4, 14:3, 15:2)
This data parameter is equivalent to this frequency table.
| Data | Frequency |
| 10 | 1 |
| 11 | 3 |
| 12 | 5 |
| 13 | 4 |
| 14 | 3 |
| 15 | 2 |
Each entry in the data parameter is the data value and the frequency, separated by a :.
Statistical Calculator Commands
All statistical commands honour the frequency information. For example {mean($p)} will return 12.61111
Frequency Table Calculator Commands
The definition of $p creates 6 data entries. If you reference one of the entries, $p[3] for example, you will see 12:5. There are two commands which allow you to access the data value and the frequency of the entry.
{datavalue($p[3])} will return 12
{freq($p[3])} will return 5
Discover more from Efofex News
Subscribe to get the latest posts sent to your email.