varSamp
Introduced in: v1.1.0 Calculate the variance d’échantillon of a data set. The variance d’échantillon 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.
Cette fonction utilise un algorithme numériquement instable. Si vous avez besoin de stabilité numérique dans vos calculs, utilisez la fonction
varSampStable. Elle est plus lente, mais produit une erreur de calcul plus faible.VAR_SAMP
Arguments
x— The population for which you want to calculate the variance d’échantillon.(U)Int*orFloat*orDecimal*
x. Float64
Examples
Computing variance d’échantillon
Query
Response