More Statistical Functions

The inclusion of data parameters and random number generating parameters has prompted more statistical functions which can calculate summary statistics.

For example. If $p=randnormal(50,15,30), $p will return a data parameter with 30 random numbers which have been taken from a probability density function with mean of 50 and standard deviation of 15.

Measures of Central Tendency

mean($p)
median($p)
mode($p)


Note that mode will return one or two modes if they exist.

Measures of Dispersion

sd($p) Sample standard deviation
sdp($p) Population standard deviation
variance($p) Variance
iqr($p) Interquartile range.
range($p) Range

Other Measures

count($p) Counts the number of values in the data parameter (equivalent to $p[0])
lq($p) Lower quartile
max($p) Maximum value
maxref($p) Reference of the maximum value (ie, this will return 3 if the third value is the maximum)
min($p) Minimum value
minref($p) Reference of the minimum value
sum($p) Sum of the values in $p
uq($p) Upper quartile


Discover more from Efofex News

Subscribe to get the latest posts sent to your email.

Unknown's avatar

About efofexsoftware

Efofex Software produces graphic production software designed specifically for secondary mathematics and science teachers.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment