varSamp
Introduced in: v1.1.0 Calculate the 標本分散 of a data set. The 標本分散 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.
この関数は数値的に不安定なアルゴリズムを使用しています。計算において数値安定性が必要な場合は、
varSampStable 関数を使用してください。処理速度は遅くなりますが、計算誤差が小さくなります。VAR_SAMP
Arguments
Returned value
Returns the 標本分散 of the input data set x. Float64
Examples
Computing 標本分散
Query
Response