If I know the mean, standard deviation, and size of sample A and sample B,...

Calvin Hess

Calvin Hess

Answered

2022-01-29

If I know the mean, standard deviation, and size of sample A and sample B, how do I compute the standard deviation of the union of samples A and B? What if samples A and B are of different sizes?

Answer & Explanation

utgyrnr0

utgyrnr0

Expert

2022-01-30Added 11 answers

Explanation:
Let us start with samples with unequal sizes.
Let the mean, standard deviation and size of sample A be XA,SA and nA
and mean, standard deviation and size of sample B be XB,SB and nB respectively.
Then mean of comibined sample X is given by
X=nAXA+nBXBnA+nB
and Standard Deviation of combined sample S is
S=nA(SA2+(XAX)2)+nB(SB2+(XBX)2)nA+nB
Note that it is important to work out mean of combined sample first, as to is used to calculate Standard Deviation of combined sample.
If the sample sizes are equal then the above reduces to
X=XA+XB2 and
S=(SA2+(XAX)2)+(SB2+(XBX)2)2

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get your answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?