Particle Metropolis Within Gibbs

Provides an R implementation of the Particle Metropolis within Gibbs sampler for model parameter, covariance matrix and random effect estimation. A more general implementation of the sampler based on the paper by Gunawan, D., Hawkins, G. E., Tran, M. N., Kohn, R., & Brown, S. D. (2020) . An HTML tutorial document describing the package is available at < https://university-of-newcastle-research.github.io/samplerDoc/> and includes several detailed examples, some background and troubleshooting steps.


pmwg - Particle Metropolis within Gibbs

CRAN status

Installation

To install the latest stable version you can use the following command to install from CRAN:

install.packages("pmwg")

If you want the (possibly unstable) development version, you can also install the package using devtools as follows:

devtools::install_github('university-of-newcastle-research/pmwg', ref="develop")

This package is tested and should work on all versions of R > 3.5, however instructions on installing to an earlier version of R are included below.

Using the package

The best introduction to the package can be found at the bookdown site located at: https://university-of-newcastle-research.github.io/samplerDoc/ The document there includes the motivation for the approach, several detailed examples of the package in action and a list of common problems and troubleshooting techniques. Also available online is the package documentation at https://university-of-newcastle-research.github.io/pmwg/ which consists of this README, a Reference of help documentation for individual functions, a list of changes to the project over time and more. Finally there is a page containing some frequently asked questions which can be found at https://university-of-newcastle-research.github.io/pmwg/FAQ.html

Included on the pmwg website is also a getting started guide to the package, available from https://university-of-newcastle-research.github.io/pmwg/articles/pmwg.html

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("pmwg")

0.2.7 by Gavin Cooper, 3 years ago


https://github.com/university-of-newcastle-research/pmwg


Report a bug at https://github.com/university-of-newcastle-research/pmwg/issues


Browse source code at https://github.com/cran/pmwg


Authors: Gavin Cooper [aut, cre, trl] (Package creator and maintainer) , Reilly Innes [aut] , Caroline Kuhne [aut] , Jon-Paul Cavallaro [aut] , David Gunawan [aut] (Author of original MATLAB code) , Guy Hawkins [aut] , Scott Brown [aut, trl] (Original translation from MATLAB to R) , Niek Stevenson [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports checkmate, coda, condMVNorm, MASS, mvtnorm, stats

Suggests covr, rtdists, testthat, knitr, rmarkdown, V8


Imported by lasars.


See at CRAN