Description Usage Arguments Value Examples
Sample tau from its full conditional distribution
1 2 | get_tau_sample(kernel_matrix, gamma, y, prior_tau_a, prior_tau_b,
return_mean = FALSE)
|
kernel_matrix |
DPC kernel matrix |
gamma |
Sample of gamma |
y |
Observation values |
prior_tau_a |
Prior shape parameter |
prior_tau_b |
Prior rate parameter |
return_mean |
Provide full conditional mean as pseudo-sample? |
Either the full conditional mean of tau or a sample of it
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.