sns: Stochastic Newton Sampler (SNS)

Stochastic Newton Sampler (SNS) is a Metropolis-Hastings-based, Markov Chain Monte Carlo sampler for twice differentiable, log-concave probability density functions (PDFs) where the proposal density function is a multivariate Gaussian resulting from a second-order Taylor-series expansion of log-density around the current point. The mean of the Gaussian proposal is the full Newton-Raphson step from the current point. A Boolean flag allows for switching from SNS to Newton-Raphson optimization (by choosing the mean of proposal function as next point). This can be used during burn-in to get close to the mode of the PDF (which is unique due to concavity). For high-dimensional densities, mixing can be improved via 'state space partitioning' strategy, in which SNS is applied to disjoint subsets of state space, wrapped in a Gibbs cycle. Numerical differentiation is available when analytical expressions for gradient and Hessian are not available. Facilities for validation and numerical differentiation of log-density are provided. Note: Formerly available versions of the MfUSampler can be obtained from the archive <https://cran.r-project.org/src/contrib/Archive/MfUSampler/>.

Package details

AuthorAlireza S. Mahani, Asad Hasan, Marshall Jiang, Mansour T.A. Sharabiani
MaintainerAlireza Mahani <alireza.s.mahani@gmail.com>
LicenseGPL (>= 2)
Version1.2.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sns")

Try the sns package in your browser

Any scripts or data that you put into this service are public.

sns documentation built on Nov. 2, 2022, 5:15 p.m.