hb_s_tau | R Documentation |
For the uniform prior on tau,
suggest a value of the s_tau
hyperparameter
to achieve a given amount of borrowing in the hierarchical model.
Only use if a diffuse prior on tau
is not feasible.
hb_s_tau(precision_ratio = 0.5, sigma = 1, n = 100)
precision_ratio |
Positive numeric vector of elements between 0 and 1 with target precision ratios. |
sigma |
Positive numeric vector of residual standard deviations. |
n |
Number of non-missing patients. |
See the hierarchical model section of the methods vignette for details.
Numeric of length equal to length(precision_ratio)
and
length(sigma)
, suggested values of s_tau for each element of
precision_ratio
and sigma
.
hb_s_tau(precision_ratio = 0.5, sigma = 1, n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.