Package: StanEstimators 0.1.2.9000

StanEstimators: Estimate Parameters for Arbitrary R Functions using 'Stan'

Allows for the estimation of parameters for 'R' functions using the various algorithms implemented in the 'Stan' probabilistic programming language.

Authors:Andrew R. Johnson [aut, cre], Jonah Gabry [ctb], Rok Češnovar [ctb], Stan Development Team [cph], Lawrence Livermore National Security [cph]

StanEstimators_0.1.2.9000.tar.gz
StanEstimators_0.1.2.9000.zip(r-4.5)StanEstimators_0.1.2.9000.zip(r-4.4)StanEstimators_0.1.2.9000.zip(r-4.3)
StanEstimators_0.1.2.9000.tgz(r-4.4-arm64)StanEstimators_0.1.2.9000.tgz(r-4.4-x86_64)StanEstimators_0.1.2.9000.tgz(r-4.3-arm64)StanEstimators_0.1.2.9000.tgz(r-4.3-x86_64)
StanEstimators_0.1.2.9000.tar.gz(r-4.5-noble)StanEstimators_0.1.2.9000.tar.gz(r-4.4-noble)
StanEstimators_0.1.2.tgz(r-4.4-emscripten)StanEstimators_0.1.2.tgz(r-4.3-emscripten)
StanEstimators.pdf |StanEstimators.html
StanEstimators/json (API)

# Install 'StanEstimators' in R:
install.packages('StanEstimators', repos = c('https://andrjohns.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/andrjohns/stanestimators/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

15 exports 20 stars 2.22 score 26 dependencies

Last updated 5 days agofrom:db7b96582b

Exports:constrain_variablesgrad_log_probhessianlog_probloostan_diagnosestan_laplacestan_optimizestan_pathfinderstan_samplestan_variationalstan_versionssummaryunconstrain_drawsunconstrain_variables

Dependencies:abindbackportsBHcheckmateclidistributionalfansigenericsgluelifecycleloomagrittrmatrixStatsnumDerivpillarpkgconfigposteriorrapidjsonrRcppRcppEigenRcppParallelrlangtensorAtibbleutf8vctrs

Getting Started with StanEstimators

Rendered fromGetting-Started.Rmdusingknitr::rmarkdownon Jul 10 2024.

Last update: 2024-01-07
Started: 2024-01-07

Readme and manuals

Help Manual

Help pageTopics
The StanEstimators package.StanEstimators-package StanEstimators
Constrain a vector of variables.constrain_variables constrain_variables,StanBase,StanBase-method constrain_variables,StanBase-method
Calculate the log probability and its gradient of the model given a vector of unconstrained variables.grad_log_prob grad_log_prob,StanBase,StanBase-method grad_log_prob,StanBase-method
Calculate the log probability, its gradient, and its hessian matrix of the model given a vector of unconstrained variables.hessian hessian,StanBase,StanBase-method hessian,StanBase-method
Calculate the log probability of the model given a vector of unconstrained variables.log_prob log_prob,StanBase,StanBase-method log_prob,StanBase-method
Calculate approximate leave-one-out cross-validation (LOO-CV) for a model.loo loo.StanBase
stan_diagnosestan_diagnose
stan_laplacestan_laplace
stan_optimizestan_optimize
stan_pathfinderstan_pathfinder
stan_samplestan_sample
stan_variationalstan_variational
stan_versionsstan_versions
StanBase base classStanBase StanBase-class
Summary method for objects of class 'StanLaplace'.summary,StanLaplace-method summary-StanLaplace
Summary method for objects of class 'StanMCMC'.summary,StanMCMC-method summary-StanMCMC
Summary method for objects of class 'StanOptimize'.summary,StanOptimize-method summary-StanOptimize
Summary method for objects of class 'StanPathfinder'.summary,StanPathfinder-method summary-StanPathfinder
Summary method for objects of class 'StanVariational'.summary,StanVariational-method summary-StanVariational
Unconstrain all parameter draws.unconstrain_draws unconstrain_draws,StanBase,StanBase-method unconstrain_draws,StanBase-method unconstrain_draws,StanOptimize,StanOptimize-method unconstrain_draws,StanOptimize-method
Unconstrain a vector of variables.unconstrain_variables unconstrain_variables,StanBase,StanBase-method unconstrain_variables,StanBase-method