Language Reference Guide : Functions : Stat Library Functions : VAR Function
 
Share this page          
VAR Function
The VAR function calculates the variance of an entire population of data represented in a list.
This function has the following syntax:
VAR(list = list)
Arguments
Data Type
Description
list
Array of Object (see following note)
List of numbers
Note:  The Array of Object can be an Array of FloatObject, IntegerObject, or MoneyObject.
This function returns:
Float—Population variance of items in list
Null—On error
Example—VAR function:
/* Use same array digits1_9 as Average example */
var_result = var(list = digits1_9);