View source: R/distributions.R
| make.cone.dist | R Documentation |
Create a cone distribution object as defined by Roberts and Rosenthal
make.cone.dist(ndim)
ndim |
The dimension of the distribution's state space. |
Defines a distribution object with the following log density:
\pi(x)=e^{-\|x\|}
This is used in Roberts and Rosenthal (2002) to demonstrate
the deterioration in slice sampler performance as dimensionality
increases. It is intended to be passed to
compare.samplers. Its implementation also serves
as a simple demonstration of how to define a distribution in C.
A scdist object.
Roberts, G. O. and Rosenthal, J. S. (2002) “The Polar Slice Sampler,” Stochastic Models 18(2):257-280.
make.dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.