On the Variance of Subset Sum Estimation
On the Variance of Subset Sum Estimation
复制标题
关于子集和估计的方差
DOI:
--
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
M. Thorup
中科院分区:
文献类型:
--
作者:
M. Szegedy;M. Thorup
For high volume data streams and large data warehouses, sampling is used for efficient approximate answers to aggregate queries over selected subsets. We are dealing with a possibly heavy-tailed set of weighted items. We address the question:
Which sampling scheme should we use to get the most accurate subset sum estimates?
We present a simple theorem on the variance of subset sum estimation and use it to prove optimality and near-optimality of different known sampling schemes. The performance measure suggested in this paper is the average variance over all subsets of any given size. By optimal we mean there is no set of input weights for which any sampling scheme can have a better average variance. For example, we show that appropriately weighted systematic sampling is simultaneously optimal for all subset sizes. More standard schemes such as uniform sampling and probability-proportional-to-size sampling with replacement can be arbitrarily bad.
Knowing the variance optimality of different sampling schemes can help deciding which sampling scheme to apply in a given context.