Anders Granholm
agranholm.bsky.social
Anders Granholm
@agranholm.bsky.social
MD, PhD, assistant professor, Intensive Care, Rigshospitalet and Section of Biostatistics, Dept. of Public Health, University of Copenhagen. Clinical trials (incl. adaptive+platform), evidence-based medicine, methodology, Bayes. www.incept.dk
Most PRNG functions in R rely on random unif/norm/exp numbers, e.g., rbeta uses a rejection method relying on uniform random numbers (github.com/wch/r-source...) - if they were reimplemented with the RNG calls replaced with the ziggurat functions, I would imagine that all could be speed up?
github.com
February 9, 2025 at 6:51 PM
Are there any plans to expand to cover PRNG of other distributions in R? Would be really useful (I use rbeta a lot). A lot of them seem to rely on random uniform/normal distributions, so I would assume they could be sped up as well if the ziggurat algorithm was used under the hood? 2/2
February 8, 2025 at 11:39 AM
Very interesting work! I use a lot of PRNG for simulation, and it often takes the majority of computation time (50-80%). On this machine the speedups seem around times 6 (norm), 8 (exp), but somewhat less for unif (~1.9) 1/2
February 8, 2025 at 11:39 AM
Feedback, comments, and questions on the preprint is welcome! 4/4
January 16, 2025 at 9:44 AM
This framework is used for our upcoming EMPRESS trial (www.cric.nu/empress) and all currently planned domains on our upcoming INCEPT platform trial (incept.dk).

We hope that this will serve as a useful help for others considering or planning the use of similar trials.
3/..
The Intensive Care Platform Trial (INCEPT) research programme aims to prepare, initiate and run an adaptive platform trial assessing commonly used interventions in acutely ill intensive care unit (ICU) patients.
incept.dk
January 16, 2025 at 9:44 AM
We cover Bayesian adaptive trials with adaptive stopping and arm dropping and response-adaptive randomisation. In addition to describing and providing guidance on the methodological decisions, we included complete analysis code to evaluate such trial designs.
2/..
January 16, 2025 at 9:44 AM