답변:
따라서이 두 샘플 중 하나를 하나로 가져 오려면 다음을 수행하십시오.
여기서 및 ˉ y 2 는 표본 평균이며 s 1 및 s 2 는 표본 표준 편차입니다.
그것들을 추가하려면 다음이 있습니다.
새로운 평균 가 ˉ y 1 및 ˉ y 2 와 다르기 때문에 그렇게 간단하지 않습니다 .
최종 공식은 다음과 같습니다.
일반적으로 사용되는 베셀 보정 ( " 분모") 버전의 표준 편차에 대한 평균 결과는 이전과 같지만
You can read more info here: http://en.wikipedia.org/wiki/Standard_deviation
This obviously extends to groups:
I had the same problem: having the standard deviation, means and sizes of several subsets with empty intersection, compute the standard deviation of the union of those subsets.
I like the answer of sashkello and Glen_b ♦, but I wanted to find a proof of it. I did it in this way, and I leave it here in case it is of help for anybody.
So the aim is to see that indeed:
Step by step:
Now the trick is to realize that we can reorder the sums: since each
and hence, continuing with the equality chain:
This been said, there is probably a simpler way to do this.
The formula can be extended to subsets as stated before. The proof would be induction on the number of sets. The base case is already proven, and for the induction step you should apply a similar equality chain to the latter.
s
from the standard deviations, means and sizes of two subsets. In the formula there is no reference to the individual observations. In the proof there is, but its just a proof, and from my point of view, correct.