t_sampleR_mh | R Documentation |
Compute one draw of the threshold parameter in th TAR(1) model with Gaussian innovations and time-dependent innovation variances. The sampler utilizes metropolis hasting to draw from uniform prior.
t_sampleR_mh(
h_yc,
h_phi,
h_phi2,
h_sigma_eta_t,
h_sigma_eta_0,
h_st,
h_r,
lower_b,
upper_b,
omega,
D
)
h_yc |
the |
h_phi |
the |
h_phi2 |
the |
h_sigma_eta_t |
the |
h_sigma_eta_0 |
the |
h_st |
the |
h_r |
|
lower_b |
the lower bound in the uniform prior of the threshold variable |
upper_b |
the upper bound in the uniform prior of the threshold variable |
omega |
|
D |
the degree of differencing (one or two) |
the sampled threshold value r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.