{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rounding-random-variables-to-finite-precision","title":"Non-asymptotic moment bounds for random variables rounded to non-uniformly spaced sets","arxiv_id":"2007.11041","date":"2020-07-21","proceeding":null,"authors":["Tyler Chen"],"abstract":"We study the effects of rounding on the moments of random variables. Specifically, given a random variable $X$ and its rounded counterpart $\\operatorname{rd}(X)$, we study $|\\mathbb{E}[X^k] - \\mathbb{E}[\\operatorname{rd}(X)^{k}]|$ for non-negative integer $k$. We consider the case that the rounding function $\\operatorname{rd} : \\mathbb{R}\\to\\mathbb{F}$ corresponds either to (i) rounding to the nearest point in some discrete set $\\mathbb{F}$ or (ii) rounding randomly to either the nearest larger or smaller point in this same set with probabilities proportional to the distances to these points. In both cases, we show, under reasonable assumptions on the density function of $X$, how to compute a constant $C$ such that $|\\mathbb{E}[X^k] - \\mathbb{E}[\\operatorname{rd}(X)^{k}]| < C\\epsilon^2$, provided $|\\operatorname{rd}(x) - x| \\leq \\epsilon \\: E(x)$, where $E : \\mathbb{R} \\to \\mathbb{R}_{\\geq 0}$ is some fixed positive piecewise linear function. Refined bounds for the absolute moments $\\mathbb{E}[ |X^k-\\operatorname{rd}(X)^{k}|]$ are also given.","url_abs":"https://arxiv.org/abs/2007.11041v3","url_pdf":"https://arxiv.org/pdf/2007.11041v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"rounding-random-variables-to-finite-precision","repo_url":"https://github.com/chentyl/rounded_random_variables","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}