| Maptitude GISDK Help |
Returns the variance on an array of numbers.
var_value = Var(array input_data, integer sample_flag)
| Argument | Contents |
|---|---|
| input_data | An array of numbers |
| sample_flag | 0 to compute the population variance; 1 to compute the sample variance |
A real number indicating the variance of the values in input_array.
The array must contain numbers only. Other types, including null, are not allowed.
| Error Type | Meaning |
|---|---|
| Error | The array contains values that are null or are not numbers |
| Function | Summary |
|---|---|
| Std() | Returns the standard deviation of the elements of an array |
| Mean() | Computes the mean (average) of the elements of an array |
| Median() | Computes the median of the elements of an array |
| Skew() | Returns the skew of the values in an array |
| Kurtosis() | Returns the kurtosis of a set of numbers |
| ©2025 Caliper Corporation | www.caliper.com |