Calculate rho, the acceptance probability for the update K step
1 2 | calc_rho_old(y, omega_small, omega_big, ind1, ind2, a, b, alpha, beta, r, delta,
theta, tau)
|
y |
data vector |
omega_small |
list containing the current state of parameter vector |
omega_big |
list containing the proposed state of parameter vector |
ind1 |
indicator denoting which cluster is affected |
ind2 |
indicator denoting other affected cluster |
a |
hyperparameter scalar |
b |
a scalar hyperparameter |
alpha |
scalar parameter for dimension-matching |
beta |
scalar parameter for dimension-matching |
r |
scalar parameter for dimension-matching |
delta |
scalar hyperparameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.