tools:::Rd_package_title("XDNUTS")
tools:::Rd_package_description("XDNUTS") package
The DESCRIPTION file: tools:::Rd_package_DESCRIPTION("XDNUTS")
tools:::Rd_package_indices("XDNUTS")
The package allows to use a more efficient version of the Discontinuous Hamiltonian Monte Carlo proposed in \insertCite nishimura2020discontinuousXDNUTS, thanks to the use of recycled samples from each trajectory \insertCite Nishimura_2020XDNUTS and a termination criterion for identyfing the optimal discrete integration time of each trajectory \insertCite betancourt2016identifyingXDNUTS. No models are at disposal, so the user must specify one through the definition of the function nlp
. This function must evaluate the negative log posterior of the model and its gradient with respect to the first parameters. is the model dimension, while is the number of parameters for which the sampling scheme will be based on the method described in \insertCite nishimura2020discontinuousXDNUTS. This method was born for treating discontinuous components but it is applicable to continuous one too. nlp
must be a function with 3 arguments:
TRUE
to evaluate only the negative log posterior of the models, FALSE
to evaluate its gradient with respect to the continuous components of the posterior.The available algorithms are the following
All of them are embedded into the framework described in \insertCite nishimura2020discontinuousXDNUTS which allows the use of Hamiltonian Monte Carlo with discontinuous posterior and hence to discrete parameter space by the definition of a step function shape density.
tools:::Rd_package_author("XDNUTS")
Maintainer: tools:::Rd_package_maintainer("XDNUTS")
\insertRef hoffman2014noXDNUTS
\insertRef betancourt2016identifyingXDNUTS
\insertRef betancourt2017conceptualXDNUTS
\insertRef nishimura2020discontinuousXDNUTS
\insertRef Nishimura_2020XDNUTS
Useful links