t_sampleAR1 | R Documentation |
Compute one draw of the TAR(1) coefficients in a model with Gaussian innovations and time-dependent innovation variances. In particular, we use the sampler for the log-volatility TAR(1) process with the parameter-expanded Polya-Gamma sampler. The sampler also applies to a multivariate case with independent components.
t_sampleAR1(h_yc, h_phi, h_phi2, h_sigma_eta_t, h_st, prior_dhs_phi = NULL)
h_yc |
the |
h_phi |
the |
h_phi2 |
the |
h_sigma_eta_t |
the |
h_st |
the |
prior_dhs_phi |
the parameters of the prior for the log-volatility AR(1) coefficient |
2
vector of sampled TAR(1) coefficient(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.