Unbiased Matrix Rounding
Data Structures and Algorithms
2007-05-23 v2 Discrete Mathematics
Abstract
We show several ways to round a real matrix to an integer one such that the rounding errors in all rows and columns as well as the whole matrix are less than one. This is a classical problem with applications in many fields, in particular, statistics. We improve earlier solutions of different authors in two ways. For rounding matrices of size m×n, we reduce the runtime from O((mn)2Second,ourroundingsalsohavearoundingerroroflessthanoneinallinitialintervalsofrowsandcolumns.Consequently,arbitraryintervalshaveanerrorofatmosttwo.Thisisparticularlyusefulinthestatisticsapplicationofcontrolledrounding.Thesameresultcanbeobtainedvia(dependent)randomizedrounding.Thishastheadditionaladvantagethattheroundingisunbiased,thatis,forallentriesy_{ij}ofourrounding,wehaveE(y_{ij}) = x_{ij},wherex_{ij}$ is the corresponding entry of the input matrix.
Cite
@article{arxiv.cs/0604068,
title = {Unbiased Matrix Rounding},
author = {Benjamin Doerr and Tobias Friedrich and Christian Klein and Ralf Osbild},
journal= {arXiv preprint arXiv:cs/0604068},
year = {2007}
}
Comments
10th Scandinavian Workshop on Algorithm Theory (SWAT), 2006, to appear