{ "ns" : "http://zorba.io/modules/excel/statistical", "description" : " This is a library module offering a part of the set of statistical functions\n defined by Microsoft Excel 2003.\n", "sees" : [ "Excel 2003 Documentation: Statistical Functions" ], "authors" : [ "Daniel Turcanu" ], "version" : null, "encoding" : "utf-8", "namespaces" : [ { "uri" : "http://zorba.io/modules/excel/statistical", "prefix" : "excel" }, { "uri" : "http://zorba.io/modules/excel/errors", "prefix" : "excel-err" }, { "uri" : "http://zorba.io/modules/excel/math", "prefix" : "excel-math" }, { "uri" : "http://zorba.io/options/versioning", "prefix" : "ver" } ], "functions" : [ { "arity" : 1, "name" : "avedev", "qname" : "excel:avedev", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Returns the average of the absolute deviations of data points from their mean.\n The formula is sum(abs(x - average_x))/n, where n is the count of x in the sequence.\n", "summary" : "

Returns the average of the absolute deviations of data points from their mean.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. Sequence can be of any length from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The formula result" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "average", "qname" : "excel:average", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the average (arithmetic mean) of the arguments.\n Arguments can be empty values, otherwise must be castable to numeric.\n If sequence is empty then zero is returned.\n The sequence can be of any length.\n", "summary" : "

Returns the average (arithmetic mean) of the arguments.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
The sequence of numbers or empty values.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The sum of all numbers divided by the number of non-empty values." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type." ] }, { "arity" : 1, "name" : "averagea", "qname" : "excel:averagea", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Calculates the average (arithmetic mean) of the values in the sequence of arguments.\n Arguments can be of any type.\n The numbers are added, and the sum is divided by the size of entire sequence.\n", "summary" : "

Calculates the average (arithmetic mean) of the values in the sequence of arguments.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of values of any type. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The result" }, "errors" : [ ] }, { "arity" : 1, "name" : "count", "qname" : "excel:count", "signature" : "($numbers as xs:anyAtomicType*) as xs:integer", "description" : " Counts the number of cells that contain numbers or values castable to numeric.\n", "summary" : "

Counts the number of cells that contain numbers or values castable to numeric.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
The sequence of values, of any length.
" } ], "returns" : { "type" : "xs:integer", "description" : "The count of numbers." }, "errors" : [ ] }, { "arity" : 1, "name" : "counta", "qname" : "excel:counta", "signature" : "($numbers as xs:anyAtomicType*) as xs:integer", "description" : " Counts the number of values that are not empty.\n Empty values are the one with string value \"\".\n", "summary" : "

Counts the number of values that are not empty.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of values of any type, any length
" } ], "returns" : { "type" : "xs:integer", "description" : "The count of non-empty values" }, "errors" : [ ] }, { "arity" : 1, "name" : "countblank", "qname" : "excel:countblank", "signature" : "($cells as xs:anyAtomicType*) as xs:integer", "description" : " Counts the empty values in a sequence.\n The empty values are the ones with string value \"\".\n The value 0 is not counted.\n", "summary" : "

Counts the empty values in a sequence.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "cells", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of values, of any length
" } ], "returns" : { "type" : "xs:integer", "description" : "The count" }, "errors" : [ ] }, { "arity" : 2, "name" : "large", "qname" : "excel:large", "signature" : "($numbers as xs:anyAtomicType*, $k as xs:integer) as xs:anyAtomicType", "description" : " Returns the k-th largest value in a data set.\n If n is the number of data points in a range,\n then LARGE(array,1) returns the largest value,\n and LARGE(array,n) returns the smallest value.\n", "summary" : "

Returns the k-th largest value in a data set.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" }, { "name" : "k", "type" : "xs:integer", "occurence" : null, "description" : "
the position of largest value, with value from 1 to count of values
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The k-th largest value as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type", "excel-err:Num if the sequence is empty", "excel-err:Num if k is not a value between 1 and the sequence size" ] }, { "arity" : 1, "name" : "max", "qname" : "excel:max", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the largest number in a sequence.\n", "summary" : "

Returns the largest number in a sequence.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The max" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "maxa", "qname" : "excel:maxa", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the largest value in a list of arguments.\n In this implementation there is no difference between MAX and MAXA.\n", "summary" : "

Returns the largest value in a list of arguments.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric The sequence can be of any length.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The max" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "median", "qname" : "excel:median", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the median of the given numbers.\n The median is the number in the middle of a set of numbers.\n Half the numbers have values that are greater than the median,\n and half the numbers have values that are less than the median.\n", "summary" : "

Returns the median of the given numbers.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers, of any length
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "for odd count of numbers return the number in the middle of the sorted sequence. For even count of numbers return the average of the two numbers in the middle." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "min", "qname" : "excel:min", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the smallest number in a sequence.\n", "summary" : "

Returns the smallest number in a sequence.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The min" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "mina", "qname" : "excel:mina", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the smallest value in a list of arguments.\n In this implementation there is no difference between MAX and MAXA.\n", "summary" : "

Returns the smallest value in a list of arguments.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric The sequence can be of any length.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The min" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "mode", "qname" : "excel:mode", "signature" : "($numbers as xs:anyAtomicType*) as xs:anyAtomicType", "description" : " Returns the most frequently occurring, or repetitive, value in a sequence.\n Arguments must be castable to numeric.\n", "summary" : "

Returns the most frequently occurring, or repetitive, value in a sequence.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers, of any length
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The most occuring number" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type", "fn:QName(\"http://zorba.io/modules/excel/errors\", \"excel-err:NA\") if there are no duplicate numbers" ] }, { "arity" : 2, "name" : "percentile", "qname" : "excel:percentile", "signature" : "($numbers as xs:anyAtomicType*, $k_at as xs:anyAtomicType) as xs:anyAtomicType", "description" : " Returns the k-th percentile of values in a sequence.\n If k is not a multiple of 1/(n - 1),\n PERCENTILE interpolates to determine the value at the k-th percentile.\n The function is computed by (max-min)*k + min\n", "summary" : "

Returns the k-th percentile of values in a sequence.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers, of any length
" }, { "name" : "k_at", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the percentile, with value between 0 .. 1 inclusive
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The computed percentile" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type", "excel-err:Num if percentile is not between 0 .. 1" ] }, { "arity" : 2, "name" : "percentrank", "qname" : "excel:percentrank", "signature" : "($numbers as xs:anyAtomicType*, $x as xs:anyAtomicType) as xs:decimal", "description" : " Returns the rank of a value in a data set as a percentage of the data set.\n If x does not match one of the values in array,\n PERCENTRANK interpolates to return the correct percentage rank.

\n The formula is uses: (RANK - 1) / (size - 1) .\n", "summary" : "

Returns the rank of a value in a data set as a percentage of the data set.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numbers. The sequence can be of any length, from 1 up.
" }, { "name" : "x", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the value for which you want to know the rank
" } ], "returns" : { "type" : "xs:decimal", "description" : "The percentage of rank." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type", "excel-err:Num if the sequence is zero length" ] }, { "arity" : 3, "name" : "prob", "qname" : "excel:prob", "signature" : "($x_range as xs:anyAtomicType+, $prob_range as xs:anyAtomicType+, $range_lower_limit as xs:anyAtomicType) as xs:anyAtomicType", "description" : " This is the same as above, only that upper_limit is not specified.\n The probability is computed only for range_lower_limit.\n", "summary" : "

This is the same as above, only that upper_limit is not specified.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "x_range", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the range of numeric values of x with which there are associated probabilities. This does not need to be ordered.
" }, { "name" : "prob_range", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is a set of probabilities associated with values in x_range.
" }, { "name" : "range_lower_limit", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the value for which you want a probability.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The probability of the range_lower_limit value" }, "errors" : [ "excel-err:Num if any probability is not between 0 and 1", "excel-err:Num if the sum of probabilities is not equal to 1", "excel-err:Value if any parameter is not castable to numeric", "excel-err:Num if x_range and prob_range do not have the same number of values" ] }, { "arity" : 4, "name" : "prob", "qname" : "excel:prob", "signature" : "($x_range as xs:anyAtomicType+, $prob_range as xs:anyAtomicType+, $range_lower_limit as xs:anyAtomicType, $upper_limit as xs:anyAtomicType) as xs:anyAtomicType", "description" : " Returns the probability that values in a range are between two limits.\n", "summary" : "

Returns the probability that values in a range are between two limits.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "x_range", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the range of numeric values of x with which there are associated probabilities. This does not need to be ordered.
" }, { "name" : "prob_range", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is a set of probabilities associated with values in x_range.
" }, { "name" : "range_lower_limit", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the lower bound on the value for which you want a probability.
" }, { "name" : "upper_limit", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the upper bound on the value for which you want a probability.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The probability of the entire range" }, "errors" : [ "excel-err:Num if any probability is not between 0 and 1", "excel-err:Num if the sum of probabilities is not equal to 1", "excel-err:Value if any parameter is not castable to numeric", "excel-err:Num if x_range and prob_range do not have the same number of values" ] }, { "arity" : 2, "name" : "quartile", "qname" : "excel:quartile", "signature" : "($numbers as xs:anyAtomicType*, $quart as xs:integer) as xs:anyAtomicType", "description" : " Returns the quartile of a data set.\n", "summary" : "

Returns the quartile of a data set.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
sequence of numbers or values castable to numbers. The sequence can be of any length, from 1 up.
" }, { "name" : "quart", "type" : "xs:integer", "occurence" : null, "description" : "
one of the values 0, 1, 2, 3, 4 with meaning:
0
compute minimum value
1
compute first quartile (25th percentile)
2
compute median value (50th percentile)
3
compute third quartile (75th percentile)
4
compute maximum value
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "the computed quartile, as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type", "excel-err:Num if the sequence is zero length", "excel-err:Num if $quart is not one of the values 0, 1, 2, 3, 4" ] }, { "arity" : 2, "name" : "rank", "qname" : "excel:rank", "signature" : "($x as xs:anyAtomicType, $numbers as xs:anyAtomicType*) as xs:decimal", "description" : " This RANK function is same as the above, only that $order_ascending is set by default to false.\n", "summary" : "

This RANK function is same as the above, only that $order_ascending is set by default to false.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "x", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
The number whose rank you want to find.
" }, { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numbers. The sequence can be of any length.
" } ], "returns" : { "type" : "xs:decimal", "description" : "The rank of $x." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type." ] }, { "arity" : 3, "name" : "rank", "qname" : "excel:rank", "signature" : "($x as xs:anyAtomicType, $numbers as xs:anyAtomicType*, $order_ascending as xs:boolean) as xs:decimal", "description" : " Returns the rank of a number in a list of numbers.\n The rank of a number is its size relative to other values in a list.\n (If you were to sort the list, the rank of the number would be its position.)\n RANK gives duplicate numbers the same rank.\n", "summary" : "

Returns the rank of a number in a list of numbers.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "x", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
The number whose rank you want to find.
" }, { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
The sequence of numbers or values castable to numbers. The sequence can be of any length.
" }, { "name" : "order_ascending", "type" : "xs:boolean", "occurence" : null, "description" : "
A boolean having the meaning:
false
then rank the number as if the sequence was sorted in descending order.
true
then rank the number as if the sequence was sorted in ascending order.
" } ], "returns" : { "type" : "xs:decimal", "description" : "The rank of $x." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type." ] }, { "arity" : 2, "name" : "slope", "qname" : "excel:slope", "signature" : "($known_y as xs:anyAtomicType+, $known_x as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Returns the slope of the linear regression line through data points in known_y's and known_x's.\n The slope is the vertical distance divided by the horizontal distance between\n any two points on the line, which is the rate of change along the regression line.\n It computes the formula:

\n sum((x - average_x)(y - average_y)) / sum((x - average_x)^2)

\n where average_x and average_y are computed with AVERAGE function.\n", "summary" : "

Returns the slope of the linear regression line through data points in known_y's and known_x's.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "known_y", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of y numbers. The sequence can be of any length, from 1 up.
" }, { "name" : "known_x", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of x numbers. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The slope value, as numeric type" }, "errors" : [ "excel-err:Value if any parameter cannot be casted to numeric", "fn:QName(\"http://zorba.io/modules/excel/errors\", \"excel-err:NA\") if there are different numbers of x's and y's", "fn:QName(\"http://zorba.io/modules/excel/errors\", \"excel-err:NA\") if any sequence is empty", "excel-err:Div0 if all x's are equal" ] }, { "arity" : 2, "name" : "small", "qname" : "excel:small", "signature" : "($numbers as xs:anyAtomicType*, $k as xs:integer) as xs:anyAtomicType", "description" : " This function computes the k-th smallest value in a data set.\n Use this function to return values with a particular relative standing in a data set.\n If n is the number of data points in array, SMALL(array,1) equals the smallest value,\n and SMALL(array,n) equals the largest value.\n", "summary" : "

This function computes the k-th smallest value in a data set.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
A sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" }, { "name" : "k", "type" : "xs:integer", "occurence" : null, "description" : "
The position (from the smallest) in the sequence of data to return. Must have value between 1 and size of sequence.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The k-th smallest value of $numbers." }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type.", "excel-err:Num if the sequence is zero length.", "excel-err:Num if $k is not a value between 1 and the size of sequence." ] }, { "arity" : 3, "name" : "standardize", "qname" : "excel:standardize", "signature" : "($x as xs:anyAtomicType, $mean as xs:anyAtomicType, $standard_dev as xs:anyAtomicType) as xs:double", "description" : " Returns a normalized value from a distribution characterized by mean and standard_dev.

\n The formula is (x - mean) / standard_dev .\n", "summary" : "

Returns a normalized value from a distribution characterized by mean and standard_dev.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "x", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the value you want to normalize
" }, { "name" : "mean", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the arithmetic mean of the distribution.
" }, { "name" : "standard_dev", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
is the standard deviation of the distribution.
" } ], "returns" : { "type" : "xs:double", "description" : "The normalized x, as numeric type" }, "errors" : [ "excel-err:Value if any parameter cannot be casted to numeric", "excel-err:Num if standard_dev is a value smaller than zero or equal" ] }, { "arity" : 1, "name" : "var", "qname" : "excel:var", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Estimates variance based on a sample.

\n The formula is sum(x - average_x)^2 / (n - 1).

\n average_x is computed with AVERAGE function.

\n n is the count of numbers from the sequence, excluding empty values.\n", "summary" : "

Estimates variance based on a sample.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The variance, as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "vara", "qname" : "excel:vara", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Estimates variance based on a sample.

\n The formula is sum(x - average_x)^2 / (n - 1).

\n average_x is computed with AVERAGE function.

\n n is the size of sequence, including empty values.

\n", "summary" : "

Estimates variance based on a sample.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The variance, as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "varp", "qname" : "excel:varp", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Calculates variance based on the entire population.

\n The formula is sum(x - average_x)^2 / n.

\n average_x is computed with AVERAGE function.

\n n is the count of numbers from the sequence, excluding empty values.

\n", "summary" : "

Calculates variance based on the entire population.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The variance, as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] }, { "arity" : 1, "name" : "varpa", "qname" : "excel:varpa", "signature" : "($numbers as xs:anyAtomicType+) as xs:anyAtomicType", "description" : " Calculates variance based on the entire population.

\n The formula is sum(x - average_x)^2 / n.

\n average_x is computed with AVERAGE function.

\n n is the size of sequence, including empty values.

\n", "summary" : "

Calculates variance based on the entire population.

", "annotation_str" : "", "annotations" : [ ], "updating" : false, "parameters" : [ { "name" : "numbers", "type" : "xs:anyAtomicType", "occurence" : null, "description" : "
the sequence of numbers or values castable to numeric. The sequence can be of any length, from 1 up.
" } ], "returns" : { "type" : "xs:anyAtomicType", "description" : "The variance, as numeric type" }, "errors" : [ "excel-err:Value if the parameters cannot be casted to numeric type" ] } ], "variables" : [ ] }