# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "gpumetropolis" in publications use:' type: software license: MIT title: 'gpumetropolis: GPU-Portable Vendor-Agnostic Metropolis-Hastings Sampler' version: 0.2.0 doi: 10.32614/CRAN.package.gpumetropolis abstract: A generic random-walk Metropolis-Hastings sampler for Markov chain Monte Carlo. The user declares a model by writing its log-likelihood and log-prior as one-sided formulas; the package compiles them to a stack-machine bytecode that a single portable kernel interprets, so the same model runs on the CPU and on the GPU from one source. The sampler advances many independent chains in one batched pass. A distributional equivalence harness based on the two-sample Kolmogorov-Smirnov test and the split R-hat statistic of Gelman and Rubin (1992) checks the GPU output against the CPU output. Dispatching the kernel to a GPU helps when many chains are run or when the log-density is expensive to evaluate over a large data set, and does not help for small models run with few chains. authors: - family-names: Carvalho Brom given-names: Pedro email: pcbrom@gmail.com orcid: https://orcid.org/0000-0002-1288-7695 repository: https://pcbrom.r-universe.dev repository-code: https://github.com/pcbrom/gpumetropolis commit: fe9a9fe0377cadb155f8adb1c943844eca43f901 url: https://github.com/pcbrom/gpumetropolis date-released: '2026-06-02' contact: - family-names: Carvalho Brom given-names: Pedro email: pcbrom@gmail.com orcid: https://orcid.org/0000-0002-1288-7695