varSamp
Introduced in: v1.1.0 Calculate the variância amostral of a data set. The variância amostral is calculated using the formula:Where:
- is each individual data point in the data set
- is the arithmetic mean of the data set
- is the number of data points in the data set
varPop instead.
Esta função utiliza um algoritmo numericamente instável. Se você precisar de estabilidade numérica nos cálculos, use a função
varSampStable. Ela é mais lenta, mas apresenta menor erro computacional.VAR_SAMP
Arguments
x— The population for which you want to calculate the variância amostral.(U)Int*orFloat*orDecimal*
x. Float64
Examples
Computing variância amostral
Query
Response