rust: Ratio-of-Uniforms Simulation with Transformation
Version 1.2.2

Uses the generalised ratio-of-uniforms (RU) method to simulate from univariate and (low-dimensional) multivariate continuous distributions. The user specifies the log-density, up to an additive constant. The RU algorithm is applied after relocation of mode of the density to zero, and the user can choose a tuning parameter r. For details see Wakefield, Gelfand and Smith (1991) , Efficient generation of random variates via the ratio-of-uniforms method, Statistics and Computing (1991) 1, 129-133. A Box-Cox variable transformation can be used to make the input density suitable for the RU method and to improve efficiency. In the multivariate case rotation of axes can also be used to improve efficiency. From version 1.2.0 the 'Rcpp' package can be used to improve efficiency. See the rust website for more information, documentation and examples.

Package details

AuthorPaul J. Northrop [aut, cre, cph]
Date of publication2017-06-01 11:05:44 UTC
MaintainerPaul J. Northrop <p.northrop@ucl.ac.uk>
LicenseGPL (>= 2)
Version1.2.2
URL http://github.com/paulnorthrop/rust
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rust")

Try the rust package in your browser

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

rust documentation built on June 1, 2017, 5:03 p.m.