Unbiased Matrix Rounding

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 ( ( m n ) 2 ) to O ( m n log ( m n ) ) . 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 y i j of our rounding, we have E ( y i j ) = x i j , where x i j is the corresponding entry of the input matrix.

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

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

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

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

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

[6]  Prabhakar Raghavan,et al.  Probabilistic construction of deterministic algorithms: Approximating packing integer programs , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

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

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

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

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

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

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

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

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

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

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