gibbs.met: Naive Gibbs Sampling with Metropolis Steps

This package provides two generic functions for performing Markov chain sampling in a naive way for a user-defined target distribution, which involves only continuous variables. The function "gibbs_met" performs Gibbs sampling with each 1-dimensional distribution sampled with Metropolis update using Gaussian proposal distribution centered at the previous state. The function "met_gaussian" updates the whole state with Metropolis method using independent Gaussian proposal distribution centered at the previous state. The sampling is carried out without considering any special tricks for improving efficiency. This package is aimed at only routine applications of MCMC in moderate-dimensional problems.

Getting started

Package details

AuthorLonghai Li <longhai@math.usask.ca>
MaintainerLonghai Li <longhai@math.usask.ca>
LicenseGPL (>= 2)
Version1.1-3
URL \url{http://www.r-project.org} \url{http://math.usask.ca/~longhai}
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gibbs.met")

Try the gibbs.met package in your browser

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

gibbs.met documentation built on May 2, 2019, 1:46 p.m.