Description Usage Arguments Value References See Also Examples
Given regularization parameters, this function uses an iterative method to estimate the VAR(1) model,
X_t = β X_{t-1} + ε_t
where all eigenvalues of β are smaller than one in modulus. The noise vector is assumed to be multivariate normally distributed with mean 0 and covariance Σ.
or SUR model
y_i = X^T β_{i} + ε_{i}
where y_i is N \times 1, β_i is K \times 1 and ε_i is N \times 1; X^T is the design matrix. i = 1,2, ..., m.
1 |
x |
For For |
y |
For For |
lambda |
Regularization parameter for β estimation. Must be a nonnegative scalar. |
gamma |
Regularization parameter for Σ estiamtion. Must be a nonnegative scalar. The penalty is defined as ||P*Σ||_1 where P is a K \times K matrix of all 1 and with 0 on the diagonal to ensure the positive-definiteness. |
alpha |
Elastic-net mixing parameter as in λ*\{(1-α)/2||β||_2^2+α||β||_1\}.
|
type |
Model type: |
tol |
Convergence threshold for the iterative estimation. The convergence criteria is defined as ||β^{(i)}-β^{(i-1)}||_m ≤ tol ||Σ^{(i)}-Σ^{(i-1)}||_m ≤ tol where 'm' denotes the maximum modulus of all the elements. |
Time |
Maximum number of iterations. |
r |
Condition number threshold when check if correlation matrix is singular. |
step.size |
Parameter used in |
beta |
The estimate of coefficients. For For |
sigma |
The estimate of noise variance matrix. For For |
Guanhao Feng and Nicholas G. Polson (2016), Regularizing Bayesian Predictive Regressions. https://arxiv.org/abs/1606.01701
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.