powered by
This function computes the logarithm of the prior density for stochastic volatility models with leverage (asymmetric stochastic volatility models):
mu~N(mu_0,sigma_0^2), (phi+1)/2~Beta(a_0,b_0), sigma_eta^2~IG(n_0/2,S_0/2), (rho+1)/2~Beta(a_1,b_1).
asv_prior(Theta_star, vHyper = NULL)
The logarithm of the prior density.
a vector of parameters to evaluate the prior density: Theta_star = c(mu, phi, sigma_eta, rho)
a vector of hyper-parameters to evaluate the prior density: vHyper = c(mu_0, sigma_0, a_0, b_0, a_1, b_1, n_0, S_0)
Yasuhiro Omori
vhyper = c(0, 1, 20, 1.5, 1, 1, 5, 0.05) theta_star = c(0, 0.97, 0.3, -0.5) asv_prior(theta_star, vhyper)
Run the code above in your browser using DataLab