Learn R Programming

MSBVAR (version 0.2.2)

reduced.form.var: Estimation of a reduced form VAR model

Description

Estimates a reduced form VAR using equation-by-equation seemingly unrelated regression (SUR).

Usage

reduced.form.var(dat, p, z=NULL)

Arguments

Value

List of class "VAR" with elements,interceptRow vector of the $m$ intercepts.ar.coefs$m \times m \times p$ array of the AR coefficients. The first $m \times m$ array is for lag 1, the p'th array for lag p.Bhat$(mp + k + 1) \times m$ matrix of the coefficients, where the columns correspond to the variables in the VAR. Intercepts follow the AR coefficients, etc.exog.coefs$k \times m$ matrix of exogenous coefficients, or NA if z=NULLvcv$m \times m$ matrix of the maximum likelihood estimate of the residual covariancemean.S$m \times m$matrix of the posterior residual covariance.hstar$mp \times mp$ right hand side variables crossproduct.XRight hand side variables for the estimation of BVARYLeft hand side variables for the estimation of BVARyInput data (dat)

Details

This is a frequentist VAR estimator. This is a workhorse function --- you will want to use other functions such as irf, mc.irf or dfev to report and interpret the results of this object.

References

Sims, C.A. 1980. "Macroeconomics and Reality" Econometrica 48(1): 1-48.

See Also

See also szbvar for BVAR models with the Sims-Zha prior and szbsvar for Bayesian SVAR models with the Sims-Zha prior.

Examples

Run this code
data(IsraelPalestineConflict)
rf.var <- reduced.form.var(IsraelPalestineConflict, p=6)
plot(irf(rf.var, nsteps=12))

Run the code above in your browser using DataLab