| horseshoe | R Documentation |
Creates a horseshoe prior (see Carvalho, Polson, and Scott (2010)). The
horseshoe is usually parametrized as
\theta_i \sim N(0, s^2 \tau^2 \lambda_i^2),
\lambda_i \sim \mathrm{Cauchy}^+(0, 1),
with s^2 the variance of the error distribution. We use a single
parameter scale, which corresponds to s\tau and thus does
not depend on the error distribution.
horseshoe(scale)
scale |
The scale parameter (must be a scalar). |
An object of class horseshoe (a list with a single element
scale, described above).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.