NULL numeric values produced by an expression. The population variance measures the average of the squared differences from the population mean, indicating how spread out the values are within the entire population. For information about the sample variance, which measures how spread out the values are within a sample, see VAR_SAMP.
Syntax
Parameters
Return Type
VAR_POP returns a result of type DOUBLE PRECISION.
Special cases
- If there are no non-
NULLinput values, the result isNULL. - If the input contains an
InforNaNvalue, the result will beNaN.
Example
The following example calculates the population variance of five grade values:Rows: 1Execution time: 8.37ms