All Projects → stan-dev → cmdstanr

stan-dev / cmdstanr

Licence: other
CmdStanR: the R interface to CmdStan

Programming Languages

r
7636 projects
Stan
76 projects

Projects that are alternatives of or similar to cmdstanr

Bayesplot
bayesplot R package for plotting Bayesian models
Stars: ✭ 276 (+236.59%)
Mutual labels:  bayesian, stan, r-package, mcmc
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (+109.76%)
Mutual labels:  bayesian, stan, r-package, mcmc
covidestim
Bayesian nowcasting with adjustment for delayed and incomplete reporting to estimate COVID-19 infections in the United States
Stars: ✭ 20 (-75.61%)
Mutual labels:  stan, r-package, mcmc
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+247.56%)
Mutual labels:  bayesian, stan, r-package
MultiBUGS
Multi-core BUGS for fast Bayesian inference of large hierarchical models
Stars: ✭ 28 (-65.85%)
Mutual labels:  bayesian, mcmc, markov-chain-monte-carlo
geostan
Bayesian spatial analysis
Stars: ✭ 40 (-51.22%)
Mutual labels:  bayesian, stan, r-package
Rstan
RStan, the R interface to Stan
Stars: ✭ 760 (+826.83%)
Mutual labels:  stan, r-package, mcmc
Probabilistic Models
Collection of probabilistic models and inference algorithms
Stars: ✭ 217 (+164.63%)
Mutual labels:  bayesian, mcmc, variational-inference
Posterior
The posterior R package
Stars: ✭ 75 (-8.54%)
Mutual labels:  bayesian, r-package, mcmc
Projpred
Projection predictive variable selection
Stars: ✭ 76 (-7.32%)
Mutual labels:  bayesian, stan, r-package
Gpstuff
GPstuff - Gaussian process models for Bayesian analysis
Stars: ✭ 106 (+29.27%)
Mutual labels:  bayesian, mcmc, variational-inference
Bda r demos
Bayesian Data Analysis demos for R
Stars: ✭ 409 (+398.78%)
Mutual labels:  bayesian, stan, mcmc
Bda py demos
Bayesian Data Analysis demos for Python
Stars: ✭ 781 (+852.44%)
Mutual labels:  bayesian, stan, mcmc
walker
Bayesian Generalized Linear Models with Time-Varying Coefficients
Stars: ✭ 38 (-53.66%)
Mutual labels:  bayesian, stan, mcmc
BAS
BAS R package https://merliseclyde.github.io/BAS/
Stars: ✭ 36 (-56.1%)
Mutual labels:  bayesian, r-package, mcmc
SIVI
Using neural network to build expressive hierarchical distribution; A variational method to accurately estimate posterior uncertainty; A fast and general method for Bayesian inference. (ICML 2018)
Stars: ✭ 49 (-40.24%)
Mutual labels:  mcmc, variational-inference
binary.com-interview-question
The sample question for Interview a job in Binary options
Stars: ✭ 52 (-36.59%)
Mutual labels:  bayesian, mcmc
pysgmcmc
Bayesian Deep Learning with Stochastic Gradient MCMC Methods
Stars: ✭ 31 (-62.2%)
Mutual labels:  mcmc, markov-chain-monte-carlo
blangSDK
Blang's software development kit
Stars: ✭ 21 (-74.39%)
Mutual labels:  mcmc, markov-chain-monte-carlo
bayesian
Bindings for Bayesian TidyModels
Stars: ✭ 33 (-59.76%)
Mutual labels:  bayesian, stan

CmdStanR

CRAN status Unit tests Codecov test coverage

Overview

CmdStanR is a lightweight interface to Stan for R users (see CmdStanPy for Python).

If you are new to CmdStanR we recommend starting with these vignettes:

Goals

  • A clean interface to Stan services so that CmdStanR can keep up with Stan releases.

  • R code that doesn't interface directly with C++, only calls compiled executables.

  • Modularity: CmdStanR runs Stan's algorithms and lets downstream modules do the analysis.

  • Flexible BSD-3 license.

Installation

Installing the R package

You can install the latest beta release of the cmdstanr R package with

# we recommend running this is a fresh R session or restarting your current session
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))

This does not install the vignettes, which take a long time to build, but they are always available online at https://mc-stan.org/cmdstanr/articles/.

To instead install the latest development version of the package from GitHub use

# install.packages("remotes")
remotes::install_github("stan-dev/cmdstanr")

Installing CmdStan

If you don't already have CmdStan installed then, in addition to installing the R package, it is also necessary to install CmdStan using CmdStanR's install_cmdstan() function. A suitable C++ toolchain is also required. Instructions are provided in the Getting started with CmdStanR vignette.

Contributing

There is a lot of work still to be done and contributions are very welcome! If you are interested in contributing please comment on an open issue or open a new one if none are applicable.

License

CmdStanR, like CmdStan and the core Stan C++ code, is licensed under the following licenses:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].