{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2018:6AHC2TLEA67VHI4TMALX4N3ZLV","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"c3c34d6b97076b3d0640312afaf8fb2fae066f9eaa4cab5310446d20240c4d0d","cross_cats_sorted":["stat.CO"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.MS","submitted_at":"2018-09-18T03:46:47Z","title_canon_sha256":"562b57d88c0fac6428c75a86c5a44da77c071d55c026fb202c7254a945dc8504"},"schema_version":"1.0","source":{"id":"1809.06520","kind":"arxiv","version":3}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"1809.06520","created_at":"2026-05-18T00:00:50Z"},{"alias_kind":"arxiv_version","alias_value":"1809.06520v3","created_at":"2026-05-18T00:00:50Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.1809.06520","created_at":"2026-05-18T00:00:50Z"},{"alias_kind":"pith_short_12","alias_value":"6AHC2TLEA67V","created_at":"2026-05-18T12:32:08Z"},{"alias_kind":"pith_short_16","alias_value":"6AHC2TLEA67VHI4T","created_at":"2026-05-18T12:32:08Z"},{"alias_kind":"pith_short_8","alias_value":"6AHC2TLE","created_at":"2026-05-18T12:32:08Z"}],"graph_snapshots":[{"event_id":"sha256:0492226885b7622854bceff01ac28e809941623993e1ca05453790205cf8ba9d","target":"graph","created_at":"2026-05-18T00:00:50Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"paper":{"abstract_excerpt":"R (Version 3.5.1 patched) has an issue with its random sampling functionality. R generates random integers between $1$ and $m$ by multiplying random floats by $m$, taking the floor, and adding $1$ to the result. Well-known quantization effects in this approach result in a non-uniform distribution on $\\{ 1, \\ldots, m\\}$. The difference, which depends on $m$, can be substantial. Because the sample function in R relies on generating random integers, random sampling in R is biased. There is an easy fix: construct random integers directly from random bits, rather than multiplying a random float by ","authors_text":"Kellie Ottoboni, Philip B. Stark","cross_cats":["stat.CO"],"headline":"","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.MS","submitted_at":"2018-09-18T03:46:47Z","title":"Random problems with R"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"1809.06520","kind":"arxiv","version":3},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:57cdf509d7d3e2fd185d34f9fe17816ccd3538eaea5396a16f612007383ee74e","target":"record","created_at":"2026-05-18T00:00:50Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"c3c34d6b97076b3d0640312afaf8fb2fae066f9eaa4cab5310446d20240c4d0d","cross_cats_sorted":["stat.CO"],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.MS","submitted_at":"2018-09-18T03:46:47Z","title_canon_sha256":"562b57d88c0fac6428c75a86c5a44da77c071d55c026fb202c7254a945dc8504"},"schema_version":"1.0","source":{"id":"1809.06520","kind":"arxiv","version":3}},"canonical_sha256":"f00e2d4d6407bf53a39360177e37795d4024fae1d78676853f92868e57e17c84","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"f00e2d4d6407bf53a39360177e37795d4024fae1d78676853f92868e57e17c84","first_computed_at":"2026-05-18T00:00:50.062246Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-05-18T00:00:50.062246Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"JVLQYzjicV70ys6vbIcZVsq18O+UJQr4J5Mg8pLv2jtkw0aGoCwG+SXUouyrQz8KDq+69M7I2sGkBUVEe2omDQ==","signature_status":"signed_v1","signed_at":"2026-05-18T00:00:50.062779Z","signed_message":"canonical_sha256_bytes"},"source_id":"1809.06520","source_kind":"arxiv","source_version":3}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:57cdf509d7d3e2fd185d34f9fe17816ccd3538eaea5396a16f612007383ee74e","sha256:0492226885b7622854bceff01ac28e809941623993e1ca05453790205cf8ba9d"],"state_sha256":"f38eff2a2f5401dff204ee43035eba72656ec62f68ef4b87c119166e9f264b86"}