I am using Parallel Algorithm (http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm) to merge standard deviation of two groups
Can we merge two groups if there are duplicate entries in them
example I have two groups group1 and group2 having userName and usage
group1
user1 10
user2 12
user3 15
group2
user2 14
user3 13
user4 16
merged
user1 10
user2 26
user3 28
user4 16
stdev - 7.3485
i want to find st dev of merged group, but problem is because of high data volume I can't maintain userName , so i am maintaining sum and user count, and by probablistic counting algorithm I can find unique users also
group1
count-3, sum-37, M2-9.935
group2
count-3, sum-43, M2-7.919
merged group
unique- 4
group1:: count-3, sum-37, M2-9.935
group2:: count-3, sum-43, M2-7.919
now with this information available, can i find standard deviation of merged group??