Statistical functions – Turning Technologies ExamView User Manual
Page 102

ExamView Test Generator
102
Statistical Functions
ExamView Test Generator provides you with numerous pre-defined statistical functions to use when defining variables,
conditions, and user-defined functions.
comb
int comb(int m, int n)
Returns the number of possible combinations. If we have a group of m objects, how many
ways can they be grouped as n objects when position does not matter. The actual
function is:
makelist
list makelist(int numValues, double lowerExtreme,
double lowerQuartile, double median,
double upperQuartile, double upperExtreme,
Boolean sortData)
Use this function to create a "list" container to hold a group of data with numValues data,
and the range, median, and interquartile ranges assigned. Pass TRUE if you want the
data elements to be arranged in ascending order. Pass -1 for either extreme, either
quartile, or the median if you do not require them to be specific values.
EXAMPLE
makelist(3, 5, -1, 8, -1, 9, TRUE)
will return "5, 8, 9"
Both quartile values must be supplied to the makelist() function. If either one is not,
they are both ignored.
mean
double mean(list data)
Returns the arithmetic mean (or average) of the data in the list.
median
double median(list data)
Returns the middle value of the data in the list if the number of elements in the list is odd,
or the average of the two middle terms if the number of elements is even.
mode
double mode(list data)
Returns the most common value for the data in the list. If the data is multimodal, this
function returns zero.
perm
int perm(int m, int n)
Returns the number of possible permutations. Given that position is important, if one has
m objects, how many unique ways can they be placed in n positions. The actual function
is:
turningtechnologies.com/user-guides