Unbiased Matrix Rounding

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)2 ) to O(mn log(mn)). Second, our roundings also have a rounding error of less than one in all initial intervals of rows and columns. Consequently, arbitrary intervals have an error of at most two. This is particularly useful in the statistics application of controlled rounding The same result can be obtained via (dependent) randomized rounding. This has the additional advantage that the rounding is unbiased, that is, for all entries yij of our rounding, we have E(yij) = xij, where xij is the corresponding entry of the input matrix

[1]  Takeshi Tokuyama,et al.  Discrepancy-Based Digital Halftoning: Automatic Evaluation and Optimization , 2002, Theoretical Foundations of Computer Vision.

[2]  Benjamin Doerr,et al.  Linear Discrepancy of Totally Unimodular Matrices*† , 2004, Comb..

[3]  RaghavanPrabhakar Probabilistic construction of deterministic algorithms: approximating packing integer programs , 1988 .

[4]  John B. Kidd,et al.  Toyota Production System , 1993 .

[5]  L. Cox A Constructive Procedure for Unbiased Controlled Rounding , 1987 .

[6]  József Beck,et al.  Well-distributed 2-colorings of integers relative to long arithmetic progressions , 1984 .

[7]  Joel H. Spencer,et al.  Integral approximation sequences , 1984, Math. Program..

[8]  B. Causey,et al.  Applications of Transportation Theory to Statistical Problems , 1985 .

[9]  N. Braunera,et al.  The maximum deviation just-intime scheduling problem , 2003 .

[10]  Jon Louis Bentley Algorithm Design Techniques , 1984, Commun. ACM.

[11]  M. Bacharach Matrix Rounding Problems , 1966 .

[12]  D. R. Fulkerson,et al.  Flows in Networks. , 1964 .

[13]  Kunihiko Sadakane,et al.  Combinatorics and algorithms for low-discrepancy roundings of a real sequence , 2005, Theor. Comput. Sci..

[14]  Benjamin Doerr Linear And Hereditary Discrepancy , 2000, Comb. Probab. Comput..

[15]  Jon Bentley,et al.  Programming pearls: algorithm design techniques , 1984, CACM.

[16]  Yves Crama,et al.  The maximum deviation just-in-time scheduling problem , 2004, Discret. Appl. Math..

[17]  L. Willenborg,et al.  Elements of Statistical Disclosure Control , 2000 .

[18]  Steven A. Orszag,et al.  CBMS-NSF REGIONAL CONFERENCE SERIES IN APPLIED MATHEMATICS , 1978 .

[19]  Tobias Friedrich,et al.  Rounding of Sequences and Matrices, with Applications , 2005, WAOA.

[20]  G. Steiner,et al.  Level Schedules for Mixed-Model, Just-in-Time Processes , 1993 .

[21]  Joel Spencer Ten Lectures on the Probabilistic Method: Second Edition , 1994 .

[22]  Donald E. Knuth Two-Way Rounding , 1995, SIAM J. Discret. Math..

[23]  Benjamin Doerr,et al.  Lattice approximation and linear discrepency of totally unimodular matrices , 2001, SODA '01.

[24]  Y. Monden Toyota Production System: Practical Approach to Production Management , 1983 .

[25]  J. Spencer Ten lectures on the probabilistic method , 1987 .

[26]  Benjamin Doerr Generating Randomized Roundings with Cardinality Constraints and Derandomizations , 2006, STACS.

[27]  Benjamin Doerr,et al.  Global roundings of sequences , 2004, Inf. Process. Lett..