Package: neuralsbi Title: Neural Simulation-Based Inference Version: 0.6.83 Authors@R: person("Pedro", "Nascimento de Lima", email = "plima@rand.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9057-198X")) Description: A native R implementation of neural simulation-based inference (SBI) methods. Given a prior over parameters and a simulator, 'neuralsbi' trains a conditional neural density estimator for likelihood-free Bayesian inference: Neural Posterior Estimation approximates the posterior directly and samples it in a forward pass, Neural Likelihood Estimation learns a surrogate likelihood that is sampled with MCMC, handles repeated independent observations, and can be exported as 'Stan' code for use inside a larger model, and Neural Ratio Estimation trains a classifier for the likelihood-to-evidence ratio instead of either density. Neural estimators run on the 'torch' back end. This package is developed for applied researchers who want an R-native approachable SBI interface with sensible defaults and built-in posterior diagnostics. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) Depends: R (>= 4.1.0) Imports: parallel, stats, utils Suggests: torch (>= 0.11.0), cmdstanr (>= 0.7.0), rstan (>= 2.26.0), posterior (>= 1.4.0), ggplot2 (>= 3.4.0), GGally (>= 2.2.0), ggdensity, future (>= 1.30.0), progressr (>= 0.11.0), cli, rlang, testthat (>= 3.0.0), withr, knitr, rmarkdown, svglite, ragg, covr Additional_repositories: https://mc-stan.org/r-packages/ Config/testthat/edition: 3 Config/Needs/coverage: covr VignetteBuilder: knitr URL: https://neuralsbi.pedrodelima.com/, https://github.com/pedroliman/neuralsbi BugReports: https://github.com/pedroliman/neuralsbi/issues Config/roxygen2/version: 8.1.0 Repository: https://pedroliman.r-universe.dev Date/Publication: 2026-10-10 05:58:52 UTC RemoteUrl: https://github.com/pedroliman/neuralsbi RemoteRef: HEAD RemoteSha: 48817e3e98c089337dccea58f6612fcf5e64d10b NeedsCompilation: no Packaged: 2026-10-10 07:35:41 UTC; root Author: Pedro Nascimento de Lima [aut, cre] (ORCID: ) Maintainer: Pedro Nascimento de Lima