variance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
variance [2025/03/24 08:18] – [Read more] hkimscil | variance [2025/03/24 08:22] (current) – hkimscil | ||
---|---|---|---|
Line 156: | Line 156: | ||
위에서 샘플의 분산으로 모집단의 분산을 추정할 때 n-1을 쓴다고 하였지만, | 위에서 샘플의 분산으로 모집단의 분산을 추정할 때 n-1을 쓴다고 하였지만, | ||
- | $$\sigma^2 = \displaystyle \frac{SS}{N-1}$$ | + | $$\sigma^2 = \displaystyle \frac{SS}{N-1} = \displaystyle \frac{SS}{df}$$ |
아래는 R에서 보는 간단한 예이다. | 아래는 R에서 보는 간단한 예이다. | ||
< | < | ||
- | > ajoust | + | > a <- rnorm2(100000000, |
- | > a <- ajoust | + | |
> a.mean <- mean(a) | > a.mean <- mean(a) | ||
> ss <- sum((a-a.mean)^2) | > ss <- sum((a-a.mean)^2) |
variance.1742771885.txt.gz · Last modified: 2025/03/24 08:18 by hkimscil