Description Usage Arguments Value References
Piironen and Vehtari (2017) suggest the following choice of the scale for the global hyperparameter in a regression shrinkage problem with a global-local scale mixture of normal prior distribution,
τ_0 = \frac{p}{D - p} \frac{σ}{√{n}}
where p is the expected number of non-zero parameters, sigma
is the scale of the observation disturbances, D is the number of
parameters, and n is the number of observations.
1  | tau_prior_scale(p, D = 1, n = D, sigma = 1)
 | 
p | 
 Expected number of non-zero parameters  | 
D | 
 Number of parameters  | 
n | 
 Number of observations  | 
sigma | 
 Scale of the observation disturbances  | 
A numeric vector
Piironen, J., Vehtari, A. 2017. https://arxiv.org/abs/1610.05559.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.