> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8a08bda2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 모집단 분산을 반환합니다. varPop과 달리 이 함수는 수치적으로 안정적인 알고리즘을 사용합니다. 속도는 더 느리지만 계산 오차는 더 적습니다.

# varPopStable

<div id="varPopStable">
  ## varPopStable
</div>

도입 버전: v1.1.0

모집단 분산을 반환합니다.
[`varPop`](/ko/reference/functions/aggregate-functions/varPop)과 달리 이 함수는 [수치적으로 안정적인](https://en.wikipedia.org/wiki/Numerical_stability) 알고리즘을 사용합니다.
실행 속도는 더 느리지만 계산 오차는 더 적습니다.

**구문**

```sql theme={null}
varPopStable(x)
```

**인수**

* `x` — 모집단 분산을 구할 값들의 집합입니다. [`(U)Int*`](/ko/reference/data-types/int-uint) 또는 [`Float*`](/ko/reference/data-types/float) 또는 [`Decimal*`](/ko/reference/data-types/decimal)

**반환 값**

`x`의 모집단 분산을 반환합니다. [`Float64`](/ko/reference/data-types/float)

**예시**

**수치적으로 안정적인 모집단 분산 계산**

```sql title=Query theme={null}
DROP TABLE IF EXISTS test_data;
CREATE TABLE test_data
(
    x UInt8,
)
ENGINE = Memory;

INSERT INTO test_data VALUES (3),(3),(3),(4),(4),(5),(5),(7),(11),(15);

SELECT
    varPopStable(x) AS var_pop_stable
FROM test_data;
```

```response title=Response theme={null}
┌─var_pop_stable─┐
│           14.4 │
└────────────────┘
```
