#Compute the matrix of parameters and the covariance matrix of errors in OLS, FGLS, or IGLS mode.
Beta(mat.z, mat.y.ex, n.eq, p, est.mode, iter)A list with the matrix of beta parameters as first element and the covariance matrix of error as second element.
A matrix object of time series, regressor matrix
A matrix object of time series, regressor matrix
number of equations in the VAR
number of observations
estimation mode: "OLS", "FGLS", or "IGLS"
If "IGLS" is used, how many iterations before stopping