View source: R/bayes_gibbs_steps.R
postARp_phi | R Documentation |
Draws the autoregressive parameters of an AR process (AR parameters only). .
postARp_phi(Y, phi, phiDistr, sigma, const = NULL, constDistr = NULL)
Y |
dependent variable |
phi |
autoregressive coefficient vector |
phiDistr |
prior distribution of autoregressive coefficient vector |
sigma |
innovation variance |
const |
constant |
constDistr |
prior distribution of constant |
See "Chib, Siddhartha. "Bayes regression with autoregressive errors: A Gibbs sampling approach." Journal of econometrics 58.3 (1993): 275-294."
A named vector of drawn parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.