Function to update tau_k given an Exp(lambda_2) prior
alpha_update.Rd
Function to update tau_k given an Exp(lambda_2) prior
Usage
alpha_update(
alpha_tau,
tau_vec,
lambda_2,
mu_tau,
sigma_tau,
window,
trunc = c(0, 100)
)
Arguments
- alpha_tau
numeric > 0, current value of alpha_tau shape parameter in tau_k prior
- lambda_2
numeric > 0, parameter to the exponential prior Exp(lambda_2)
- window
numeric > 0, parameter to set step size for tau update proposals from log-normal
- trunc
numeric > 0, truncation for regularization parameter tau_k
- tau_k
numeric > 0, current value of tau for Kth subject